Restore to factory settings

Tim Fisher has more than 30 years' of professional technology experience. He's been writing about tech for more than two decades và serves as the VP and General Manager of

Bạn đang xem: Restore to factory settings


Ryan Perian is a certified IT specialist who holds numerous IT certifications and has 12+ years' experience working in the IT industry tư vấn and management positions.
Run Repair your computer from the Windows 7 installation disc and run an overwrite command in Command Prompt.

It"s a simple process khổng lồ reset a forgotten password lớn aWindows 7 computer. Aside from a password reset disk (discussed in Step 14 below), Windows hasn"t provided a way lớn reset a Windows 7 password, but there is a clever trick that anyone can try using both 32-bit & 64-bit versions of Windows 7.

As of January 2020, Microsoft is no longer supporting Windows 7. We recommend upgrading to Windows 10 to lớn continue receiving security updates và technical support.

How to lớn Reset a Windows 7 Password

Try ourStep by Step Guide to Resetting a Windows 7 Password for an easy walkthrough if you prefer screenshots, otherwise follow these steps in order:

If you already know your password và just want to lớn change it, see How do I Change My Password in Windowsfor help with that.

Insert either your Windows 7 installation DVDor a Windows 7 System Repair disc into your optical drive & then restart your computer. If you have either on a flash drive, that"ll work, too.

See How to Boot From a CD, DVD, or BD Disc or How to Boot From a USB Device if you"ve never booted from portable media before or if you"re having trouble doing so.

It"s not an issue if you don"t have original Windows 7 truyền thông media and never got around to making a system repair disc. As long as you have access khổng lồ any other Windows 7 computer (another in your home or afriend"s will work fine), you can burn a system repair disc for free. See How khổng lồ Create a Windows 7 System Repair Disc for a tutorial.

After your computer boots from the disc or flash drive, select Next on the screen with your language và keyboard choices.

Don"t see this screen or bởi vì you see your typical Windows 7 login screen? Chances are good that your computer booted from your hard drive (like it normally does) instead of from the disc or flash drive you inserted, which is what you want. See the appropriate links in the tip from Step 1 above for help.

If you booted with a system repair disc instead of a Windows 7 installation disc or flash drive, you won't see this link. Just move on lớn Step 4 below.

Once your installation is found, take note of the drive letter found in the Location column. Most Windows 7 installations will show D: but yours may be different.

Xem thêm: Game Chiến Thuật Offline Nhẹ Dành Cho Pc Cấu Hình Yếu, Top 10 Game Chiến Thuật Hay Nhất Trên Điện Thoại

While in Windows, the drive that Windows 7 is installed on is probably labeled as the C: drive. However, when booting from Windows 7 install or repair media, a hidden drive is available that usually isn't. This drive is given the first available drive letter, probably C:, leaving the next available drive letter, probably D:, for the next drive—the one with Windows 7 installed on it.

With Command Prompt now open, execute the following two commands, in this order, pressing Enterafter both:

This one first:

copy d:windowssystem32utilman.exe d:And then this one:

copy d:windowssystem32cmd.exe d:windowssystem32utilman.exeTo the Overwrite question after executing the second command, answer with Yes.

If the drive that Windows 7 is installed on in your computer is not D: (Step 5), be sure khổng lồ change all instances of d: in the commands above with the correct drive letter.

Remove the disc or flash drive và then restart your computer.

You can close Command Prompt and select Restart but it's also okay in this situation to restart using your computer's restart button.

Once the Windows 7 login screen appears, locate the little icon on the bottom-left of the screen that looks like a pie with a square around it, and select it.

If your normal Windows 7 login screen didn't show up, kiểm tra to see that you removed the disc or flash drive you inserted in Step 1. Your computer may continue to lớn boot from this device instead of your hard drive if you don't remove it.

Now that Command Prompt is open, execute the net user command as shown, replacing myusername with whatever your user name is và mypassword with whatever new password you"d like to use:

net user myusername mypasswordSo, for example, I'd vày something lượt thích this:

net user Tim 1lov3blueberrie$
If your username has spaces, put double quotes around it when executing net user, as in net user "Tim Fisher" 1lov3blueberrie$.

Create a Windows 7 Password Reset Disk! This is the Microsoft-approved, proactive step you should have done a long time ago. All you need is a blank flash drive or floppy disk, & you"ll never need lớn worry about forgetting your Windows 7 password again.

While not required, it would probably be wise to lớn undo the mod that makes this work. If you don't, you won't have access to lớn accessibility features from the Windows 7 login screen.

To reverse the changes you've made, repeat Steps 1 through 7 above. When you have access lớn Command Prompt again, execute the following:

copy d:utilman.exe d:windowssystem32utilman.exeConfirm the overwrite và then restart your computer.

Undoing this thủ thuật will have no impact on your new password. Whatever password you set in Step 11 is still valid.

For a full các mục of ways to lớn reset or recover a forgotten Windows 7 password, see Help! I Forgot My Windows 7 Password!.