Close Menu
EnterAZ.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Create Videos with Veo 2 on Gemini

    May 14, 2025

    How to Check What Data ChatGPT Has Stored About You?

    May 12, 2025

    How to Fix a Windows Update “Pending Restart” Loop

    May 11, 2025
    FacebookX (Twitter)Instagram
    EnterAZ.comEnterAZ.com
    • Home
    • Apps
      • Android
      • iOS
      • Windows
    • Gaming
      • PC
      • Playstation
      • Xbox
    • Mobiles
    • Software
    • Tutorials
    FacebookX (Twitter)Instagram
    EnterAZ.com
    Home»Tutorials»How to Fix a Windows Update “Pending Restart” Loop
    Tutorials

    How to Fix a Windows Update “Pending Restart” Loop

    May 11, 2025Updated:May 11, 2025
    FacebookTwitterPinterestTelegramLinkedInTumblrWhatsAppEmail
    How to Fix a Windows Update “Pending Restart” Loop
    Share
    FacebookTwitterLinkedInPinterestTelegramEmail

    Sometimes, Windows may repeatedly ask you to restart your computer after an update, showing the “Restart required, Pending restart” message even after multiple reboots. This usually happens when an update installation fails, leaving the system in a pending or incomplete state.

    How to Fix a Windows Update “Pending Restart” Loop

    To resolve this issue, follow these steps:

    Step 1: Check for Pending Updates

    Open PowerShell as Administrator, and run the following command to identify update packages that are stuck in a pending state:

    dism /online /get-packages /format:table | Select-String “Pending”

    Alternatively, for a cleaner output:

    Get-WindowsPackage -Online | Where-Object { $_.PackageState -like ‘*Pending*’ }

    How to Fix a Windows Update “Pending Restart” Loop

    If any updates show a pending status after rebooting, you may need to cancel them manually.

    Step 2: Boot into Windows Recovery

    Run the following command to reboot directly into Windows Recovery Environment (WinRE):

    shutdown /f /r /o /t 0

    Alternatively, use a LiveCD, DaRT disk, or Windows installation media to boot into recovery mode.

    Step 3: Cancel Pending Updates

    While in recovery mode, open Command Prompt and enter the following command to cancel all pending Windows Update actions:

    DISM /image:C:\ /ScratchDir:C:\ /cleanup-image /RevertPendingActions

    Ensure C:\ is your system drive; adjust if necessary.

    Step 4: Manually Remove Update Files (If Needed)

    If DISM doesn’t work, manually delete the pending update files:

    del C:\Windows\WinSxS\pending.xml
    del C:\Windows\WinSxS\cleanup.xml (if it exists)
    del C:\Windows\SoftwareDistribution\Download\*.*

    How to Fix a Windows Update “Pending Restart” Loop

    This clears out temporary update data and pending actions.

    Step 5: Remove Registry Entries

    Launch Registry Editor (regedit).

    Load the offline Software registry hive from:

    C:\Windows\System32\config\Software

    Go to:

    HKLM\SYSTEM\CurrentControlSet\Control\Session Manager

    Delete the key: PendingFileRenameOperations

    How to Fix a Windows Update “Pending Restart” Loop

    Save and unload the hive: File → Unload Hive. Restart the computer.

    Step 6: Verify and Repair System Files

    After rebooting, use the following commands in Command Prompt (Admin) to check system health:

    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow

    These commands verify system integrity and fix any corrupted files caused by incomplete updates.

    By following these steps, you should be able to break out of the Windows Update “Pending Restart” loop and restore normal update functionality.

     

    Cancel Update DISM Tool Pending Restart PowerShell Command Registry Editor Revert Pending Actions sfc scannow Software Distribution System Repair Troubleshooting Guide Update Loop Fix Windows 10 Windows 11 Windows Recovery Windows Update
    Share.FacebookTwitterPinterestLinkedInTumblrEmail
    Previous ArticleFree Spam Call Alert App Launches on iOS — A Truecaller Alternative
    Next Article How to Check What Data ChatGPT Has Stored About You?

    Related Posts

    How to Check What Data ChatGPT Has Stored About You?

    May 12, 2025
    Leave A Reply Cancel Reply

    Top Reviews
    Editors Picks

    Create Videos with Veo 2 on Gemini

    May 14, 2025

    How to Check What Data ChatGPT Has Stored About You?

    May 12, 2025

    How to Fix a Windows Update “Pending Restart” Loop

    May 11, 2025

    Free Spam Call Alert App Launches on iOS — A Truecaller Alternative

    May 11, 2025
    Advertisement
    Demo
    About Us
    About Us

    Explore everything from A to Z in tech with EnterAZ.com – your hub for free apps, software reviews, how-to guides, and the latest tech insights.

    We're accepting new partnerships right now.

    Email Us: [email protected]
    Contact: +1-320-0123-451

    Our Picks

    Create Videos with Veo 2 on Gemini

    May 14, 2025

    How to Check What Data ChatGPT Has Stored About You?

    May 12, 2025

    How to Fix a Windows Update “Pending Restart” Loop

    May 11, 2025
    © 2025. Designed by EnterAZ.com.
    • Home
    • Apps
    • Gaming
    • Mobiles
    • Software
    • Privacy Policy
    • Cookie Policy (EU)
    • Sitemap

    Type above and press Enter to search. Press Esc to cancel.

    EnterAZ.com
    Manage Consent
    To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
    FunctionalAlways active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    Manage optionsManage servicesManage {vendor_count} vendorsRead more about these purposes
    View preferences
    {title}{title}{title}