Check and Resolve Pending Reboots Before Installing Windows Updates

Check and Resolve Pending Reboots Before Installing Windows Updates​

Difficulty: Intermediate | Time Required: 15 minutes

Introduction​

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:
  1. Save your work and close open apps.
  2. Make sure the PC is plugged into power, especially laptops.
  3. Sign in with an administrator account if you plan to use PowerShell.
  4. Allow about 15 minutes, although some update restarts may take longer.
  5. 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​

  1. Select Start.
  2. Open Settings.
  3. Go to Windows Update.
  4. Look for messages such as:
    • Restart required
    • Pending restart
    • Updates are waiting to finish installing
  5. If you see a restart prompt, choose Restart now if you are ready.

On Windows 10​

  1. Select Start.
  2. Open Settings.
  3. Go to Update & Security.
  4. Select Windows Update.
  5. Look for restart-related messages.
  6. If prompted, select Restart now.
If Windows Update clearly says a restart is required, there is no need to run advanced checks first. Restart the device, sign back in, and return to Windows Update afterward.

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.
  1. Right-click Start.
  2. Select Terminal (Admin) or Windows PowerShell (Admin).
  3. If prompted by User Account Control, select Yes.
  4. 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
}
  1. Press Enter.
Review the results. If any value shows True, Windows has detected one or more common pending reboot indicators.
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.
  1. Save all open files.
  2. Close active applications.
  3. Select Start.
  4. Select the Power button.
  5. Choose Restart.
Avoid using Shut down unless you specifically know Fast Startup is disabled. On many systems, a standard shutdown may use a hybrid boot process, while Restart performs a cleaner full reboot path for completing updates and servicing tasks.
If you prefer using a command:
  1. Open Terminal (Admin) or Command Prompt (Admin).
  2. Run:
shutdown /r /t 0
This 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:
  1. Sign back into Windows.
  2. Wait a few minutes after the desktop appears.
  3. Avoid immediately forcing another update scan.
  4. Open Settings again.
  5. Go to Windows Update.
  6. Check whether the restart prompt is gone.
Windows may continue finalizing update tasks shortly after sign-in. Giving it a few minutes can prevent false alarms where a pending reboot indicator briefly remains while services finish starting.

Step 5: Run Windows Update Again​

Once the pending reboot is cleared, check for updates again.

Windows 11​

  1. Open Settings.
  2. Select Windows Update.
  3. Select Check for updates.
  4. Install available updates.
  5. Restart again if prompted.

Windows 10​

  1. Open Settings.
  2. Select Update & Security.
  3. Select Windows Update.
  4. Select Check for updates.
  5. Install available updates.
  6. Restart again if prompted.
It is normal for Windows to require more than one restart when installing large cumulative updates, feature updates, driver updates, or servicing stack-related changes.

Step 6: If the Pending Reboot Comes Back Immediately​

Sometimes Windows still reports a pending restart after you already rebooted. Try these steps:
  1. Restart one more time.
    Some updates complete in multiple phases.
  2. Check Windows Update history.
    In Windows Update, open Update history and look for failed updates or repeated install attempts.
  3. Run the Windows Update troubleshooter.
    On Windows 11:
    1. Open Settings.
    2. Go to System.
    3. Select Troubleshoot.
    4. Select Other troubleshooters.
    5. Find Windows Update and select Run.
    On Windows 10:
    1. Open Settings.
    2. Go to Update & Security.
    3. Select Troubleshoot.
    4. Select Additional troubleshooters.
    5. Select Windows Update.
    6. Select Run the troubleshooter.
  4. Make sure Windows Update services are not disabled.
    Press Win + R, type services.msc, and press Enter. Check that the Windows Update service is not disabled.
  5. 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​

  1. Official source: support.microsoft.com
  2. Official source: learn.microsoft.com
 

Back
Top