{"id":3055,"date":"2015-01-30T05:34:29","date_gmt":"2015-01-30T11:34:29","guid":{"rendered":"http:\/\/neosmart.net\/wiki\/?p=3055"},"modified":"2016-08-25T03:05:11","modified_gmt":"2016-08-25T08:05:11","slug":"windows-update-loop","status":"publish","type":"post","link":"https:\/\/neosmart.net\/wiki\/windows-update-loop\/","title":{"rendered":"Windows Update loop: Fix for Windows Vista, 7, 8"},"content":{"rendered":"<p>Get the fix for the error <strong>Windows Update is stuck in an endless loop<\/strong>\u00a0on <strong>Windows Vista,<\/strong><strong>\u00a0Windows 7, Windows 8 <\/strong>and<strong> Windows 8.1<\/strong>.<\/p>\n<h2>About &#8220;<strong>Windows Update is stuck in an endless loop<\/strong>&#8220;<\/h2>\n<p>The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.<\/p>\n<h3><span id=\"Description_and_Symptoms\">Description and Symptoms<\/span><\/h3>\n<p>The error messages, alerts, warnings, and symptoms below are tied to this error.<\/p>\n<h3>Symptom 1: <strong>Windows Update is stuck in an endless loop during installation<\/strong><\/h3>\n<p>Windows Update can fail during the updates installation if the updates began to be installed during a shutdown operation of your computer<\/p>\n<p>The <em>exact<\/em> moment when Windows Update seems stuck can be different depending on your computer and Windows version, but it&#8217;s usually any of the following:<\/p>\n<ul>\n<li>Configuring update: Stage 3 of 3 &#8211; 0% complete. Do not turn off your computer.<\/li>\n<li>Please do not power off or unplug your machine. Installing update 1 of 4.<\/li>\n<li>Configuring Windows update. 0% complete. Do not turn off your computer.<\/li>\n<li>Failure configuring Windows updates. Reverting changes.<\/li>\n<\/ul>\n<p>When you force restart your computer, Windows boots again with Windows Update trying to install the pending updates.<\/p>\n<h2>Causes of this Error<\/h2>\n<p>This error has been known to occur as a result of one of the following causes:<\/p>\n<h3>Cause 1: File system integrity compromised<\/h3>\n<p>The hard drive&#8217;s file system may become damaged because of disk write errors, power outages or virus attacks. If that&#8217;s the case, the operating system cannot boot properly and the loading process is halted.<\/p>\n<h3>Cause 2: File system settings\u00a0are set incorrectly<\/h3>\n<p>Sometimes, the system may start looping endlessly when the system update flags are not set correctly. This can be solved by deleting these files manually.<\/p>\n<h2>Fixing \u201c<strong>Windows Update is stuck in an endless loop<\/strong><span id=\"Fixing_8220Fatal_INT18_Boot_failure8221_on_Windows\">\u201d on Windows<\/span><\/h2>\n<p class='alert'><strong>Windows Setup CD\/DVD Required!<\/strong><br \/>Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use <a href=\"\/EasyRE\/\">Easy Recovery Essentials for Windows<\/a> instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.<\/p>\n<h3>Fix #1: Rebuild boot.ini or BCD with Easy Recovery Essentials<\/h3>\n<p>Easy Recovery Essentials is guaranteed to fix the &#8220;Windows Update loop&#8221; error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows <strong>XP<\/strong>, <strong>Vista<\/strong>, <strong>7<\/strong>, <strong>8<\/strong>, <strong>Windows 10<\/strong>, and <strong>Windows 11<\/strong> and can be downloaded and created on any PC.<\/p>\n<ol>\n<li><a title=\"Download Easy Recovery Essentials\" href=\"\/EasyRE\/\">Download Easy Recovery Essentials<\/a>. Make sure to note your Windows version (XP, Vista, 7, 8, 10, or Windows 11) before you download EasyRE. This guide can help you <a href=\"\/EasyRE\/Home\/IdentifyWindows\" target=\"_blank\" rel=\"noopener\">identify what version of Windows<\/a> you have installed.<\/li>\n<li>Burn the image. Follow these instructions on <a href=\"\/wiki\/creating-a-bootable-cd-or-dvd\/\">how to burn the bootable ISO image<\/a>\u00a0very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain <a href=\"\/wiki\/easybcd\/tips-and-tricks\/easyre-recovery-usb\/\">how to create a bootable EasyRE recovery USB stick\/drive<\/a>.<\/li>\n<li>Boot up your PC <a href=\"\/wiki\/booting-from-a-cd-or-dvd\/\">from the Easy Recovery Essentials CD<\/a> or USB you created.<\/li>\n<li>Once EasyRE is running, choose the &#8220;Automated Repair&#8221; option and click <kbd>Continue<\/kbd>.\n<div style=\"width: 727px\" class=\"wp-caption alignnone\"><a href=\"\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" wp-image-512 colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?resize=717%2C442&#038;ssl=1\" alt=\"EasyRE Home\" width=\"717\" height=\"442\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?resize=1024%2C631&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?resize=60%2C37&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?resize=150%2C92&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/EasyRE-Home.png?w=1750&amp;ssl=1 1750w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Choose &#8220;Automated Repair&#8221; in Easy Recovery Essentials<\/p>\n<\/div>\n<\/li>\n<li>After EasyRE scans your computer&#8217;s drives, identify and select the drive letter for your Windows installation\u00a0from the list, and then click on the <kbd>Automated Repair<\/kbd> button to begin.\n<div id=\"attachment_1488\" style=\"width: 727px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1488\" class=\" wp-image-1488  colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?resize=717%2C442&#038;ssl=1\" alt=\"EasyRE displays a list of found Windows operating systems\" width=\"717\" height=\"442\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?resize=1024%2C631&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?resize=60%2C37&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?resize=150%2C92&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Select-Drive-to-Repair-Generic.png?w=1750&amp;ssl=1 1750w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p id=\"caption-attachment-1488\" class=\"wp-caption-text\">Choose the drive associated with the Windows installation you&#8217;re trying to repair.<\/p>\n<\/div>\n<\/li>\n<li>Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE&#8217;s repair is fully automated:\n<div style=\"width: 727px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" wp-image-511  colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?resize=717%2C442&#038;ssl=1\" alt=\"EasyRE: Automated Repair\" width=\"717\" height=\"442\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?resize=1024%2C631&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?resize=300%2C185&amp;ssl=1 300w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?resize=60%2C37&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?resize=150%2C92&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/Automated-Repair.png?w=1750&amp;ssl=1 1750w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.<\/p>\n<\/div>\n<\/li>\n<li>Once the process is complete, EasyRE will report its findings. Click on the <kbd>Restart<\/kbd> button to reboot your PC and test the changes.<\/li>\n<li>The &#8220;Windows Update loop&#8221; error should now be fixed as your PC begins to load:<a href=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/windows-vista-7-8-boot-screen.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"  colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2013\/08\/windows-vista-7-8-boot-screen.png?w=980&#038;ssl=1\" alt=\"EasyRE: Automated Repair\" \/><\/a><\/li>\n<\/ol>\n<p>You can download Easy Recovery Essentials <a href=\"\/EasyRE\/\">from here<\/a>.<\/p>\n<h2>Fix Windows Update Loop in Windows Vista and 7<\/h2>\n<h3>Fix #1: Boot into Last Known Good Configuration<\/h3>\n<p>A quick fix for the loop error could be booting into the Last Known Good Configuration mode:<\/p>\n<ol>\n<li>Restart the computer<\/li>\n<li>Press the <kbd>F8<\/kbd> key as soon as the computer boots, but before the Windows Vista or Windows 7 logo appears on the screen<\/li>\n<li>At the <em>Advanced Boot Options<\/em> screen, select <strong>Last Known Good Configuration (advanced)<\/strong><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2013\/09\/Advanced-Boot-Options.jpg\" alt=\"Advanced Boot Options\" \/><\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<\/ol>\n<p>If this fix doesn&#8217;t solve the loop error, try any of the following fixes below.<\/p>\n<h3>Fix #2: Delete cleanup.xml and pending.xml<\/h3>\n<p>The Windows Update loop can be fixed in most cases by deleting the following files found in the \\Windows\\WinSxS\\ folder:<\/p>\n<ul>\n<li>cleanup.xml<\/li>\n<li>pending.xml<\/li>\n<\/ul>\n<p>To delete these files, follow these steps:<\/p>\n<ol>\n<ol>\n<li>Insert the Windows Vista or Windows 7 installation media in the disc tray<\/li>\n<li>Restart your computer<\/li>\n<li>Boot from the DVD by pressing any key when you see the &#8220;Press any key&#8221; message on your screen<\/li>\n<li>At the <strong>Install Windows<\/strong> screen, click <strong>Repair your computer<\/strong><\/li>\n<\/ol>\n<\/ol>\n<p><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/06\/windows-vista-repair-your-computer.png\" alt=\"Windows Vista Repair your computer link\" \/><\/p>\n<ul>\n<li>At System Recovery Options, click <strong>Command Prompt<\/strong><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/05\/windows-7-system-recovery-options-screen.jpg\" alt=\"Windows 7 System Recovery Options\" \/><\/li>\n<li>Type the following commands and press <kbd>Enter<\/kbd> after each.Make sure to replace <code>C:<\/code> with the letter of the drive where your Windows Vista or Windows 7 is installed on.The commands are:\n<pre>del C:\\Windows\\WinSxS\\cleanup.xml<\/pre>\n<p>and<\/p>\n<pre>del C:\\Windows\\WinSxS\\pending.xml<\/pre>\n<\/li>\n<li>Type <code>exit<\/code> to quit Command Prompt<\/li>\n<li>Restart your computer<\/li>\n<\/ul>\n<div id=\"attachment_4670\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4670\" class=\"wp-image-4670 size-full colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=800%2C600&#038;ssl=1\" alt=\"xml files deleted successfully\" width=\"800\" height=\"600\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=60%2C45&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=150%2C113&amp;ssl=1 150w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4670\" class=\"wp-caption-text\">xml files deleted successfully<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Fix #3: Run sfc<\/h3>\n<p>The sfc utility can scan and restore corrupted files found on your Windows system and could fix the loop error.<\/p>\n<p>To run sfc, follow these steps for any Windows Vista or 7 system:<\/p>\n<ol>\n<li>Insert the installation media and boot from it<\/li>\n<li>Click <strong>Repair your computer<\/strong><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2013\/10\/Install-Now-Windows-7.jpg\" alt=\"Install Now Screen in Windows 7\" \/><\/li>\n<li>At System Recovery Options, select <strong>Command Prompt<\/strong> and type:\n<pre>sfc \/scannow \/offbootdir=c:\\ \/offwindir=c:\\windows<\/pre>\n<p>Replace <code>c:\\<\/code> with the drive where Windows Vista or Windows 7 is installed on.<\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<li>The system scan should begin<img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/10\/sfc-scannow.png\" alt=\"sfc is running\" \/><\/li>\n<li>When the process is complete, restart your computer<\/li>\n<\/ol>\n<p>If you don&#8217;t have your original installation media to access Command Prompt, you could either follow the instructions from <a href=\"#Fix_Loop_Error_with_Easy_Recovery_Essentials\">Fix Loop Error with Easy Recovery Essentials<\/a> or check if your system has the necessary recovery tools installed on the hard drive:<\/p>\n<ol>\n<li>Restart the computer<\/li>\n<li>Press <kbd>F8<\/kbd> before the Windows logo appears<\/li>\n<li>If at the Advanced Boot Options screen you have a <strong>Repair Your Computer<\/strong> option, select it and hit <kbd>Enter<\/kbd><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2013\/09\/Windows-7-Advanced-Boot-Options.png\" alt=\"Advanced Boot Options in Windows 7\" \/><\/li>\n<li>Your system will boot into System Recovery Options and you can select Command Prompt from the list.If the option isn&#8217;t listed, your system doesn&#8217;t have the necessary recovery tools installed. In this case, follow the instructions from <a href=\"#Fix_Loop_Error_with_Easy_Recovery_Essentials\">Fix Loop Error with Easy Recovery Essentials.<\/a><\/li>\n<\/ol>\n<h3>Fix #4: Install System Update Readiness Tool<\/h3>\n<p>Certain Windows Updates can be the main cause for the Windows Update endless loop:<\/p>\n<ul>\n<li>KB2515325<\/li>\n<li>KB2522422<\/li>\n<li>KB2492386<\/li>\n<li>KB982018<\/li>\n<\/ul>\n<p>If your Windows Vista or Windows 7 is trying to install these updates and the installation isn&#8217;t being completed, Microsoft recommends you to install <strong>System Update Readiness Tool<\/strong>:<\/p>\n<ol>\n<li>Go to <a href=\"http:\/\/windows.microsoft.com\/en-US\/windows7\/What-is-the-System-Update-Readiness-Tool\">What is the System Update Readiness Tool on Microsoft.com<\/a> and download the tool corresponding to your Windows version: Vista (32-bit or 64-bit) or 7 (32-bit or 64-bit).<\/li>\n<li>Click <strong>Download<\/strong><\/li>\n<li>Once the tool is downloaded on your computer, run it<\/li>\n<li>At the <em>Windows Update Standalone Installer<\/em> dialog, click <strong>Yes<\/strong> or <strong>OK<\/strong><\/li>\n<li>At the <em>Installation complete<\/em> dialog, click <strong>Close<\/strong><\/li>\n<li>Restart your computer<\/li>\n<li>Go to Windows Updates in Control Panel and try to install any pending updates<\/li>\n<\/ol>\n<h3>Fix #5: Perform a Clean Boot<\/h3>\n<p>Starting your Windows Vista or Windows 7 in a clean boot mode could fix the Windows Update loop error by installing the pending updates in this mode:<\/p>\n<ol>\n<li>Restart the computer and log into your Windows Vista or 7<\/li>\n<li>Click <strong>Start<\/strong><\/li>\n<li>Type <code>msconfig.exe<\/code> in the Run field<\/li>\n<li>Press <kbd>Enter<\/kbd> to access msconfig<\/li>\n<li>At the <em>General<\/em> tab, select <strong>Selective startup<\/strong><\/li>\n<li>Uncheck <strong>Load startup items<\/strong><\/li>\n<li>Check <strong>Load system services<\/strong><\/li>\n<li>At the <em>Services<\/em> tab, check the <strong>Hide all Microsoft Services<\/strong><\/li>\n<li>Click <strong>Disable all<\/strong> to disable all other services<\/li>\n<li>Click <strong>OK<\/strong><\/li>\n<li>Click <strong>Restart<\/strong><\/li>\n<\/ol>\n<div id=\"attachment_4666\" style=\"width: 990px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4666\" class=\"wp-image-4666 size-large colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen-1024x592.png?resize=980%2C567&#038;ssl=1\" alt=\"Msconfig utility screen\" width=\"980\" height=\"567\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?resize=1024%2C592&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?resize=600%2C347&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?resize=768%2C444&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?resize=60%2C35&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?resize=150%2C87&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen.png?w=1298&amp;ssl=1 1298w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4666\" class=\"wp-caption-text\">Msconfig utility screen<\/p>\n<\/div>\n<h3>Fix #6: System Restore<\/h3>\n<p>If System Restore was enabled and running on your system, you can try to restore your computer to an earlier date to access Windows, <a href=\"#Fix_5_Perform_a_Clean_Boot\">follow the steps to prepare for a clean boot<\/a> and then install the pending Windows updates in the clean boot mode.<\/p>\n<ol>\n<li>Restart the computer and begin press the <kbd>F8<\/kbd> key to boot into Advanced Boot Options<\/li>\n<li>Select <strong>Safe Mode<\/strong><\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<\/ol>\n<p>If Safe Mode option isn&#8217;t successfully booting you into Windows, try selecting Safe Mode with Command Prompt:<\/p>\n<ol>\n<li>Select <strong>Safe Mode with Command Prompt<\/strong><\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<li>At Command Prompt, type:\n<pre>rstrui.exe<\/pre>\n<\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<li>Follow the System Restore instructions to complete a restore<\/li>\n<\/ol>\n<div id=\"attachment_4669\" style=\"width: 990px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4669\" class=\"wp-image-4669 size-large colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui-1024x520.png?resize=980%2C498&#038;ssl=1\" alt=\"rstrui utility results screen\" width=\"980\" height=\"498\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?resize=1024%2C520&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?resize=600%2C305&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?resize=768%2C390&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?resize=60%2C30&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?resize=150%2C76&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/rstrui.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4669\" class=\"wp-caption-text\">rstrui utility results screen<\/p>\n<\/div>\n<h2>Fix Windows Update Loop in Windows 8\/8.1<\/h2>\n<h3>Fix #1: Delete cleanup.xml and pending.xml<\/h3>\n<p>Similar to Windos Vista or 7 instructions, the Windows Update loop can be fixed in most cases by deleting the <strong>cleanup.xml<\/strong> and <strong>pending.xml<\/strong> files from the <strong>WinSxS<\/strong> folder.<\/p>\n<p>To do so on a Windows 8 or Windows 8 system, follow these steps:<\/p>\n<ol>\n<li>Insert the Windows 8\/8.1 media to boot from it<\/li>\n<li>Click <strong>Repair your computer<\/strong> or press <kbd>R<\/kbd><img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/06\/windows-8-repair-your-computer-screen.png\" alt=\"Windows 8 Install Now\" \/><\/li>\n<li>Select <strong>Troubleshoot<\/strong><\/li>\n<li>Select <strong>Advanced options<\/strong><\/li>\n<li>Select <strong>Command Prompt<\/strong><\/li>\n<li>Type these commands and press <kbd>Enter<\/kbd>:\n<pre>del C:\\Windows\\WinSxS\\cleanup.xml\r\ndel C:\\Windows\\WinSxS\\pending.xml<\/pre>\n<p>Replace <code>C:\\<\/code> with the letter of the drive where Windows 8\/8.1 is installed<\/li>\n<li>Type <code>exit<\/code> to quit Command Prompt<\/li>\n<li>Restart the computer<\/li>\n<\/ol>\n<div id=\"attachment_4670\" style=\"width: 810px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4670\" class=\"wp-image-4670 size-full colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=800%2C600&#038;ssl=1\" alt=\"xml files deleted successfully\" width=\"800\" height=\"600\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=60%2C45&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/delxml.png?resize=150%2C113&amp;ssl=1 150w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4670\" class=\"wp-caption-text\">xml files deleted successfully<\/p>\n<\/div>\n<h3>Fix #2: Use DISM<\/h3>\n<p>If deleting pending.xml and cleanup.xml doesn&#8217;t work, use the DISM command:<\/p>\n<ol>\n<li>Boot from the installation media and access <strong>Command Prompt<\/strong> (after you select Repair your computer &gt; Troubleshoot &gt; Advanced options &gt; Command Prompt)<\/li>\n<li>Type the DISM command:\n<pre>dism \/image:C:\\ \/cleanup-image \/revertpendingactions<\/pre>\n<\/li>\n<li>\n<pre><\/pre>\n<p>where <code>C:<\/code> is the drive where Windows 8\/8.1 is installed<\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<\/ol>\n<div id=\"attachment_4671\" style=\"width: 990px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4671\" class=\"wp-image-4671 size-large colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/dism-1024x768.png?resize=980%2C735&#038;ssl=1\" alt=\"dism utility results screen\" width=\"980\" height=\"735\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?resize=60%2C45&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/dism.png?resize=150%2C113&amp;ssl=1 150w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4671\" class=\"wp-caption-text\">dism utility results screen<\/p>\n<\/div>\n<p>If you don&#8217;t have the Windows 8\/8.1 installation media, either follow the <a href=\"#Fix_Loop_Error_with_Easy_Recovery_Essentials\">Fix Loop Error with Easy Recovery Essentials instructions<\/a> or try these next steps:<\/p>\n<ol>\n<li>Restart the computer<\/li>\n<li>Try any of the following tips to access the Startup Settings menu of your Windows:\n<ul>\n<li>Press <kbd>F8<\/kbd> before Windows 8 logo appears<\/li>\n<li>Press <kbd>Shift<\/kbd> and <kbd>F8<\/kbd> before Windows 8 logo appears<\/li>\n<li>Press <kbd>F11<\/kbd> before Windows 8 logo appears<\/li>\n<li>Restart the computer while holding the <kbd>Shift<\/kbd> key<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>Troubleshoot<\/strong><\/li>\n<li>Click <strong>Advanced options<\/strong><\/li>\n<li>Click <strong>Startup settings<\/strong><\/li>\n<li>Click <strong>Restart<\/strong><\/li>\n<li>Your computer will restart and boot into the <strong>Startup Settings<\/strong> screen:<img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2013\/09\/Windows-8-Advanced-Boot-Options.png\" alt=\"Startup Settings in Windows 8\" \/><\/li>\n<li>Press <kbd>F6<\/kbd> to access <strong>Safe Mode with Command Prompt<\/strong><\/li>\n<li>Once in Command Prompt type the DISM command:\n<pre>dism \/image:C:\\ \/cleanup-image \/revertpendingactions<\/pre>\n<p>Replace <code>C:<\/code> with the Windows 8 installation drive letter<\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<\/ol>\n<h3>Fix #3: Run sfc<\/h3>\n<p>To run sfc on a Windows 8 or Windows 8.1 system, follow these steps:<\/p>\n<ol>\n<li>Insert the installation media and boot from it to access the Install now screen<br \/>\n<img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/06\/windows-8-repair-your-computer-screen.png\" alt=\"Windows 8 Install Now screen\" \/><\/li>\n<li>Click <strong>Repair your computer<\/strong><\/li>\n<li>Navigate to Troubleshoot &gt; Advanced options<br \/>\n<img class=\"colorbox-3055\"  decoding=\"async\" src=\"\/wiki\/wp-content\/uploads\/sites\/5\/2014\/02\/windows-8-recovery-options-screen-troubleshoot.png\" alt=\"Windows 8 Troubleshoot page\" \/><\/li>\n<li>Click <strong>Command Prompt<\/strong><\/li>\n<li>Type the sfc command and replace <code>c:<\/code> with the letter of the drive where Windows 8 is installed on:\n<pre>sfc \/scannow \/offbootdir=c:\\ \/offwindir=c:\\windows<\/pre>\n<\/li>\n<li>Press <kbd>Enter<\/kbd><\/li>\n<\/ol>\n<p><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-4672 colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8-1024x768.png?resize=980%2C735&#038;ssl=1\" alt=\"sfc_win8\" width=\"980\" height=\"735\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?resize=60%2C45&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/sfc_win8.png?resize=150%2C113&amp;ssl=1 150w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<h3>Fix #4: System Restore<\/h3>\n<p>Usually System Restore is enabled and running by default on Windows 8\/8.1 systems. If this is the case, you can use System Restore to restore the computer to an earlier date in time to fix the Windows Updates loop error:<\/p>\n<ol>\n<li>Insert the installation disc and boot from it<\/li>\n<li>Once at the Install now screen, click <strong>Repair your computer<\/strong><\/li>\n<li>Click <strong>Troubleshoot<\/strong><\/li>\n<li>Click <strong>Advanced options<\/strong><\/li>\n<li>Select the operating system<\/li>\n<li>Click <strong>System Restore<\/strong><\/li>\n<li>Follow the wizard instructions to complete the process<\/li>\n<\/ol>\n<h3>Fix #5: Clean Boot<\/h3>\n<p>If you successfully managed to restore Windows 8\/8.1 to an earlier restore point before the Windows Update loop error, boot your system into a Clean Boot mode and install the pending Windows updates again:<\/p>\n<ol>\n<li>Boot into the system<\/li>\n<li>Press the <kbd><span class='kbdkey'><img src='https:\/\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/02\/WinKey.svg' class='winkey colorbox-3055' \/><\/span><\/kbd> and <kbd>R<\/kbd> keys to open the Run dialog<\/li>\n<li>Type <code>msconfig<\/code><\/li>\n<li>Click <strong>OK<\/strong> or press <kbd>Enter<\/kbd><\/li>\n<li>Go to <strong>Services<\/strong> tab<\/li>\n<li>Check the <strong>Hide all Microsoft services<\/strong> option<\/li>\n<li>Click <strong>Disable all<\/strong><\/li>\n<li>Go to <strong>General<\/strong> tab<\/li>\n<li>Check <strong>Selective startup<\/strong><\/li>\n<li>Uncheck <strong>Load startup items<\/strong><\/li>\n<li>Check <strong>Load system services<\/strong><\/li>\n<li>Click <strong>OK<\/strong><\/li>\n<li>Click <strong>Restart<\/strong><\/li>\n<\/ol>\n<div id=\"attachment_4668\" style=\"width: 990px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-4668\" class=\"wp-image-4668 size-large colorbox-3055\" src=\"https:\/\/i0.wp.com\/neosmart.net\/blog\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1-1024x592.png?resize=980%2C567&#038;ssl=1\" alt=\"Msconfig utility screen\" width=\"980\" height=\"567\" srcset=\"https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?resize=1024%2C592&amp;ssl=1 1024w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?resize=600%2C347&amp;ssl=1 600w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?resize=768%2C444&amp;ssl=1 768w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?resize=60%2C35&amp;ssl=1 60w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?resize=150%2C87&amp;ssl=1 150w, https:\/\/i0.wp.com\/neosmart.net\/wiki\/wp-content\/uploads\/sites\/5\/2015\/01\/Msconfig-utility-screen1.png?w=1298&amp;ssl=1 1298w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/a><\/p>\n<p id=\"caption-attachment-4668\" class=\"wp-caption-text\">Msconfig utility screen<\/p>\n<\/div>\n<h2>More Information<\/h2>\n<h3>Linked Entries<\/h3>\n<ul>\n<li><a href=\"https:\/\/neosmart.net\/wiki\/bootrec\/\">bootrec<\/a><\/li>\n<li><a href=\"https:\/\/neosmart.net\/wiki\/chkdsk\/\">chkdsk<\/a><\/li>\n<\/ul>\n<h3>Support Links<\/h3>\n<ul>\n<li><strong><a href=\"http:\/\/neosmart.net\/EasyRE\/\" title=\"Easy Recovery Essentials\">Easy Recovery Essentials for Windows<\/a> &#8211; our repair and recovery disk.<\/strong><br \/>\n<br \/>\nIt&#8217;s an easy-to-use and automated diagnostics disk. It&#8217;s available for <a href=\"https:\/\/neosmart.net\/blog\/2012\/windows-8-repair-cd-download\/\" title=\"Windows 8\">Windows 8<\/a>, <a href=\"https:\/\/neosmart.net\/blog\/2009\/windows-7-system-repair-discs\/\" title=\"Windows 7\">Windows 7<\/a> and <a href=\"https:\/\/neosmart.net\/blog\/2008\/windows-vista-recovery-disc-download\/\" title=\"Windows Vista\">Windows Vista<\/a>. It&#8217;s also available for Windows XP and Windows Server.<\/p>\n<p>Read more at <a href=\"https:\/\/neosmart.net\/blog\/windows-recovery-discs\/\" title=\"Windows Recovery Disks\">Windows Recovery Disks<\/a>.\n<\/li>\n<li><a href=\"http:\/\/neosmart.net\/forums\/\" title=\"The NeoSmart Support Forums\" rel=\"nofollow\">The NeoSmart Support Forums<\/a>, member-to-member technical support and troubleshooting.<\/li>\n<li>Get a discounted price on replacement setup and installation discs: <a rel=\"nofollow\" href=\"https:\/\/www.amazon.com\/gp\/product\/B000HCZ9BG\/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000HCZ9BG&#038;linkCode=as2&#038;tag=neosmart.tech-20\">Windows Vista<\/a>, <a rel=\"nofollow\" href=\"https:\/\/www.amazon.com\/gp\/product\/B004Q0PT3I\/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B004Q0PT3I&#038;linkCode=as2&#038;tag=neosmart.tech-20\">Windows 7<\/a>, <a rel=\"nofollow\" href=\"https:\/\/www.amazon.com\/gp\/product\/B008H3SW4I\/ref=as_li_ss_tl?ie=UTF8&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B008H3SW4I&#038;linkCode=as2&#038;tag=neosmart.tech-20\">Windows 8<\/a>.<\/li>\n<\/ul>\n<h3>Applicable Systems<\/h3>\n<p>This Windows-related knowledgebase article applies to the following operating systems:<\/p>\n<ul>\n<li>Windows Vista (all editions)<\/li>\n<li>Windows 7 (all editions)<\/li>\n<li>Windows 8 (all editions)<\/li>\n<li>Windows 8.1 (all editions)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Get the fix for the error Windows Update is stuck in an endless loop\u00a0on Windows Vista,\u00a0Windows 7, Windows 8 and Windows 8.1. About &#8220;Windows Update is stuck in an endless loop&#8220; Description and Symptoms The error messages, alerts, warnings, and symptoms below are tied to this error. Symptom 1: Windows Update is stuck in an [&hellip;]<\/p>\n","protected":false},"author":508,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"class_list":["post-3055","post","type-post","status-publish","format-standard","hentry"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3SlTq-Nh","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/posts\/3055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/users\/508"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/comments?post=3055"}],"version-history":[{"count":10,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/posts\/3055\/revisions"}],"predecessor-version":[{"id":4681,"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/posts\/3055\/revisions\/4681"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/wiki\/wp-json\/wp\/v2\/media?parent=3055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}