jodie gaver jodie gaver working with configuration manager since 2010 - working with configuration...
TRANSCRIPT
PowerPoint Presentation
System Center Configuration Manager 2012 R2
Jodie Gaver
- Working with Configuration Manager since 2010MCTS: Administering and Deploying System Center 2012 Configuration Manager Windows Server 2008 Active Directory ConfigurationMCP
This Presentation:
Software Updates / WSUS CleanupTroubleshooting and log files
After time the updates begin to pile uplets find a way to manage them Software Updates Cleanup
1.Navigate to the All Software Updates node under Software Library, and search for all expired updates.
2. Under Add Criteria check Expired then Add, leave the default value as Yes, and click search.
Cleaning up Expired Updates
3. The search results will include all of your expired updates, so simply select all updates in the list view (CTRL+A), right-click, and choose Edit Membership.
You will see a list of all Update Groups where any of the selected updates from the list view are members.
Simply uncheck the selected check boxes. (If you havent done this, it could take awhile)
5.Click OK to remove all of the expired updates from the selected Update Groups, and theyll be set for deletion 6. You can see expiration activity in logs, through wsyncmgr.log
Look for a line in the log that looks like the following:
7. Expired updates still show up in the console, but they are marked as expired, and have the following icon showing this state: They will remain in the console for 7 days following expiration.
5. After 7 days, expired updates that are not associated with active deployments, are tomb-stoned. This means they are no longer visible in the UI
Use wsyncmgr.log to view the removal of these updates: Deleting old expired updates... SMS_WSUS_SYNC_MANAGER 4/26/2015 12:06:16 AM Deleted 80 expired updates SMS_WSUS_SYNC_MANAGER 4/26/2015 12:06:20 AM Deleted 80 expired updates total SMS_WSUS_SYNC_MANAGER 4/26/2015 12:06:20 AM
7 days later
Cleanup on the WSUS Sever
* Recommended monthly, do not perform task during heavy load times (especially if you have never ran it)
Open Windows Server Update Services on the server you have the SUP Role installed on
Expand Update Services -> Server -> Options then select Server Cleanup Wizard
Choose what you want to cleanup
If you have never done this, you may want to do a step or 2 at a time
Before starting WSUS Cleanup Wizard
After starting WSUS Cleanup Wizard
After WSUS Server Cleanup Wizard is complete
who does anything manually if they can automate it?
WSUS cleanup with Powershell in a Basic Scheduled Task
On the WSUS Server, Create a Basic TaskName it something coolSet the Start date, Time (not peak hours), Select All Months and Day(s)
Start a ProgramCreate a Basic scheduled monthly task, Set the Start a Program to Powershell, paste the PS command into the Add Arguments box
Get-WsusServer | Invoke-WsusServerCleanup -CleanupObsoleteComputers -CleanupObsoleteUpdates -CleanupUnneededContentFiles -CompressUpdates -DeclineExpiredUpdates -DeclineSupersededUpdates
More on the Arguments here
Run if you dont want to wait
On the History tab you can see if it completed successfullyTroubleshootingTest it in PowerShell
Or Bing it!!For questions or to subscribe:
www.thejodie.net