How to Log on As an Administrator in Windows

To make profound changes to your computer, you must be logged in as an administrator. An administrator account allows you to make changes in the Windows registry and install certain programs. A standard account only lets you use the basic functions on a computer. Fortunately, it is possible to log into your computer with administrator privileges.

...
Access your computer with administrator privileges to make important changes.

Windows XP

Step

Turn on your computer. This will take you to the “Welcome” screen.

Step

Press “CTRL+ALT+DEL.” This will give you access to to the "Log-on" window.

Step

Type the administrative user name and password, and click “OK.” If you did not create a password, do not type anything.

Windows 7 and Vista

Step

Click the “Start” button.

Step

Type “CMD” inside the search box. Right-click on the "Command Prompt" icon and select "Run as Administrator."

Step

Type the following in the "Command Prompt" window: “net user administrator /active:yes” (without quotations). Press "Enter.”

Step

Restart your PC and log in as an administrator.