locked
How to completely remove old wsus settings - trying for a clean install RRS feed

  • Question

  • I have a 2012R2 server running wsus.

    What I would like to do is remove wsus and then start again with clean settings.

    What I have done so far is uninstall from server manager, rebooted, then reinstalled.

    However on reinstall, all the old settings were still there.

    So I can I uninstaall wsus, and then do a clean install on the same machine without the old data being recognized?

    or alternatively how can I reset the wsus database to reflect that the old data storare was deleted, i.e. so that wsus is aware that all previous updates have been deleted.

    regards

    roga

    Thursday, August 15, 2019 7:41 AM

Answers

  • Hi ROGA,
      

    It seems that you have completed most of the operations, but there is less processing of old data. Please try the following steps, this applies to WSUS using the WID database:
      

    1. Remove the following server roles and features through Server Manager:
      Roles: Windows Server Update Server
      Features: Windows Internal Database, Windows Server Update Services Tools(at Remote Server Administration Tools -> Role Administration Tools)
      Follow the wizard prompts to complete the deletion. Then restart the server.
         
    2. After the server is restarted, manually delete the folder or file of the following path:
      - C:\WSUS (this depends on where you choose to install WSUS)
      - C:\Program Files\Update Services
      - C:\Windows\WID
        
    3. In the IIS Information Services (IIS) Manager, manually remove the WSUS Administration site. Then restart the server. 
      Or, you can also consider using the Powershell command Remove-WebSite -Name "WSUS Administration" for deletion.  
        

    This completes the complete removal of WSUS and related content, and then you can install a new WSUS.
    Hope the above can help you.
       

    Regards,
    Yic

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, August 15, 2019 10:29 AM

All replies

  • Hello roga,

    You can refer to the following blog post for completely removing/reinstalling WSUS:
    How to Remove WSUS Completely and Reinstall it

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Thursday, August 15, 2019 7:48 AM
  • Hi ROGA,
      

    It seems that you have completed most of the operations, but there is less processing of old data. Please try the following steps, this applies to WSUS using the WID database:
      

    1. Remove the following server roles and features through Server Manager:
      Roles: Windows Server Update Server
      Features: Windows Internal Database, Windows Server Update Services Tools(at Remote Server Administration Tools -> Role Administration Tools)
      Follow the wizard prompts to complete the deletion. Then restart the server.
         
    2. After the server is restarted, manually delete the folder or file of the following path:
      - C:\WSUS (this depends on where you choose to install WSUS)
      - C:\Program Files\Update Services
      - C:\Windows\WID
        
    3. In the IIS Information Services (IIS) Manager, manually remove the WSUS Administration site. Then restart the server. 
      Or, you can also consider using the Powershell command Remove-WebSite -Name "WSUS Administration" for deletion.  
        

    This completes the complete removal of WSUS and related content, and then you can install a new WSUS.
    Hope the above can help you.
       

    Regards,
    Yic

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, August 15, 2019 10:29 AM
  • Thanks Leon
    That is most helpful
    Thursday, August 15, 2019 1:56 PM
  • Thanks Yic Lv
    That is the most complete answer, and very helpful

    Roga

    Thursday, August 15, 2019 1:57 PM