Windows Server 2008 – How to use Net User Commands – The Visual Guide
Net user commands aren’t exactly easy to work out using Microsoft guides. Cryptic doesn’t come near their instructions, so here’s the easy guide:
Step 1 – NET ACCOUNTS
Why would we use this? To find out information such as min password length.
NET ACCOUNTS /DOMAIN
This also works…
Prehaps our attack could reset passwords never to expire…
Its not like the users would complain.
NET ACCOUNTS /MAXPWAGE:UNLIMITED /DOMAIN
Step 2 – net group
Want to add a group? Easy peasey – apart from typing ADD in capitals at the end.
net group rubbishgroup /ADD
Step 3 – net user and new password
Here we add a new user, with a new password.
Lets create an account for your boss… bear in mind they might have to log on with that password….
Step 4 – Don’t Delete your Bosses Account
Like ever…. oh, okay then….
Step 5 – Add BOSSESACCOUNT to the Rubbishgroup – because they’re amazing
There we go… I recreated BOSSESACCOUNT and put in him the super dooper rubbishgroup.
Who could want more? Oh, you do?
Step 6 – DSQUERY on BOSSESACCOUNT
dsquery user -name BOSSESACCOUNT