The server is a virtual machine in an ESXI6.0 host, and
the operating system is Windows Server 2008 R2.
After restarting the server, the server is stuck on the Windows Update configuration interface, and cannot respond after waiting for more than half an hour. The solution is as follows
[Please refer to the third step directly for the physical server]
first step
Find the startup file in the virtual machine (please skip the physical server)
second step
Power off the virtual machine and load the PE boot file to the CD-ROM
third step
Start the virtual machine and enter the PE system
the fourth step
Delete all files in the following path (I cut it to another disk)
C:\Windows\SoftwareDistribution\Download\
the fifth step
Delete the specified file in the following path (I cut it to another disk)
[pending.xml] file in C:\Windows\winsxs
Step 6
Enter C:\Windows, open [regedit.exe]
step seven
展开HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \Policies \Explorer
eighth step
Create a new DWORD value in the right window, name it "NoWindowsUpdate", and then modify its value data to "1"
Ninth step
Close the Registry Editor, check that no files have been deleted at all, and press [F8] to restart into safe mode after confirming that all steps have been completed
. , I am a virtual machine, I waited for more than ten minutes, this time is not certain
Step 10
In safe mode, change the [Windows Update] service to disabled
The eleventh step
restarts the server and you can enter the system normally