SUMMARY
This step-by-step article describes how to enable the build-in administrator account by command-line in Windows Vista. This may be useful if you want to enable the build-in administrator to do some automation works without UAC elevation prompt.
MORE INFORMATION
To enable the build-in Administrator account, follow these steps:
1. Click
Start, and then type
cmd in the Start
Search box.
2. In the search results list, right-click Command Prompt, and then click
Run as Administrator.
3. When you are prompted by User Account Control, click
Continue.
4. At the command prompt, type
net user administrator /active:yes, and then press
ENTER.
5. Type
net user administrator <Password>, and then press
ENTER.
Note: Please replace the <Password> tag with your passwords which you want to set to administrator account.
6. Type
exit, and then press ENTER.
7. Log off the current user account.