This article was co-authored by Michael Thompson-Brown and by wikiHow staff writer, Nicole Levine, MFA. Michael Thompson-Brown is a Cybersecurity Expert based in Portland, Maine. He is the owner and founder of PCRescue!, a company that provides cybersecurity and data management solutions to small businesses and individuals. Michael has over 25 years of experience in the IT industry and is a certified ethical hacker. He is passionate about helping clients protect their data and systems from malicious attacks and helping them optimize their online presence and reach. He received a Master’s degree in Cybersecurity and Information Assurance from Western Governors University, and a Bachelor’s degree in Business Administration from the University of Phoenix.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 2,038,531 times.
Are you locked out of your Windows XP Administrator account? When Windows XP is installed on a PC, the Administrator account is not given a password by default. This means it's incredibly easy to log in to most Windows XP PCs using a blank Administrator password. If the Administrator user does have a password but you don't know it, don't worry—there's a tool you can use to clear the password in minutes. This wikiHow guide will teach you how to sign in to Windows XP as an Administrator without entering the password.
Things You Should Know
- If you're using Windows XP Professional, press Control + Alt + Delete on the Welcome screen to sign in with a blank Administrator password.
- Some PCs let you enter Safe Mode without logging in as Administrator, making it easy to change user passwords.
- If the Administrator password was changed and you can't log in, you can use Offline NT Tool to remove the password.
Steps
-
Reboot your PC. If you're using Windows XP Professional and haven't changed the default Administrator password, you can log in with a blank Administrator password at the welcome screen using a quick keyboard shortcut.
- If you're using Windows XP Home or another edition, try resetting in Safe Mode instead.
- This will not work if the Administrator password was changed.
-
Press Ctrl+Alt+Del twice at the Welcome screen. This takes you to the classic Windows XP login window.Advertisement
-
Type Administrator into the first field.
-
Click the mouse cursor in the Password field. While you shouldn't type anything into the Password field, you should click the mouse in this field to ensure that Windows recognizes the blank password.
-
Click OK. Once you're signed in, you'll have full administrative privileges, including the ability to change any user's password.
-
Reboot your PC. Many Windows XP PCs will allow you to reset the Administrator password by booting into Safe Mode with Command Prompt. To get started, press Ctrl + Alt + Del, click Shut Down…, then click Restart.
-
Press F8 before the Windows boot screen appears. As soon as your PC turns off and turns back on, start pressing the F8 key repeatedly (don't hold it down—just keep pressing it quickly). This will bring you to a black screen with several menu options.
-
Select Safe Mode with Command Prompt. Use the arrow keys to scroll down to this option, then press Enter to boot into Safe Mode with Command Prompt.
-
If prompted, log in to the Administrator account with a blank password. Depending on how Windows XP was set up, you'll either be prompted to click Yes to continue to Safe Mode, or you'll be asked to log in first. If asked to sign in, type Administrator as the username, and then just click the mouse cursor into the Password field.
- Don't type anything into the password field—but you will need to click the cursor in the field for the blank password to be accepted.
- If your password is not accepted, you'll need to try another method.
-
Click Yes to continue to safe mode.
-
Enter the command to change the Administrator password. Here's what you'll need to do:
- Type net user Administrator * and press Enter.
- Type a new password for the Administrator account.
- Press Enter to confirm.
- If you'd like, you can also change the password for other accounts the same way.
-
Reboot your PC and log in as Administrator. Once you reboot your computer, you will be able to log in as the Administrator user with the password you've created.
-
Get a blank CD, DVD, or USB flash drive. If you don't know the Administrator password, you can use a tool called Offline NT Password to make the Administrator password blank. To use the tool, you'll need to create a bootable CD, DVD, or USB flash drive, which you can then boot from to recover the password.
- If you have access to a more modern operating system like Windows 10 or 11, it'll be easier to create the bootable media on that computer instead.
- Some Windows XP PCs might be so old they can't boot from USB drive. Others don't have DVD drives, only CD drives. When in doubt, create a CD.
-
Download the Offline NT Password tool from http://pogostick.net/~pnh/ntpasswd. You'll see the download links under "Download" toward the bottom of the page. Download the CD version for a CD, or the USB version for a flash drive.[1]
-
Unzip the downloaded files. To do so, right-click the downloaded file, and then click Extract All.
- If you're using Windows XP, choose a location to which you want to extract the files, click Next, then click Finish.
- If you're using a more modern version of Windows, select a location to extract the files, then click Extract.
-
Create a bootable USB flash drive. If you're creating a bootable CD, you can skip this step. To create a bootable USB flash drive, follow these steps:
- Copy all of the files from the extracted ZIP file directly to the root of the USB flash drive. Make note of the drive letter.
- Open the Command Prompt.
- Type X:syslinux.exe -ma X:, replacing X with the letter of your USB flash drive.
- Press Enter. The drive is now bootable.
-
Create a bootable CD or DVD. Use this step only if you're burning a CD on Windows XP, as Windows 7 and later all come with built-in ISO burning tools.
- Insert a blank bootable CD or DVD into the optical drive.
-
Windows 7 and later:
- Right-click the file in the extracted folder that ends with .iso and select Burn disc image.[2] Select your CD/DVD burner and click Burn.
-
Windows XP:
- Go to http://infrarecorder.org and click the Download link on the right.
- Click the Installer link for Windows 2000/XP/Vista/7 to download.
- Once downloaded, double-click the downloaded file and follow the on-screen instructions to install.
- Open Infrarecorder and click Write Image.
- Select your CD or DVD drive.
- Click OK to burn.
-
Change the boot order in the BIOS. Windows XP may not be set up to boot from the CD/DVD drive or USB flash drive, so you'll need to make a quick change in the BIOS.
- To get to the BIOS, reboot your PC, then start pressing the Setup key for your PC as soon your computer turns off and back on—this is usually F2, F10, F12, or Del. You'll usually see something on the screen at boot time that tells you which key to press to "Enter Setup."
- Go to the section called Boot, Boot Order, or Boot Sequence—it may be in a section called Advanced.
- Change the order so the type of device you're booting from appears at the top of the list before the hard drive. For example, the CD-ROM or DVD drive (it may be called Optical Drive) should appear first if you're booting from CD or DVD. Use Removable Devices or USB first if using a flash drive.
- Save your changes and exit the BIOS. The PC will then restart and boot from the drive.
-
Boot the Windows XP PC from the CD/DVD or flash drive. Now that the boot order is correct, you'll usually see a message asking you to press any key to boot from CD/DVD or USB. Press a key when prompted. If not, the PC will boot into Offline NT Password instantly.
-
Select your boot drive and press ↵ Enter. This is usually the default drive that's already selected (C:), but if there's more than one drive or partition, you may have to use the arrow keys to select it manually.
-
Press 1 and then press ↵ Enter. This displays a list of all passwords you can reset.
- Any users labeled "ADMIN" have administrator rights.[3]
-
Type the RID of the Administrator user and press ↵ Enter. The RID appears in the left column next to the user. It should begin with a 0.
-
Press 1 and then press ↵ Enter. This completely erases the current Administrator password and makes it blank.
- The option to edit the password won't work on XP—you can only make it blank with this tool.
-
Exit and save your changes. Here's how:
- Press ⇧ Shift+! to go back to the main menu.
- Press q. You'll be asked if you want to save your changes.
- Press y. This saves your changes.
-
Remove the CD/DVD or USB flash drive and boot normally. You should now be able to log in to Windows XP with a blank password.
- If you're unable to log in with Administrator and a blank password, try again after pressing Ctrl + Alt + Del twice on the Welcome screen. Then, enter Administrator as the username, and click inside the Password field once before logging in.
Expert Q&A
-
QuestionWhat else can I do if I can't log in?Michael Thompson-BrownMichael Thompson-Brown is a Cybersecurity Expert based in Portland, Maine. He is the owner and founder of PCRescue!, a company that provides cybersecurity and data management solutions to small businesses and individuals. Michael has over 25 years of experience in the IT industry and is a certified ethical hacker. He is passionate about helping clients protect their data and systems from malicious attacks and helping them optimize their online presence and reach. He received a Master’s degree in Cybersecurity and Information Assurance from Western Governors University, and a Bachelor’s degree in Business Administration from the University of Phoenix.
Cybersecurity ExpertAs a last resort, if you own the computer, you can log in to Windows XP by formatting and reinstalling the operating system. Be absolutely careful because doing this will make you lose all your data if you don't have a backup. -
QuestionI was given a desktop with Windows XP. How do I take off or reset administrator password?Community AnswerYou can use a password reset disk or try guessing the password. Most of the admin passwords are "admin" or "administrator".
-
QuestionDo Windows 8 and 8.1 create accounts named Administrator by default?Community AnswerThey do, but every OS since Windows XP has that account locked by default for security reasons. It's a huge security risk to have a full access administrative account with no password. If you'd like to enable this account, log in as an administrator, go to Start, search cmd, right-click, and select "Run as administrator." When the command prompt appears, type in: "net user Administrator /active:yes." Then, to clear the password, type in, "net user Administrator *" and hit "Enter" twice to make it a blank password.
Tips
Expert Interview
Thanks for reading our article! If you’d like to learn more about windows, check out our in-depth interview with Michael Thompson-Brown.