We help IT Professionals succeed at work.

WSUS 3.0 SP2 Installation Problem

HarleyITGuy
HarleyITGuy used Ask the Experts™
on
Hello to all Experts,
I am hoping that one of you can assist me with an issue with my WSUS server. This server also serves as my secondary Domain Controller, and my backup DNS server.
Last week one of my drives began to fail on this server, and I had to replace the drive. There are 3 146 GB drives in the server configured in a raid configuration, so I was lucky enough that after replacing the drive it rebuilt itself.
Afterwards I opened my WSUS 3.0 SP2 console, and noticed that the last time the server has synchronized with Microsoft Update was June 24th. So I attempted to synchronize manually. I let the synchronization run for about 12 hours (even though this usually takes less than a half hour) and the synchronization stayed stuck at 0%.
I looked at my last time I had run updates on this server (turned out to be June 24th) and noticed that .net framework version 4.0 had been installed on this date. I then attempted to uninstall the .net framework, thinking that this could be the issue, and then restarted the server after uninstalling .net framework 4.0 successfully.
I then attempted to run the synchronization from WSUS again and still stuck at 0%. I checked the event logs and did not see anything with regards to synchronization failing.
I then uninstalled WSUS, from Control Panel, and made sure I kept the databases and then restarted thee server, and attempted to reinstall WSUS, but now WSUS will not reinstall. There have been no other versions of WSUS installed on this server, so this was never an upgrade in case anybody wonders if this was an upgrade from an older version of WSUS.
The error message I get when reinstalling WSUS is the following:
Windows Server Update Services 3.0 SP2 could not be installed. For more information, see the Setup log "C:\DOCUME~1\ADMINI~1.STA\LOCALS~1\Temp\1\WSUSSetup.log".
Here is a copy of the setup log”
2010-07-04 09:40:59  Success   MWUSSetup          Validating pre-requisites...
2010-07-04 09:42:14  Error     MWUSSetup          Failed to determine if an higher version of WSUS is installed. Assuming it is not... (Error 0x80070002: The system cannot find the file specified.)
2010-07-04 09:43:19  Success   MWUSSetup          Initializing installation details
2010-07-04 09:43:19  Success   MWUSSetup          Installing ASP.Net
2010-07-04 09:44:12  Success   MWUSSetup          ASP.Net is installed successfully
2010-07-04 09:44:12  Success   MWUSSetup          Installing wYukon using MSI on Win2k3
2010-07-04 09:44:12  Success   MWUSSetup          wYukon is already installed on this machine
2010-07-04 09:44:12  Success   MWUSSetup          Installing WSUS...
2010-07-04 09:44:33  Success   CustomActions.Dll  Unable to get INSTALL_LANGUAGE property, calculating it...
2010-07-04 09:44:33  Success   CustomActions.Dll  Successfully set propery of WSUS admin groups' full names
2010-07-04 09:44:43  Success   CustomActions.Dll  .Net framework path: C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
2010-07-04 09:44:45  Success   CustomActions.Dll  Creating user group: WSUS Reporters with Description: WSUS Administrators who can only run reports on the Windows Server Update Services server.
2010-07-04 09:44:45  Success   CustomActions.Dll  Creating WSUS Reporters user group
2010-07-04 09:44:45  Success   CustomActions.Dll  WSUS Reporters user group already exists
2010-07-04 09:44:45  Success   CustomActions.Dll  Successfully created WSUS Reporters user group
2010-07-04 09:44:45  Success   CustomActions.Dll  Creating user group: WSUS Administrators with Description: WSUS Administrators can administer the Windows Server Update Services server.
2010-07-04 09:44:45  Success   CustomActions.Dll  Creating WSUS Administrators user group
2010-07-04 09:44:45  Success   CustomActions.Dll  WSUS Administrators user group already exists
2010-07-04 09:44:45  Success   CustomActions.Dll  Successfully created WSUS Administrators user group
2010-07-04 09:44:45  Success   CustomActions.Dll  Successfully created WSUS user groups
2010-07-04 09:44:45  Success   CustomActions.Dll  Succesfully set binary SID property
2010-07-04 09:44:45  Success   CustomActions.Dll  Succesfully set binary SID property
2010-07-04 09:44:45  Success   CustomActions.Dll  Successfully set binary SID properties
2010-07-04 10:01:49  Error     MWUSSetup          InstallWsus: MWUS Installation Failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 10:01:49  Error     MWUSSetup          CInstallDriver::PerformSetup: WSUS installation failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 10:01:49  Error     MWUSSetup          CSetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 10:13:10  Error     MWUSSetup          CWatsonHelper::Init: Failed to load WER library. (Error 0x8007007E: The specified module could not be found.)
2010-07-04 10:13:10  Error     MWUSSetup          CSetupDriver::ReportFailure: Failed to initalize the CWatsonHelper.  This is expected on pre-Vista machines. (Error 0x80004005: Unspecified error)
2010-07-04 10:13:10  Error     MWUSSetup          DoInstall: Wsus setup failed (Error 0x80070643: Fatal error during installation.)
If anyone can assist with this issue it will be greatly appreciated:
Thank you,
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
What version of SQL you using? IIS running?
Mohamed KhairyEnterprise Solutions Architect

Commented:
I had the same issue before after I uninstalled WSUS SP1 and reinstalled it , I got the same error.  

Install a newer version from Windows Installer or follow the below steps:

On the WSUS server manually run a windows update for the server itself and select "custom" not "express" . Then in other software in the left panel select the Windows Installer----->Download and install the new installer---->Reboot and then re-install WSUS SP2.

Hope this helps.  Please post your results.

Regards,
MKhairy
Mohamed KhairyEnterprise Solutions Architect

Commented:

If the previous solution is not works, try to run the Lodctr from the command line as follow :

C:\Windows\System32>lodctr /R

It will rebuild the performance registry strings and info from scratch.

Please post your results.
Regards,
MKhairy

Author

Commented:
Yes IIS is running, and I have restarted it several times. As far as the SQL version installed on this server, it is what ever version that was installed with WSUS but if you can point me in the right direction, I am hoping I can give you more information on the version type. The sqlwriter.exe file has a version # of 9.00.4035.00.
mkhaiiry, I tried what you asked with regards to running Windows Update from the server itself, and ran as custom (I always do that anyway to install updates to my servers one by one) but here is no "other" in the laft hand pane, after it completes. The only update I am being offers is .net 4.0 as a optional update, so if I am going to try this I need to know where the windows installer is to download it for Windows 2003 64 bit R2 service pack 2, so if you can point me in the right direction for that I would appreciate it.
dstewartjr: Will the instructions you gave me uninstall my database of all my previous updates that have been downloaded via WSUS synchronization?
I had attempted to run lodctr /R command, and tried to perform the WSUS install again, but received the same error message.
Mohamed KhairyEnterprise Solutions Architect

Commented:
Also, please let me knowyour database is it WID " Windows Internal Database" or SQL?

If it's SQL, please specify the version.
DonNetwork Administrator

Commented:
Sometimes it's just better(easier)  to redownload/synch again

Author

Commented:
Well I installed the new MS Installer, restarted, and tried to reinstall WSUS and still the exact same issue. I have now gone to using the Winows Cleanup Utility, and the instructions state to use the clean up utility to first uninstall the WSUS, but WSUS does not exist in the list. I will go thorugh the rest of it and see what happens.

Author

Commented:
OK I have gone ahead and followed the instructions to compoletley remove WSUS (and now all my databases are gone damit lol) but now when I attempt to reinstall I get the following error messgage.
"An instance with the same name is already installed on the computer. To Proceed with SQL Server Setup, proved a unique instance name"
Windows Server Update Services 3.0 SP2 could not install Windows Internal Database. For more information, see the Setup logs
Here are the setup logs:
2010-07-04 14:13:21  Success   MWUSSetup          Validating pre-requisites...
2010-07-04 14:14:37  Error     MWUSSetup          Failed to determine if an higher version of WSUS is installed. Assuming it is not... (Error 0x80070002: The system cannot find the file specified.)
2010-07-04 14:14:51  Success   MWUSSetup          No SQL instances found
2010-07-04 14:15:07  Success   MWUSSetup          Initializing installation details
2010-07-04 14:15:07  Success   MWUSSetup          Installing ASP.Net
2010-07-04 14:15:58  Success   MWUSSetup          ASP.Net is installed successfully
2010-07-04 14:15:58  Success   MWUSSetup          Installing wYukon using MSI on Win2k3
2010-07-04 14:15:58  Success   MWUSSetup          Installing wYukon...
2010-07-04 14:19:02  Error     MWUSSetup          InstallWyukon: wYukon Installation Failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:19:03  Error     MWUSSetup          CInstallDriver::PerformSetup: Installation of wYukon failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:19:03  Error     MWUSSetup          CSetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:19:10  Error     MWUSSetup          CWatsonHelper::Init: Failed to load WER library. (Error 0x8007007E: The specified module could not be found.)
2010-07-04 14:19:10  Error     MWUSSetup          CSetupDriver::ReportFailure: Failed to initalize the CWatsonHelper.  This is expected on pre-Vista machines. (Error 0x80004005: Unspecified error)
2010-07-04 14:19:10  Error     MWUSSetup          DoInstall: Wsus setup failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:21:28  Success   MWUSSetup          Validating pre-requisites...
2010-07-04 14:21:30  Error     MWUSSetup          Failed to determine if an higher version of WSUS is installed. Assuming it is not... (Error 0x80070002: The system cannot find the file specified.)
2010-07-04 14:21:35  Success   MWUSSetup          No SQL instances found
2010-07-04 14:22:25  Success   MWUSSetup          Initializing installation details
2010-07-04 14:22:25  Success   MWUSSetup          Installing ASP.Net
2010-07-04 14:23:15  Success   MWUSSetup          ASP.Net is installed successfully
2010-07-04 14:23:15  Success   MWUSSetup          Installing wYukon using MSI on Win2k3
2010-07-04 14:23:15  Success   MWUSSetup          Installing wYukon...
2010-07-04 14:25:42  Error     MWUSSetup          InstallWyukon: wYukon Installation Failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:25:42  Error     MWUSSetup          CInstallDriver::PerformSetup: Installation of wYukon failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:25:42  Error     MWUSSetup          CSetupDriver::LaunchSetup: Setup failed (Error 0x80070643: Fatal error during installation.)
2010-07-04 14:26:09  Error     MWUSSetup          CWatsonHelper::Init: Failed to load WER library. (Error 0x8007007E: The specified module could not be found.)
2010-07-04 14:26:09  Error     MWUSSetup          CSetupDriver::ReportFailure: Failed to initalize the CWatsonHelper.  This is expected on pre-Vista machines. (Error 0x80004005: Unspecified error)
2010-07-04 14:26:09  Error     MWUSSetup          DoInstall: Wsus setup failed (Error 0x80070643: Fatal error during installation.)
DonNetwork Administrator

Commented:
To uninstall Windows Internal Database
Open a command shell.

Call  msiexec with the correct key for the operating system  platform.


 On 32-bit platforms: msiexec /x  {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} callerid=ocsetup.exe

 On 64-bit platforms: msiexec /x  {BDD79957-5801-4A2D-B09E-852E7FA64D01} callerid=ocsetup.exe


Author

Commented:
OK I tried that copied and pasted just like you stated,
C:\Documents and Settings\Administrator.STARKAUTO>msiexec /x  {BDD79957-5801-4A2
D-B09E-852E7FA64D01} callerid=ocsetup.exe

Message comes up  Are you sure you want to Uninstall this product?
I click Yes and then I recieve the following message"
This action is only valid for products that are currently installed

Any Ideas?
DonNetwork Administrator

Commented:
From the error you're getting



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

Author

Commented:
I tried that and get the following:
C:\Documents and Settings\Administrator.STARKAUTO>sqlcmd -i C:\GrantPermission.s
ql
'sqlcmd' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator.STARKAUTO>osql -E -i C:\GrantPermission.
sql
'osql' is not recognized as an internal or external command,
operable program or batch file.
Any other ideas?
Enterprise Solutions Architect
Commented:
Go to HKEY_LOCAL_MACHINE\Software\Microsoft and rename Microsoft SQL Server,
I suggest to rename it to OLDMicrosoft SQL Server Then go to folder %ProgramFiles% and rename Microsoft SQL Server , I suggest to  rename it to OLDMicrosoft SQL Server after this try to reinstall wsus again and share your result.
DonNetwork Administrator

Commented:
You're getting that error because sqlcmd and osql are not located in the system32 directory, you should be able to find them both in "C:\Program Files\Microsoft SQL Server\90\Tools\Binn"

Author

Commented:
Bummer, I do not know if this is due to the fact that I have uninstalled what I assume is everythin under the sun both through control panel, Windows Install Clean Up, and through the registry by following the directions at http://blogs.technet.com/b/sus/archive/2008/11/05/how-to-manually-remove-all-of-wsus.aspx
But the folders that you spoke of no longer exist on either my C drive or my D drive.
Mohamed KhairyEnterprise Solutions Architect

Commented:
Did you try the my pevious suggestion, if its not works so take a look at this document, it may help:

http://kb.desco-soft.com/pdf.php?articleid=2

DonNetwork Administrator

Commented:
Are you trying to install from a share?


http://msmvps.com/blogs/Athif/articles/66059.aspx
DonNetwork Administrator

Commented:
Check the registry for the key
 HKLM\Software\Microsoft\Update  Services\Server\Setup
 
 and change the value of  "wYukonInstalled" to 0x0 and ensure that
 "SqlInstanceIsRemote" = 0x0
DonNetwork Administrator

Commented:
Another thing not mentioned to try


uninstall IIS and reinstall IIS with ASP.NET
Mohamed KhairyEnterprise Solutions Architect

Commented:
You said before that this server is working as an additional dc and  secondary dns so I believe that it is better that you demote the additional dc aand re install the server from the scratch and then make it additional dcand then go with a clean and fresh installation of WSUS because you have many of the problems that were occured and need to be repaired and you will not be comfortable with them even if its repaired.

I recommend this solution to save your time and effort.

Regards,
MKhairy
Mohamed KhairyEnterprise Solutions Architect

Commented:
You can use the attached document on your installation.
WSUS30StepbyStep.pdf
DonNetwork Administrator

Commented:
"re install the server from the scratch"

This is something as a professional that I never recommend, this is fixable.

Author

Commented:
OMG it worked!!!! Holy Smoke seems like I have been working on this forever!!! Renaming the registry entry for SQL, and renaming the folder is apparently what worked as after I did that, and rebooted the server, and away it went. Now the real work begins with approving updates and all that fun stuff. Even though I am not sure if I really need to approve any other than new ones, as when ever I rebuild a client or build a new one, I update the machine directly with Microsoft Update.
Now I have one other small favor. The Server is Synchronizing with MS Update right now (81%) but I have my clients communicating with WSUS server on port 8530. Now that I have had to reinstalled and I know the default is port 80, do anyone of you know where I make that change? Thanks again for all for your assistance.
DonNetwork Administrator

Commented:
You make that change in your gpo under specify intranet location
DonNetwork Administrator

Commented:
You will most likely after the clients pick up the new gpo, have to run on clients


wuauclt /resetauthorization /detectnow
Mohamed KhairyEnterprise Solutions Architect

Commented:
We are here to help each other and not to mock on the opinion of any person whatever he said.... and I prefer this solution because I think that this server is in a producction environment not on a lab and the admin have a challenge to solve the issue.

Also, all the roles installed on the server can be reinstalled without any problems or risks and this will save his time and effort.

Finally the final desicion is up to him and the from the pofessionalism is to express your opinion without mock from others.

Regards,
Mkhairy
Mohamed KhairyEnterprise Solutions Architect

Commented:
Congratulations Harley :)))

Author

Commented:
Did I mock someone? I am so sorry if I did as both of you that have been assisting me have been wonderful. I may mock myself for sure and some times I can be a real numnuts. So back to the issue at hand, do I need to re-setup my Group Policy, as te server name has not changed. If I am asking to much let me know if I should open another question but this is what I get when I run the Client diagnostic tool on one client after a gpupdate /force
WSUS Client Diagnostics Tool

Checking Machine State
        Checking for admin rights to run tool . . . . . . . . . PASS
        Automatic Updates Service is running. . . . . . . . . . PASS
        Background Intelligent Transfer Service is running. . . PASS
        Wuaueng.dll version 7.4.7600.226. . . . . . . . . . . . PASS
                This version is WSUS 2.0

Checking AU Settings
        AU Option is 4: Scheduled Install . . . . . . . . . . . PASS
                Option is from Policy settings

Checking Proxy Configuration
        Checking for winhttp local machine Proxy settings . . . PASS
                Winhttp local machine access type
                        <Direct Connection>
                Winhttp local machine Proxy. . . . . . . . . .  NONE
                Winhttp local machine ProxyBypass. . . . . . .  NONE
        Checking User IE Proxy settings . . . . . . . . . . . . PASS
                User IE Proxy. . . . . . . . . . . . . . . . .  NONE
                User IE ProxyByPass. . . . . . . . . . . . . .  NONE
                User IE AutoConfig URL Proxy . . . . . . . . .  NONE
                User IE AutoDetect
                AutoDetect not in use

Checking Connection to WSUS/SUS Server
                WUServer = http://STARK-DC2:8530
                WUStatusServer = http://STARK-DC2:8530
        UseWuServer is enabled. . . . . . . . . . . . . . . . . PASS

VerifyWUServerURL() failed with hr=0x80072efd

A connection with the server could not be established


Press Enter to Complete
DonNetwork Administrator

Commented:
Not sure where there was any mocking???

And I stand by never reinstalling the OS, just because of an application difficulty.
DonNetwork Administrator
Commented:
0x80072efd is because of your gpo still using the wrong port
DonNetwork Administrator

Commented:
Mohamed KhairyEnterprise Solutions Architect

Commented:
@ Harley: no you didn't and as I said before we are all here to help each other.

@ dstewartjr: I felt that when you comment on my recommendation and said its a flixable ...and I am agree with you that we have to trouble shoot but I found that the prolem  has taken too much time and if he start over he can finish it within a less time.

now, let's go back and solve the issue :)))

Harley, you have to change the old url to the new one through GPO.

Review your GPO and search for a policy named specify intranet microsoft update location.
Mohamed KhairyEnterprise Solutions Architect

Commented:
:))))))))))) I posted it late...

Author

Commented:
Hi and thanks again for your so very quick responses. So i wnwt and looked at my GPO and this is what I have:
(I hope I have added the image correctly on here???)
Because this appears to be correct, do I not have to make the port 8530 change somehwere in IIS or in the WSUS console? It has been awhile since I set this up and I cannot remember where I set this up. Or do I have ti create a whoe new GPO for Windows Update?
Thank you again in advance

GPO-Image-1.JPG
Mohamed KhairyEnterprise Solutions Architect

Commented:
Try to change the site to be: https instead of http and check if you can brower https://STARK-DC:8530/SimpleAuthWebService/SimpleAuth.asmx and https://STARK-DC:8530/selfupdate/wuident.cab correctly from clients.Then, disable firewall temporarily to see if it works at this time.

Author

Commented:
OK I modified the GPO and RDP to on of the clients, and tried the https site like you stated, and it cannot find the page for the 1st or second site, so I went ahead and tried to access both the websites via the web browser on port 80 instead of port 8530. When I go to http://STARK-DC2:80/selfupdate/wuident.cab (as you can see I took the s out of https as I could not get to the sites via HTTPS and windows firewall be default in Group Policy is disabled) and it take me to my Server and opens the folder for the wuident.cab files. When I go to  http://STARK-DC2:80/SimpleAuthWebService/SimpleAuth.asmx it brings me up to a page asking me to a Simple Auto Page and has 2 options on the page ping get Authorization cookie etc...
Any thoughts? I thought I remembered somewhere in IIS or in the config of WSUS I had to make a change to the port number.
Mohamed KhairyEnterprise Solutions Architect

Commented:
Thats mean that you installed the new wsus on the default website. i.e, port 80

all what you need to do now is to change the site on your gpo to be: http://STARK-DC2

Author

Commented:
Thank you, Thank you, Thank you!!!!!!!!!!!!!!
Your help was incredible, and if I could award both of you a million points I would. I now have so far 2 clients out of 130 showing up, when I see a few more, well then it is off to the races to close this one out. Once again I cannot tell you how much help both of you have been!!!
DonNetwork Administrator

Commented:
isnt that what I said here ID:33134555    and here  ID:33134569   ?
DonNetwork Administrator

Commented:
Glad to help Harley
DonNetwork Administrator

Commented:
Oh, hey Harley

forgot to mention I'm a Wisconite my self  :)

Author

Commented:
Where abouts? I live in New Lisbon,WI and work all over hell and back from Madison, Waukesha, Wausau, Merrill
Mohamed KhairyEnterprise Solutions Architect

Commented:
I am really happy for you Harley,

@ dsdtweartjr: this question is one of the longest questions I have ever participated since my registration and  I really enjoyed your answers.

Regards,
MKhairy
DonNetwork Administrator

Commented:
Milwaukee and do some traveling to other branches in Appleton, Madison, Chilton to name a few
DonNetwork Administrator

Commented:
@MKhairy Welcome to EE!!!


I'm sure you will enjoy your stay....I've been involved in some doosy's myself that went over 100 comments

Author

Commented:
Well I have now 36 machines that are showing up is my WSUS console, and 8 of them have already reported status. I cannot thank the 2 of of you enough, and on the 4th of July at that. I know that IT people work crazy hours, but to have the 2 of you out here assiting me was something I honelstly never expected. I was out here dying and the 2 of you came to my rescue for sure. Once again thank you som much!!
Harlyitguy

Author

Commented:
The 2 EXPERTS (I say that with caps as they were both professional and terriific). They assisted me on so many levels if I could offer them both a Trillion points each I would. Thanks to both of you for your wonderful assistance. Now I can sleep tonight!!
Mohamed KhairyEnterprise Solutions Architect

Commented:
Than you so much, Harley
DonNetwork Administrator

Commented:
Once again, glad to help.....Did my 4th of July yesterday.....That's why I had some time today :)

Author

Commented:
Some time???? You both spen pretty much all day with me on this one. It was without a doubt my best experience out here on Experts Exchange ever!!!