Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

Always failed in manually initiating Windows Update on Windows Server 2012 ?

Can anyone please help me with very strange issue which affects only on my Windows Server 2012 running on HP ML310e G8 server ?

Symptoms:
I always never be able to successfully deploy the Windows Update manually by downloading it from the internet directly (no WSUS), when I go to the Control Panel\System and Security\Windows Update it always stuck with my mouse pointer becoming hour glass.

after 1 hour or more, then it would failed with the following error as per screenshot below:
Error 1
So I managed to create the batch script below that I run as Administrator:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
pause

Open in new window


and then manually again initiate the update, but then after waiting for another long minutes the error is shown as below:
Error 2
So what can I do to successfully run the Windows update on the Server 2012 ?

Thanks,
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
6 Solutions
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
The Symantec Endpoint security antivirus has also been stopped or disabled from the system tray.

but still, I cannot click on the "try again" button when it failed.
0
 
John HurstBusiness Consultant (Owner)Commented:
Try the Microsoft Windows Update Troubleshooter

http://support.microsoft.com/kb/971058

The resets should work for Server 2012

Then try the Microsoft Windows Update Readiness Tool.

http://support.microsoft.com/kb/947821

The article above suggests you run DISM for Server 2012

Open cmd.exe with Run as Administrator.
DISM.exe /Online /Cleanup-Image /Scanhealth (takes 15 - 20 minutes).
DISM.exe /Online /Cleanup-Image /Restorehealth (takes 15 - 20 minutes).
Restart the computer and test.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks man,
So when I run DISM during the business hours is there any outage / reboot required ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
John HurstBusiness Consultant (Owner)Commented:
I would always restart a workstation or server after running DISM. If the steps work, and updates start, you will have to restart anyway.  Strictly speaking however, DISM itself does not USUALLY force restart.
0
 
Cliff GaliherCommented:
The date on most recent check for updates I not at all recent. Even a failed attempt should update the time stamp. Check your system clock for proper date, times and time zone. Windows Update prevents man in the middle attacks by blocking any significant time skew.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Cliff, they are all synched to the domain and my workstation as well.
0
 
John HurstBusiness Consultant (Owner)Commented:
If you have followed the things to do I outlined and in the support articles I posted and you still cannot do updates, you might open a Microsoft Support case.

I have several Server 2012 at clients and they update smoothly.
0
 
DeadmanCommented:
Open Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
Remove any and all values within this key.
Reboot the server.
Hope it will works for you.
0
 
Gajendra RathodCommented:
Please check %SYSTEMROOT%\Windowsupdate.log and find out error message in it.
0
 
John HurstBusiness Consultant (Owner)Commented:
@ITSystemEngineer  - Thanks and I was happy to help with this.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now