By Sophia | Last Updated
The net user command is command usually used to add, remove, enable or disable user account and reset Windows password on computer, which applies to Windows server 2012(R2)/ 2008(R2)/2003(R2)/2000 and Windows client operational systems.
Basic net command prompt structure is like the following. All of the specific commands are produced based on this command structure.
For example, /active: {yes | no} is used to activate or deactivate the specified user account. And the default setting is to activate user account.
Now based on net user command introduction above, make some changes on command for server 2012 (R2) domain controller in purpose of:
net user [username [password|*] /add / domain
Example: net user iSunshare abc@12345 /add /domain
If you have interest in other ways to create user account in Windows server 2012 (R2), please go to read this:
How to create a local administrator user account on Windows server 2012 (R2)
net user [username [password|*] /domain
Example: net user iSunshare Abc12345 /domain
You could see it in above picture. This way is usually used to reset Windows server domain password when you have admin privileges to access computer or server 2012 (R2).
net user [username] /delete /domain
Example: net user iSunshare /delete /domain
Before you disable domain user, when you type command “net user iSunshare”, you would see this:
After you run command “net user iSunshare /active: no /domain”, and hen type “net user iSunshare” and press Enter, you would see this user is disabled.
Above introduced commands are usually used in computer, and easy for even computer novice. But if you want to try other more complicated command, powerful technology is needed considering computer safety.
Related Articles: