sodcalculator

10 Tech How-To

Fix Stuck on Preparing to Configure Windows

Guide 10-45817 · Updated · Step by step

If Windows is stuck on “Preparing to configure Windows,” the update process has hung, and the fix is to wait, then force a restart and run the built-in troubleshooting tools. This guide covers the causes and step-by-step solutions to get your PC booting normally again.

Why Windows Gets Stuck on This Screen

The “Preparing to configure Windows” message appears when Windows is applying updates during shutdown, restart, or startup. It is a normal part of the update process, but it can hang for several reasons:

  • Corrupted update files: A partially downloaded or corrupted update package can cause the configuration process to stall.
  • Driver conflicts: A recently installed driver may not be compatible with the update, causing the system to hang while applying it.
  • Insufficient disk space: Windows needs free space to apply updates; if the drive is full, the process can freeze.
  • Third-party software interference: Antivirus or system utilities can sometimes lock files that Windows needs to modify.
  • Power interruption: If the PC lost power during an update, the configuration may not complete properly.

How Long Should You Wait?

Before taking drastic action, give the process time. On a modern PC with an SSD, a typical update should finish in 5 to 15 minutes. On older hard drives, it can take up to 30 minutes. If the screen has been stuck for over an hour with no disk activity (check the HDD/SSD light), it is likely hung. If the screen shows a spinning circle, wait a bit longer. If the percentage indicator has not moved for 30 minutes, proceed with the fixes below.

Step-by-Step Fixes

Try these in order, from least to most invasive.

1. Force a Restart and Boot into Safe Mode

  1. Press and hold the power button for 10 seconds to force a shutdown.
  2. Turn the PC back on. If it tries to continue the update and hangs again, force shutdown again.
  3. On the third attempt, Windows should enter the Automatic Repair environment. If it does, click Advanced options.
  4. Navigate to Troubleshoot > Advanced options > Startup Settings > Restart.
  5. After restart, press 4 or F4 to boot into Safe Mode.

If Automatic Repair does not appear, you can use a Windows installation USB drive to boot and select Repair your computer.

2. Run the Windows Update Troubleshooter

Once in Safe Mode, run the built-in troubleshooter:

  1. Open Settings > Update & Security > Troubleshoot.
  2. Select Windows Update and click Run the troubleshooter.
  3. Follow the prompts. This can fix corrupted update files or reset Windows Update components.

3. Delete the SoftwareDistribution Folder

The SoftwareDistribution folder stores downloaded updates. If it is corrupted, deleting it forces Windows to re-download them.

  1. In Safe Mode, open Command Prompt as administrator (search “cmd”, right-click, and choose “Run as administrator”).
  2. Type the following commands, pressing Enter after each:
net stop wuauserv
net stop bits
cd %systemroot%\SoftwareDistribution
ren SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits

Then restart the PC normally. Windows will recreate the folder and try the update again.

4. Use System Restore or Startup Repair

If the above fails, try restoring your system to a point before the update:

  1. Boot into the Advanced options menu as described in Step 1.
  2. Select System Restore and choose a restore point.
  3. If System Restore is not available, try Startup Repair instead.

5. Uninstall Recent Updates from Safe Mode

If you can boot to Safe Mode, you can uninstall the problematic update:

  1. Go to Settings > Update & Security > Windows Update > View update history > Uninstall updates.
  2. Look for the most recent update (usually a KB number) and uninstall it.
  3. Restart normally.

Common Mistakes to Avoid

  • Forcing shutdown too early: Give the process at least an hour before intervening.
  • Skipping Safe Mode: Running tools in normal mode may not work if the system cannot fully boot.
  • Ignoring disk space: Ensure you have at least 20 GB free on the system drive before updating.

What to Do If Nothing Works

If you have tried all the above and still cannot boot, you may need to reset your PC (keeping your files) or use a Windows installation USB to perform a repair install. A repair install reinstalls Windows while keeping your files and apps, but it requires a working Windows environment. If you cannot boot at all, you may need to use the Reset this PC option from the Advanced startup menu, which will reinstall Windows and can keep or remove your files depending on your choice.

Frequently Asked Questions

How long should I wait before force restarting?

Wait at least 30 minutes to an hour. If the hard drive light is inactive and the screen has not changed, it is likely hung.

Will I lose my files if I force restart?

No, a force restart does not delete files. However, if the update was in the middle of modifying system files, a restart might cause corruption, but your personal files remain intact.

Can I prevent this from happening in the future?

Yes, keep your disk clean, ensure you have enough free space, and regularly run Windows Update manually to avoid large cumulative updates. Also, consider pausing updates for a few days after a major release to let Microsoft fix bugs.

Is it safe to delete the SoftwareDistribution folder?

Yes, it is safe. Windows will recreate it automatically. However, you must stop the Windows Update service first, or the folder may be locked.

Why does this happen more on older PCs?

Older PCs often have slower hard drives, less RAM, and outdated drivers, all of which increase the chance of update failures. Upgrading to an SSD and updating drivers can help.

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

The whole Tech How-To bed →