Check and Resolve Pending Reboots Before Installing Windows Updates
Difficulty: Intermediate | Time Required: 15 minutesIntroduction
Before installing Windows Updates, it is a good idea to check whether Windows is already waiting for a restart. A “pending reboot” means Windows has installed updates, replaced system files, staged servicing changes, renamed files, or completed part of a configuration change that cannot fully finish until the next restart.If you try to install more updates while a reboot is pending, Windows Update may fail, appear stuck, offer the same update repeatedly, or report confusing errors. Taking a few minutes to clear the pending reboot first can make update installs smoother and reduce troubleshooting later.
This guide applies to Windows 11 and Windows 10. Note that Microsoft ended free Windows 10 support on October 14, 2025, so Windows 10 users should consider moving to Windows 11 or using an eligible extended support path where applicable.
Prerequisites
Before you begin:- Save your work and close open apps.
- Make sure the PC is plugged into power, especially laptops.
- Sign in with an administrator account if you plan to use PowerShell.
- Allow about 15 minutes, although some update restarts may take longer.
- If this is a business, school, or domain-joined PC, check with your IT administrator before changing update settings.
Note: This tutorial checks for reboot indicators and uses normal restart options. It does not recommend deleting registry keys. Removing pending reboot registry entries manually can leave Windows servicing in an inconsistent state.
Step 1: Check Windows Update for a Restart Prompt
Start with the simplest method: the Settings app.On Windows 11
- Select Start.
- Open Settings.
- Go to Windows Update.
- Look for messages such as:
- Restart required
- Pending restart
- Updates are waiting to finish installing
- If you see a restart prompt, choose Restart now if you are ready.
On Windows 10
- Select Start.
- Open Settings.
- Go to Update & Security.
- Select Windows Update.
- Look for restart-related messages.
- If prompted, select Restart now.
Step 2: Check Whether Windows Is Waiting for File or Servicing Changes
For a more detailed check, use PowerShell. This is useful when Settings does not show a restart prompt, but Windows Update still behaves as though a reboot is pending.- Right-click Start.
- Select Terminal (Admin) or Windows PowerShell (Admin).
- If prompted by User Account Control, select Yes.
- Copy and paste the following command block:
Code:
$PendingReboot = [ordered]@{
ComponentBasedServicing = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"
WindowsUpdate = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"
PendingFileRenameOperations = $null -ne (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Name PendingFileRenameOperations -ErrorAction SilentlyContinue).PendingFileRenameOperations
PendingComputerRename = (
(Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName").ComputerName -ne
(Get-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName").ComputerName
)
}
$PendingReboot
if ($PendingReboot.Values -contains $true) {
Write-Host "`nPending reboot detected. Restart Windows before installing more updates." -ForegroundColor Yellow
} else {
Write-Host "`nNo common pending reboot indicators were detected." -ForegroundColor Green
}
- Press Enter.
Common results include:
- ComponentBasedServicing: Windows servicing changes are waiting to complete.
- WindowsUpdate: Windows Update has staged updates that require a restart.
- PendingFileRenameOperations: Windows needs to rename, replace, or remove files during reboot.
- PendingComputerRename: The computer name has changed and requires a restart.
Tip: This script only reads common reboot indicators. It does not modify your registry or update configuration.
Step 3: Restart the PC Properly
If a pending reboot is detected, restart Windows normally.- Save all open files.
- Close active applications.
- Select Start.
- Select the Power button.
- Choose Restart.
If you prefer using a command:
- Open Terminal (Admin) or Command Prompt (Admin).
- Run:
shutdown /r /t 0This immediately restarts the PC.
Warning: The command above restarts immediately. Save your work first.
Step 4: Sign Back In and Let Windows Finish
After the restart:- Sign back into Windows.
- Wait a few minutes after the desktop appears.
- Avoid immediately forcing another update scan.
- Open Settings again.
- Go to Windows Update.
- Check whether the restart prompt is gone.
Step 5: Run Windows Update Again
Once the pending reboot is cleared, check for updates again.Windows 11
- Open Settings.
- Select Windows Update.
- Select Check for updates.
- Install available updates.
- Restart again if prompted.
Windows 10
- Open Settings.
- Select Update & Security.
- Select Windows Update.
- Select Check for updates.
- Install available updates.
- Restart again if prompted.
Step 6: If the Pending Reboot Comes Back Immediately
Sometimes Windows still reports a pending restart after you already rebooted. Try these steps:- Restart one more time.
Some updates complete in multiple phases. - Check Windows Update history.
In Windows Update, open Update history and look for failed updates or repeated install attempts. - Run the Windows Update troubleshooter.
On Windows 11:- Open Settings.
- Go to System.
- Select Troubleshoot.
- Select Other troubleshooters.
- Find Windows Update and select Run.
- Open Settings.
- Go to Update & Security.
- Select Troubleshoot.
- Select Additional troubleshooters.
- Select Windows Update.
- Select Run the troubleshooter.
- Make sure Windows Update services are not disabled.
Press Win + R, typeservices.msc, and press Enter. Check that the Windows Update service is not disabled. - Check available disk space.
Low storage can prevent updates from completing. Free space on the system drive before trying again.
Note: If this is a managed PC, Group Policy, Microsoft Intune, WSUS, or other management tools may control restart behavior and update availability.
Helpful Tips
- Schedule updates when you can leave the PC alone for a while.
- Use Active hours to reduce unexpected restarts during work time.
- Do not repeatedly click Check for updates while Windows is waiting for a restart.
- Restart before installing major software such as antivirus tools, VPN clients, hardware drivers, or Microsoft 365 apps.
- If Windows Update is stuck at a percentage for a long time, restart first before attempting advanced repairs.
- For Windows 10 users, confirm whether your device is still covered by an appropriate support or extended update program.
Conclusion
Checking for a pending reboot before installing Windows Updates is a simple maintenance step that can prevent failed installs, repeated update prompts, and unnecessary troubleshooting. In most cases, the fix is straightforward: identify the pending restart, reboot properly, let Windows finish, and then check for updates again.Making this part of your regular update routine helps keep Windows 10 and Windows 11 systems healthier, more reliable, and easier to maintain.
Key Takeaways:
- A pending reboot can block or confuse Windows Update.
- Check Settings first, then use PowerShell for a deeper look.
- Restart instead of shutting down when clearing update-related reboot states.
- Do not delete pending reboot registry keys manually.
- After rebooting, return to Windows Update and check again.
- If the reboot state persists, run the Windows Update troubleshooter and check update history.
This tutorial was generated to help WindowsForum.com users get the most out of their Windows experience.
Reference basis: Microsoft documents that Windows Update may require a restart to apply updates, provides Windows Update troubleshooting steps, and identifies common pending reboot causes such as Windows Updates, Component-Based Servicing, pending file rename operations, pending computer rename, and pending domain join operations. (support.microsoft.com)
References
- Official source: support.microsoft.com
Install Windows Updates - Microsoft Support
Learn how to check for the latest Windows Updates and install them to keep your device running smoothly and securely.
support.microsoft.com
- Official source: learn.microsoft.com
How Windows Update works
In this article, learn about the process Windows Update uses to download and install updates on Windows client devices.learn.microsoft.com