1. Open Command prompt by running as administrator. To do this, right click on the command prompt and select “Run as Administrator”.
2. In the command prompt type the command- net user administrator /active:yes. If you want to set a password for administrator account type Net user administrator password, where password is the password you want to set for this account.
Once the command is executed successfully, log off and log in back to see the administrator account in place. If you need to disable in back, type the command- net user administrator /active:no and the administrator account will be disabled.
Alternatively you can also enable or disable the administrator account from the Local Policy. Click on the start menu and type secpol.msc in the search
0 Comment::
Post a Comment