Friday, May 2, 2014

Domain Controller fails to boot after updating security patches.

Problem

After updating security patch on one of domain controller fail to come up with error message  " Configuring Updates: 3 of 3".

Cause:

Patch installation is having a problem and system is trying to update last patch continuously as it fails system  reboots continuously.

Solution:

  • Boot Server with Windows Server 2008 installation DVD and go to system recovery console.
  • In system Recovery options window,click command prompt.
  • icacls C:\windows\winsxs\pending.xml /grant administrators:F
  • ren C:\windows\winsxs\pending.xml C:\windows\winsxs\pending_old.xml2
  •  reg load HKLM\basesystem c:\windows\system32\config\system
  • reg delete HKLM\Basesystem\CurrentControlSet\Control\Session Manager /v SetupExecute
  • reg add HKLM\BaseSystem\CurrentControlSet\Control\Session Manager /v SetupExecute /t REG_MULTI_SZ
  • Type Exit and Enter
  • In System Recovery Options window, Click Restart.
Note: 

Pending.xml file contains the list of patches/updates which need to be applied on system/server after reboot.