My Service Support

How to Factory Reset Windows for Password Issues

Updated 2026-08-21 ยท 1015 words

To factory reset Windows when you are locked out, open Windows Recovery Environment from the sign-in screen and choose Troubleshoot, then Reset this PC. Try password recovery first, because even the less destructive reset option removes installed apps and resets settings.

What should you try before you factory reset Windows?

A password problem does not always require a factory reset. First confirm that you selected the correct user account and check whether Caps Lock, Num Lock, or the keyboard layout is changing what you type.

  • Password hint: For a local Windows account, enter an incorrect password and look for the hint or Reset password option. If Reset password appears, answer the security questions created for that account.
  • Microsoft account recovery: Select I forgot my password on the sign-in screen. Follow the identity-verification prompts and create a new Microsoft account password. If the computer is offline, connect it to the internet before trying the new password.
  • PIN recovery: A Windows PIN is different from a Microsoft account password. Select I forgot my PIN if that option appears, or select Sign-in options and try the account password instead.
  • Another administrator account: If the PC has another local administrator account that you are authorized to use, sign in to it and manage the affected local account. An administrator cannot reveal the old password, and changing it may affect access to some encrypted or separately protected data.

Back up accessible files before resetting. On an encrypted device, Windows Recovery Environment may also require the BitLocker recovery key.

What does a Windows factory reset do to files and accounts?

Reset this PC reinstalls Windows. It offers two main choices, but neither choice should be treated as a substitute for a backup.

  • Keep my files: Windows preserves personal files in user folders but removes installed apps and returns many settings to their defaults. Windows may show a list of apps that will be removed.
  • Remove everything: Windows removes personal files, user accounts, installed apps, and settings. Choose this only when the files are backed up, no longer needed, or the computer is being prepared for a different owner.

Both choices remove desktop programs and may remove locally stored sign-in information. Passwords synchronized with a browser or Microsoft account may return after you sign in and synchronization resumes, but locally saved browser passwords and Windows credentials may be lost. Do not assume a reset will preserve any password that exists only on the PC.

Windows may also offer Cloud download or Local reinstall. Cloud download obtains fresh Windows installation files and needs a reliable internet connection. Local reinstall uses recovery files already on the PC and may fail if those files are damaged.

How do you factory reset Windows from the sign-in screen?

Use this method when the Windows password, PIN, or sign-in system prevents access to the desktop.

  1. Connect the laptop to power. At the Windows sign-in screen, select the Power icon.
  2. Press and hold the Shift key, then select Restart. Keep holding Shift until the recovery screen appears.
  3. Select Troubleshoot, then select Reset this PC.
  4. Choose Keep my files or Remove everything after reviewing what each option deletes.
  5. Choose Cloud download or Local reinstall if Windows asks how it should be reinstalled.
  6. Review the summary carefully, then confirm the reset. Enter the BitLocker recovery key if Windows requests it.
  7. Allow the PC to restart as needed. Do not force it off merely because the screen goes blank or the progress display pauses.

If the sign-in screen does not open recovery options, manufacturer recovery controls or official Windows installation media may be required. Instructions for those methods depend on the device.

How do you factory reset Windows from Settings?

Use Settings when you can still reach the Windows desktop, perhaps through another sign-in method or an authorized administrator account.

  1. Back up important files and connect the computer to power.
  2. In Windows 11, open Settings, select System, and then select Recovery.
  3. Under Recovery options, find Reset this PC and select Reset PC.
  4. In Windows 10, open Settings, select Update & Security, select Recovery, and then choose Get started under Reset this PC.
  5. Choose Keep my files or Remove everything.
  6. Select Cloud download or Local reinstall when prompted, review the listed changes, and confirm the reset.

Close open documents before confirming. A reset cannot preserve unsaved work, and applications will be removed even when Keep my files is selected.

How do you set up Windows sign-in after a factory reset?

After the reset, Windows starts its setup process again. Select the correct region and keyboard layout, connect to a trusted network when requested, and follow the account prompts shown for that Windows edition and device.

  1. Sign in with the existing Microsoft account if you recovered its password before resetting, or create an account if Windows offers that choice.
  2. Complete any identity-verification request using a recovery email, phone, authenticator, or other method already associated with the account.
  3. Create a new Windows Hello PIN when prompted. The PIN belongs to that PC and is not the same as the Microsoft account password.
  4. Run Windows Update, reinstall needed applications from their official sources, and restore personal files from the backup.
  5. Check browser and account synchronization before assuming saved passwords have returned.

When should you contact Microsoft or the PC manufacturer instead?

A factory reset Windows procedure will not repair a failing drive, damaged memory, power trouble, overheating, or a broken keyboard. Repeated freezes, unusual drive noises, startup errors, or resets that fail at the same point can indicate a hardware or recovery-system problem.

Contact the PC manufacturer when its recovery screen, recovery button, firmware settings, or built-in diagnostics are involved. Have the model, serial number, Windows version, exact error text, and a description of what happens after selecting Reset this PC.

For Windows recovery or Microsoft account problems, open {site}, search for Contact Microsoft Support, enter the problem, and follow the available support prompts. Microsoft support cannot retrieve or bypass a forgotten password, but it can explain official recovery options. If the recovery partition is corrupted, official Windows installation media may be needed to reinstall Windows.