This guide shows you how to reset a forgotten Windows 8 administrator password on a Dell PC with UEFI BIOS, using the built-in recovery environment. You’ll need access to another working computer and a USB flash drive to create a password reset disk. This method works without reinstalling Windows or losing your files.
What You’ll Need
- A working computer with internet access
- A USB flash drive (8 GB or larger, will be erased)
- The Dell PC with the forgotten password
- Your Dell PC’s product key (usually on a sticker on the device or in the original documentation)
Step-by-Step
- Create a Windows 8 installation USB on the working computer. Go to Microsoft’s software download page, download the Windows 8 media creation tool, and run it. Select “Create installation media for another PC,” choose your language and edition (Windows 8 or 8.1), and select USB flash drive. Follow the prompts to write the installer to the USB.
- Boot the Dell PC from the USB. Insert the USB into the Dell PC, turn it on, and immediately press the F12 key repeatedly until the boot menu appears. Use the arrow keys to select the USB drive and press Enter.
- Open Command Prompt from the installer. When the Windows Setup screen appears, press Shift + F10 to open a Command Prompt window. This is your key to resetting the password.
- Identify the Windows drive letter. In the Command Prompt, type
diskpartand press Enter. Then typelist volumeand press Enter. Note the drive letter (e.g., C:, D:) that corresponds to your Windows installation (look for the volume with the largest size and the label “Windows” or “OS”). Typeexitto leave diskpart. - Back up the sticky keys executable. Type the following commands, replacing
C:with your Windows drive letter, and press Enter after each:
move C:\Windows\System32\sethc.exe C:\Windows\System32\sethc.exe.bak
copy C:\Windows\System32\cmd.exe C:\Windows\System32\sethc.exe - Reboot the PC normally. Close the Command Prompt, click the X on the Windows Setup window, and choose “Turn off PC” or “Restart.” Remove the USB drive when prompted.
- Trigger the password reset prompt. At the login screen, press the Shift key five times quickly. This will launch a Command Prompt window instead of Sticky Keys.
- Reset the password. In the Command Prompt, type
net userand press Enter to see the list of user accounts. Then typenet user [username] [newpassword]and press Enter, replacing[username]with the actual account name and[newpassword]with your new password. For example:net user Administrator Temp123! - Close and log in. Type
exitand press Enter, then log in with your new password. - Restore the original sethc.exe file. After logging in, open an elevated Command Prompt (right-click Start, select Command Prompt (Admin)). Type the following, replacing
C:with your system drive:
copy C:\Windows\System32\sethc.exe.bak C:\Windows\System32\sethc.exe
Then delete the backup:del C:\Windows\System32\sethc.exe.bak
Common Mistakes
- Wrong drive letter: Using the wrong drive letter in step 5 will cause “file not found” errors. Double-check with
list volume. - Typing the username incorrectly: The
net usercommand is case-insensitive, but the username must match exactly. Usenet userto list all accounts first. - Forgetting to restore sethc.exe: If you don’t restore it, anyone can press Shift five times at the login screen and get a command prompt. This is a serious security hole.
- Using a 32-bit installer on a 64-bit system (or vice versa): The installer must match your Windows architecture or the Command Prompt may not work correctly. Check your system type in Control Panel > System.
- Not disabling Secure Boot: On some UEFI Dell PCs, Secure Boot may prevent booting from a USB. If the USB doesn’t appear in the boot menu, enter BIOS setup (F2), disable Secure Boot, and try again.
Tips
- Use a strong password that you can remember, or write it down and store it in a safe place.
- Create a password reset disk for future use (Control Panel > User Accounts > Create a password reset disk) before you forget your password again.
- If you have a Microsoft account (email) linked to Windows, you can reset the password online via Microsoft’s account recovery page, but this method is for local accounts.
- Keep the USB installer handy; it’s also useful for system repairs and recovery.
- Always back up important files before making system changes, even though this method doesn’t touch your data.
Troubleshooting
- The USB doesn’t boot: Make sure the USB is formatted as FAT32 (the media creation tool does this automatically). Check BIOS boot order and set USB to first priority. Disable Secure Boot as mentioned above.
- Shift+F10 doesn’t open Command Prompt: Sometimes the installer window may not respond. Try clicking on the “Next” button first, then press Shift+F10. If that fails, try pressing Shift+F10 on the language selection screen.
- “Access is denied” when copying cmd.exe: This usually means you’re not using an elevated prompt. The installer’s Command Prompt should be elevated, but if not, try using
takeown /f C:\Windows\System32\sethc.exeandicacls C:\Windows\System32\sethc.exe /grant administrators:Ffirst. - The password reset works but you can’t log in: If you have a Microsoft account, the local password change won’t work. You must reset the Microsoft account password online instead. This method only works for local accounts.
- After restoring sethc.exe, Sticky Keys doesn’t work: This is normal if you had previously enabled Sticky Keys. Reboot and it should work again.
Frequently Asked Questions
Will this delete my files?
No. This method only replaces the Sticky Keys executable and changes the password. Your documents, photos, and installed programs remain untouched.
Can I use this method on any Dell PC with UEFI?
Yes, as long as it runs Windows 8 or 8.1 and you can boot from a USB. The UEFI BIOS doesn’t prevent this method; you just need to access the boot menu correctly.
What if I have a Microsoft account instead of a local account?
This method won’t work for Microsoft accounts. You’ll need to reset your password online at account.live.com/password/reset, then use the new password to log in.
Is it legal to reset my own password?
Yes, if you own the PC and are the authorized user. This method is not for bypassing security on someone else’s device.
How long does this take?
Creating the USB takes about 15-20 minutes. The actual reset process takes about 10 minutes once you’re at the Command Prompt.
Can I use a DVD instead of a USB?
Yes, if your Dell has a DVD drive. The process is identical, just boot from the DVD instead.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Apps Not Downloading From Play Store
- Secure a Samsung Galaxy After a Zero-Day Disclosure
- What to Check Before Installing Linux Alongside Windows
- Fix OEM Activation Error 0xc004c060 in Windows 10
- Why Does My App Run One Query for the List and One per Item?
- Fix Google Chrome Has Stopped Working