Quantcast
Viewing all articles
Browse latest Browse all 12874

WSUS reinstall on 2012 SCCM server post-installation task fails to run/finish

I had to re-install WSUS on a 2012 R2 SCCM server (Windows 2012), and am running into several issues re-installing. It may help to point out that the SCCM SQL server is remote, so this isn't a WSUS / SQL 2012 issue.

The sticky post at the top of the WSUS forum has helpful troubleshooting information, and I have tried going through this as well as many other threads on this very topic of re-installing WSUS.

1. Roles for WSUS and WID were removed successfully. The WSUS Website was manually deleted from IIS. As this is a SCCM server, removing the IIS role is not an option.

2. I removed the existing WID database files for SUSDB

3. After rebooting, I verified registry keys were gone, system files were cleaned up, and deleted the program files\update services directory

4. This isn't a permission issue, as I have clearly installed this before on this server.

5. Registry keys, system files, and susdb files no longer exist, and the server has rebooted cleanly.

6. I am able to add the WSUS role selecting WID, and this installs WID without any errors. At this point, simply clicking the post installation task fails, generates an empty .tmp file in my %appdata%\temp folder, and exits the MMC. 

7. This file is blank. Absolutely empty, so I couldn't really troubleshoot any post installation tasks.

8. Further investigation shows that the 'C:\Program Files\Update Services\Tools\' directory is gone, and isn't being generated.

9. Ok... DISM /online /Cleanup-Image /Scanhealth didn't return any issues, so I copied the wsusutil out of the windows\WinSxS directory.

10. Yey! wsusutil postinstall runs, but bombs out on the IIS portion. It generated the DB without an issue, but results in an IIS generation error. So, I installed WSUS on a clean 2012 install, then copied over the program files\updateServices directory to reclaim the missing files. 

The log files show --

2013-12-06 10:30:34  Configuring IIS...
2013-12-06 10:30:35  Start: ConfigureWebsite
2013-12-06 10:30:36  Configuring website on port 8530
2013-12-06 10:30:39  System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Microsoft.UpdateServices.Administration.UseCustomWebSite.ExecuteIisCustomAction(String arguments)
   at Microsoft.UpdateServices.Administration.UseCustomWebSite.Install(Int32 portNumber)
   at Microsoft.UpdateServices.Administration.UseCustomWebSite.InstallAndConfigure(IisConfiguration& iisConfiguration, Int32 newPortNumber)
   at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
   at Microsoft.UpdateServices.Administration.PostInstall.Run()
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

... ok - tripple checked that network service has permissions to .net and windows\temp folders.

netstat -a doesn't show anything running on port 8530 ( in case this was some weird port check in use)

Which goes back to the missing directory problem -- further net searches show that this is a reoccurring issue for some OOBE... sfc /verifyonly shows ... nothing.

What is left to be done at this point? The missing folders from the program directory seems to be a problem for some with some users right out of the box. I have read many other threads where users just formatted and started over. Not exactly a solution - any help out there on this issue? Any suggestions to determine what file is missing, or generating the IIS issues?


Viewing all articles
Browse latest Browse all 12874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>