Managing Windows User Accounts via the Commandline

350 views

Published on

Add yourself a new windows user account quickly with these easy commands.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
350
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Managing Windows User Accounts via the Commandline

  1. 1. Managing Windows User Accounts via theCommandlineJust hacked a box on a penetration test but can’t get a Meterpreter shell on it for some reason? Add yourself anew account quickly with these easy commands. Works on all current versions of Windows (assuming you’vegot an admin-level account).Add local account of goat with password of T@styHay!net user /add goat T@styHay!Now add the goat account to the local administrators groupnet localgroup administrators /add goat WEB PHONE EMAIL WWW.REDSPIN.COM 800-721-9177 INFO@REDSPIN.COM
  2. 2. View members of the local administrators group and make sure your new account is therenet localgroup administratorsOnce you’re done, it’s polite to delete your account.net user /delete goatOther handy account managementShow all users on the local boxnet userDisable an accountnet user goat /active:noEnable an accountnet user goat /active:yesChange a users passwordnet user goat T@styAlfalfa! WEB PHONE EMAIL WWW.REDSPIN.COM 800-721-9177 INFO@REDSPIN.COM

×