WSUS Reinstallation Fails

Answered WSUS Reinstallation Fails

  • Tuesday, March 19, 2013 3:44 PM
     
      Has Code

    Hi,

    I 'm trying to resolve an issue with WSUS installed on Server 2012. 

    I've deleted WSUS for reconfiguration, but it after installation it had the sam configuration so I decided to manually remove all WSUS junk from system using recomendations from this thread http://social.technet.microsoft.com/Forums/ru-RU/winserverwsus/thread/f447e7d6-7007-4eb6-b38b-90f92525e092 

    After steps described in this artile I can't install WSUS because postInstallation tasks fail with:

    2013-03-19 19:23:45  Value is C:\Program Files\Update Services
    2013-03-19 19:23:45  Swtching DB to multi-user mode......
    2013-03-19 19:23:46  Finished setting multi-user mode
    2013-03-19 19:23:46  Writing DB settings to registry...
    2013-03-19 19:23:46  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2013-03-19 19:23:46  Configuring IIS...
    2013-03-19 19:23:46  Start: ConfigureWebsite
    2013-03-19 19:23:46  Configuring website on port 8530
    2013-03-19 19:23:46  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)
    

    I've already found this thread http://social.technet.microsoft.com/Forums/en-US/winserverwsus/thread/e1315264-c8f8-4d90-9892-330a04ac2753 but i don't have SCCM installed on this server.

    Can anybody help with this problem?

All Replies

  • Wednesday, March 20, 2013 8:06 AM
     
     
    Has anybody any ideas?
  • Thursday, March 21, 2013 2:01 AM
    Moderator
     
     
    Has anybody any ideas?

    Re-do the uninstallation instructions in the cited post, and then physically remove the WSUS Administration v-root from IIS.

    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    SolarWinds Head Geek
    Microsoft MVP - Software Distribution (2005-2013)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Thursday, March 21, 2013 6:23 AM
     
     

    Thank you for response.

    I did it many times, and now WSUS Administration v-root is missing after WSUS installation. It's a magic.

  • Tuesday, March 26, 2013 10:00 AM
     
     Answered Has Code

    I've resolved an issue with WSUS reinstallation.

    I fixed it in this way:

    1. At first I deleted all related roles such as: WSUS, WID, IIS; and all related features

    2. I've deleted all WSUS and IIS related folders on Server (%windir%\system32\inetsrv; %systemdrive%\Program Files\Update Services; %systemdrive%\inetpub; %windir%\wid)

    3. Copied "inetsrv" folder from another Server 2012

    4. Used DISM to Enable needed features:

    DISM /Online /Enable-Feature /FeatureName:UpdateServices /All

    5. When previous command finished I had WSUS installed and there were only one step to finish repairing

    "C:\Program Files\Update Services\Tools\WsusUtil.exe" postinstall content_dir=Your_WSUSContent_Folder_PATH 

    Yep! WSUS has just been repaired. 

    I just can't figure out why "Add roles and features" wizard and PowerShell "Enable-WindowsFeature" cmdlets didn't work.


    • Marked As Answer by MRNiyazmatov Tuesday, March 26, 2013 10:00 AM
    • Edited by MRNiyazmatov Tuesday, March 26, 2013 10:02 AM Mistakes
    •