How to enable or disable administrator account in windows 7

February 28th, 2009

The easiest way to enable or disable the administrator account is from the command line. Open a command prompt with administrator rights. This is done by right-clicking on the command prompt icon in the Windows 7 start menu and selecting Run As Administrator from the available options.

runcmdasadmin

Then in the command line to enable administrator account using the following command:

net user administrator /active:yes

To disable the聽administrator account using the following command:

net user administrator /active:yes

To change the password of administrator using the following command:

net user administrator password

Another mothed is to go to Control Panel —> System and Securety–>Administrative Tools–>Local Security Policy

localsecurity Then find the option under Local Policies-> Security Options ,then double click “Accounts: Administrator account status“.

dis-enableadminacc

2 Responses to “How to enable or disable administrator account in windows 7”

  1. [...] As you know,windows 7/vista put all system data and user data on the same partition,normally it’s drive C.Under this condition we must backup our user data every time we re-install our windows 7/vista.From windows vista ,Microsoft supply us a tool mklink which can create a symbolic link under windows 7 or vista just as the command ln under unix/linux.Below is an example about how to put user data on non-system using mklink in windows 7. 1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7 [...]

  2. [...] Bydefault,windows 7/vista put all system data and user data on the same partition,normally it’s drive C.Under this condition we must backup our user data every time we re-install our windows 7/vista.From windows vista ,Microsoft supply us a tool mklink which can create a symbolic link under windows 7 or vista just as the command ln under unix/linux.Below is an example about how to put user data on non-system using mklink in windows 7. 1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7 [...]

Leave a Reply