Windows server 2003 and Windows XP – How to enable or disable Windows user
Posted by aidas | Posted in Command line, Windows 2003, Windows XP | Posted on 17-05-2009
0
This post will show you how to enable or disable Windows user. Lets say we have local user account “testuser” and we want to disable it.
1. COMMON WAY
Right click mouse on “My computer” and select “Manage” to open Computer Management window. Expand “Local users and groups” and select “Users”. In the right pane right click mouse on “testuser” user and select “Properties”. In “testuser Properties” window select “General” tab.
To disable “testuser” check “Account is disabled”, hit “OK” and you are done.
If you want to enable “testuser” account remove check mark from “Account is disabled” and hit “OK”.
2. ADVANCED WAY
To disable “testuser” account open command line on your Windows machine and type:
net user testuser /active:no
To enable “testuser” account type:
net user testuser /active:yes
Follow us on Twitter !








