none
Server Cleanup wizard logs file RRS feed

  • Question

  • Dear Team,

    I am using server clean up wizard in WSUS Server 2008 R2. but when i am trying to see the logs, i am not able to find any logs file. 

    So i want to get the log files for server clean up wizard in server 2008 R2.


    Tushar Bhardwaj

    Monday, June 12, 2017 5:28 AM

All replies

  • Hi Tushar Bhardwaj,

    There's no direct event log for WSUS server Cleanup Wizard.

    Why do you want to check the log for Server Cleanup Wizard? Do you meet an issue on the WSUS server.

    Best Regards,

    Anne


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


    Monday, June 12, 2017 7:27 AM
    Moderator
  • Hi Anne,

    Thanks for prompt response.

    No, i don't have any issue but i just want to check which machine has been removed mean to say machine name all that knowledge sake.


    Tushar Bhardwaj



    Monday, June 12, 2017 7:38 AM
  • Dear Team,

    Kindly update.


    Tushar Bhardwaj

    Monday, June 12, 2017 10:50 AM
  • I did quickly search about your doubt but unfortunately I didn't find any satisfactory answers about where it's this file log.

    But anyway I'll post some link, maybe help you:

    https://www.winvistatips.com/threads/re-where-are-the-wsus-logs.789576/

    https://social.technet.microsoft.com/Forums/windows/en-US/3968850f-9720-439c-88db-82c72f26c05d/wsus-server-cleanup-wizard?forum=winserverwsus

    https://social.technet.microsoft.com/Forums/windows/en-US/7b12f8b2-d0e6-4f63-a98a-019356183c29/getting-past-wsus-cleanup-wizard-time-out-removing-unnecessary-updates?forum=winserverwsus

    Monday, June 12, 2017 1:35 PM
  • No Dear, provided links have not enough information. 

    Thanks for response. 


    Tushar Bhardwaj

    Tuesday, June 13, 2017 5:12 AM
  • Hi Anne,

    Thanks for prompt response.

    No, i don't have any issue but i just want to check which machine has been removed mean to say machine name all that knowledge sake.


    Tushar Bhardwaj



    Hi Tushar Bhardwaj,

    There's no direct log to record it, as a workaround, if you use GPO to deploy WSUS clients, then you may check the computers in the OU that will apply the GPO and compare the computers in the WSUS server, the missed computers will be the WSUS clients deleted by Server Cleanup Wizard.

    Best Regards,

    Anne


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

    Wednesday, June 14, 2017 2:17 AM
    Moderator
  • If you use my WSUS Cleanup Script, it does NOT use the Server Cleanup Wizard to remove computers as that has a hardcoded removal of 30 days of no activity. Instead I have a routine that will remove the computers that have not communicated in a configurable amount of time (default of 30 days) and it will output all the information you're looking for if and when it removes computers from WSUS.

    Have a peek at my Adamj Clean-WSUS script. It is the last WSUS Script you will ever need.

    http://community.spiceworks.com/scripts/show/2998-adamj-clean-wsus

    What it does:

    1. Remove all Drivers from the WSUS Database.
    2. Shrink your WSUSContent folder's size by declining superseded updates.
    3. Remove declined updates from the WSUS Database.
    4. Clean out all the synchronization logs that have built up over time (configurable, with the default keeping the last 14 days of logs).
    5. Compress Update Revisions.
    6. Remove Obsolete Updates.
    7. Computer Object Cleanup (configurable, with the default of deleting computer objects that have not synced within 30 days).
    8. Application Pool Memory Configuration to display the current private memory limit and easily increase it by any configurable amount.
    9. Run the Recommended SQL database Maintenance script on the actual SQL database.
    10. Run the Server Cleanup Wizard.

    It will email the report out to you or save it to a file, or both.

    Although the script is lengthy, it has been made to be super easy to setup and use. There are some prerequisites and instructions at the top of the script. After installing the prerequisites and configuring the variables for your environment, simply run:

    .\Clean-WSUS.ps1 -FirstRun

    and then

    .\Clean-WSUS.ps1 -InstallTask

    If you wish to view or increase the Application Pool Memory Configuration, you must run it with the required switch. See Get-Help .\Clean-WSUS.ps1 -Examples

    If you're having trouble, there's also a -HelpMe option that will create a log so you can send it to me for support.


    Adam Marshall, MCSE: Security
    http://www.adamj.org

    Wednesday, June 14, 2017 3:50 AM