You are currently offline, waiting for your internet to reconnect

HOW TO: Enable the built-in Administrator account in Windows Vista

COMMUNITY SOLUTIONS CONTENT DISCLAIMER

MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.
Summary
This step-by-step article describes how to enable the built-in administrator account by command-line in Windows Vista. This may be useful if you want to do some automation work without receiving the UAC elevation message.
MORE INFORMATION
To enable the built-in administrator account, follow these steps:
  1. Click Start, type cmd in the Start Search box, and then press Enter.

    Note If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.
  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 In this command, <Password> represents the actual password that you want to set for the administrator account. 
  6. Type exit, and then press Enter.
  7. Log off the current user account.

Properties

Article ID: 555910 - Last Review: 04/07/2015 18:34:00 - Revision: 2.0

Windows Vista Home Premium, Windows Vista Starter

  • kbpubtypett kbpubmvp kbpubtypecca kbhowto kb555910 KB555910
Feedback