Solved

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

Posted on 2015-01-12
10
179 Views
Last Modified: 2015-01-28
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
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40545844
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
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 251 total points
ID: 40545861
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
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40545873
Thanks man,
So when I run DISM during the business hours is there any outage / reboot required ?
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 95

Accepted Solution

by:
John Hurst earned 251 total points
ID: 40545875
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
 
LVL 58

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 83 total points
ID: 40545902
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
 
LVL 8

Author Comment

by:Senior IT System Engineer
ID: 40545907
Cliff, they are all synched to the domain and my workstation as well.
0
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 251 total points
ID: 40546457
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
 
LVL 7

Assisted Solution

by:Deadman
Deadman earned 83 total points
ID: 40546468
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
 
LVL 10

Assisted Solution

by:Gajendra Rathod
Gajendra Rathod earned 83 total points
ID: 40548486
Please check %SYSTEMROOT%\Windowsupdate.log and find out error message in it.
0
 
LVL 95

Expert Comment

by:John Hurst
ID: 40575164
@ITSystemEngineer  - Thanks and I was happy to help with this.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question