Jump to content

Windows Updates have not been working for at least 2 years - HELP!


Recommended Posts

Posted
I suspect I know what the answer will be to this, but are you able to run the System Update Readiness Tool for Windows Server 2008 R2?

 

Have not given this a go. It is on R2, just not SP1. I will try it next week when I have access to it again.

It is driving me mad. I am getting to the point where I am going to have to re-format it and start again which will have big consequences for the school. Only a primary, but they have a lot going on re ICT.

Posted

I'm guessing it is the only server. If it does come to that, consider installing a second DC first and transferring the roles over (if it will let you). That way you won't lose the Active Directory.

 

If you have no hardware available, even on a temporary basis, you could virtualise the existing server and install the second DC on the same box. You wouldn't need much spare memory either; DCs in Server 2008 R2 can easily get away with 1GB RAM. I've run Server Core DCs with less.

Posted
Have not given this a go. It is on R2, just not SP1. I will try it next week when I have access to it again.

It is driving me mad. I am getting to the point where I am going to have to re-format it and start again which will have big consequences for the school. Only a primary, but they have a lot going on re ICT.

 

Or tell them that on this one you need help. £200 to MS Support and they will have it rocking along in no time.

Posted
Or tell them that on this one you need help. £200 to MS Support and they will have it rocking along in no time.

 

 

 

Do you think they would? Have never used paid for Micro$oft Support.

Posted

At the risk of being shot down :) whenever I have an updating issue I run the following script which some kind lady (sadly I can't remember her name) gave me back in round about 2006. I think it needs refining a bit now but the old faithful seems to do the trick every time I call upon it.

 

net.exe stop wuauserv

cd /d %windir%

rd /s softwaredistribution

REGSVR32 %windir%\system32\wuapi.dll

REGSVR32 %windir%\system32\wuaueng1.dll

REGSVR32 %windir%\system32\wuaueng.dll

REGSVR32 %windir%\system32\wucltui.dll

REGSVR32 %windir%\system32\wups.dll

net.exe start wuauserv

Posted
Do you think they would? Have never used paid for Micro$oft Support.

 

Yes... Well they get it fixed.. But the interaction may be staggered over a couple of days. You'd need to place the call early in the day since you've not got a server down it would not go to the fast response team, and call back from the technical team would likely be several hours after you first raise it.

Posted
Would it be worth running Windows6.1-KB976932-X64.exe under the SYSTEM account (via psexec -s -i -d cmd.exe)?

 

Will give this a try when I am on the server this afternoon. Thanks for your suggestion.

 

At the risk of being shot down :) whenever I have an updating issue I run the following script which some kind lady (sadly I can't remember her name) gave me back in round about 2006. I think it needs refining a bit now but the old faithful seems to do the trick every time I call upon it.

 

net.exe stop wuauserv

cd /d %windir%

rd /s softwaredistribution

REGSVR32 %windir%\system32\wuapi.dll

REGSVR32 %windir%\system32\wuaueng1.dll

REGSVR32 %windir%\system32\wuaueng.dll

REGSVR32 %windir%\system32\wucltui.dll

REGSVR32 %windir%\system32\wups.dll

net.exe start wuauserv

 

Will give this a try this afternoon when I am back on the server.

Posted
At the risk of being shot down :) whenever I have an updating issue I run the following script which some kind lady (sadly I can't remember her name) gave me back in round about 2006. I think it needs refining a bit now but the old faithful seems to do the trick every time I call upon it.

 

net.exe stop wuauserv

cd /d %windir%

rd /s softwaredistribution

REGSVR32 %windir%\system32\wuapi.dll

REGSVR32 %windir%\system32\wuaueng1.dll

REGSVR32 %windir%\system32\wuaueng.dll

REGSVR32 %windir%\system32\wucltui.dll

REGSVR32 %windir%\system32\wups.dll

net.exe start wuauserv

 

I ran the script you suggested, it went well but two of the dll's failed to run. These are the details of the errors:

 

REGSVR32 %windir%\system32\wuaueng1.dll

Details:

The module "C:\Windows\system32\wuaueng1.dll" failed to load.

 

Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .dll files.

 

The specified module could not be found.

 

 

REGSVR32 %windir%\system32\wucltui.dll

Details:

The module "C:\Windows\system32\wucltui.dll" failed to load.

 

Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .dll files.

 

The specified module could not be found.

Would it be worth running Windows6.1-KB976932-X64.exe under the SYSTEM account (via psexec -s -i -d cmd.exe)?

 

Would you be able to give me a little further advice on how I can do this? It seems that psexec is for running something on a remote computer. Would I need to run this on a client system on the domain?

Posted

Are you running from an elevated cmd? Right click run as... Administrator.

 

Sometimes it helps even if you are logged on as admin, I have no idea why!

 

Kol.

Posted
Are you running from an elevated cmd? Right click run as... Administrator.

 

Sometimes it helps even if you are logged on as admin, I have no idea why!

 

Kol.

 

Yes, I was, but it made no difference. :(

Posted (edited)

The re-registering help I found has a load more in it and is for Vista but:

 

Method 5: Register Windows Update engine files

If the system DLL files that Windows Update requires to run have not been registered correctly on your system, you can have problems with Windows Update.

 

To register the files in Windows Vista, follow these steps:1.Click Start, type notepad in the Start Search text box, and then click Notepad in the Programs list.

2.Copy the following commands, and then paste them into the Notepad file that is opened:

 

NET STOP BITS

NET STOP WUAUSERV

REGSVR32 C:\WINDOWS\SYSTEM32\WUAUENG.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUAUENG1.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUAPI.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\ATL.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUCLTUI.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUPS.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUPS2.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\IUENGINE.DLL /U /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUWEB.DLL /U /S

REN "%WINDIR%\SOFTWAREDISTRIBUTION" "OLDSDVINOD"

REGSVR32 C:\WINDOWS\SYSTEM32\WUAUENG.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUAUENG1.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUAPI.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\ATL.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUCLTUI.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUPS.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\IUENGINE.DLL /S

REGSVR32 C:\WINDOWS\SYSTEM32\WUWEB.DLL /S

NET START BITS

NET START WUAUSERV

NET START CRYPTSVC

REGSVR32 VBSCRIPT.DLL /S

REGSVR32 JSCRIPT.DLL /S

REGSVR32 SCRRUN.DLL /S

REGSVR32 DISPEX.DLL /S

REGSVR32 MSSCRIPT.DLL /S

REGSVR32 SOFTPUB.DLL /S

REGSVR32 WINTRUST.DLL /S

REGSVR32 INITPKI.DLL /S

REGSVR32 URLMON.DLL /S

REGSVR32 DSSENH.DLL /S

REGSVR32 MSXML.DLL /S

REGSVR32 MSXML2.DLL /S

REGSVR32 MSXML3.DLL /S

REGSVR32 RSAENH.DLL /S

REGSVR32 GPKCSP.DLL /S

REGSVR32 SCCBASE.DLL /S

REGSVR32 SLBCSP.DLL /S

REGSVR32 CRYPTDLG.DLL /S

REGSVR32 MSSIP32.DLL /S

3.From Notepad, click File, click Save as, and then type register.bat.

4.Click Save as type, and then select All Files (*).

5.Save the register.bat file to your Desktop.

6.On your Desktop, right-click the register.bat file, and then click Run as Administrator.

 

If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.

7.Check for updates, and install the updates that you find.

 

UAYOR and YMMV obviously!

 

Edit: Source

 

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

 

Kol.

Edited by Koldov
Posted (edited)
Would it be worth running Windows6.1-KB976932-X64.exe under the SYSTEM account (via psexec -s -i -d cmd.exe)?

Hooray, this worked. Thanks for your suggestion.

Server has bounced and has SP1, but it is still refusing to run Windows Update :(

Same errors as before.

So now the server is on SP1 which is great, but it still has a whole lot of updates to install.

Edited by talksr
  • 2 weeks later...
Posted

 

These will not run, if I do psexec.exe -s -i -d Windows6.1-KB947821-v32-x64.msu

The errorshows: The system cannot find the file specified.

 

 

Its like UAC is broken.You can try running wuaulct /detectnow as the system account.

 

If I run elevated CMD it says: 'wuaulct' is not recognized as an internal or external command, operatable program or batch file.

Posted
That last one is a typo, it should be 'wuauclt', not 'wuaulct' :)

 

Just given it a go on elevated, no errors, no confirmation.

Not sure if it has worked or not. Time will tell I guess!

Posted
If nothing seems to happen on the server then checking WindowsUpdate.log in your Windows installation folder may help you figure out what's going on behind the scenes.
Posted
These will not run, if I do psexec.exe -s -i -d Windows6.1-KB947821-v32-x64.msu

The error shows: The system cannot find the file specified.

Type the full path to the MSU. e.g.

 

psexec.exe -s -i -d [b]C:\Updates\Windows6.1-KB947821-v32-x64.msu[/b]

Posted (edited)

 

Keep trying it, but all I get is the following:

C:\PSTools>psexec.exe -s -i -d C:\Windows6.1-KB947821-v32-x64.msu

 

PsExec v2.0 - Execute processes remotely

Copyright © 2001-2013 Mark Russinovich

Sysinternals - http://www.sysinternals.com

 

 

PsExec could not start C:\Windows6.1-KB947821-v32-x64.msu on SMCESSVR:

The system cannot find the file specified.

It is on the root, I did a dir and copied and pasted.

Have tried downloading a fresh copy in case it was corrupted, same problem. Tried downloading it from another system in case of permission problems, same problem again.

Properties on the file all look to be fine.

Edited by talksr

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...