Microsoft Windows Server R2 or Windows 7 rebooting while configuring updates

Great tip from Josh -

If Microsoft Server R2 or Windows 7 is stuck rebooting while configuring updates (pic below), follow these steps -

Problem-Windows Server R2 stuck in boot loop

  • Boot from the Server 2008 DVD (or Windows 7)
  • Select the command prompt
  • Type   del c:\windows\winsxs\pending.xml    
  • (This can be done in safe MODE in SOME situations see below)
  • Once this is done, reboot to the HDD

If you use safe mode, you may get an access is denied when deleting 

  • Click the orb – All programs – Accessories, right-click “command prompt” and select “Run as Administrator” (or type CMD in the search box and right-click and Run as Administrator
  •  In this case, you may have to take ownership -

Type the following commands

takeown /f C:\Windows\winsxs\pending.xml

cacls C:\Windows\winsxs\pending.xml /G Username:F

del C:\windows\winsxs\pending.xml

Can’t install Windows Updates or Windows Service Packs – here’s a fix.

Need to fix Windows updates?  Can’t install Windows Service pack?  Try these Microsoft fixes to fix these errors.

Windows Update Error 80072EE2

Windows Update Error 80072EE2 is generally caused by an MTU error.

You can reset your MTU to 1492 or 1472 by using TCPOptimizer found here.

* You may also have to set your router’s MTU (found in the advanced settings of your router- look in the manual) to the above numbers also.

What is MTU?  – Link