Problem: Server is in reboot loop after some windows patch.
Server is rebooting again and again with the message Windows trying to apply patches.
Connect using ILO/DRAC or Vsphere console and mount the proper ISO of the Operating System currently having issue with.
Enter to repair state.
Access command prompt.
open location %windir%\winsxs\ and rename pending.xml to pending.old
Run below commands to rename file.
ren %windir%\winsxs\pending.xml %windir%\winsxs\pending.old
Restart the server.