tucktech
asked on
WSUS removing updaes / cleanup
Hello, I just installed WSUS on a server 2008r2 system. In my original selections it took up over 145gb (English language only). I have since remove some categories and options and have run the cleanup but it has not yielded any cleanup.
When I go through the cleanup wizard it remove a couple 100 mb.
Any thought of how to make this cleanup work?
I figure I should only have about 50GB with Windows 7, Office 2010 and Office 2013 updates
When I go through the cleanup wizard it remove a couple 100 mb.
Any thought of how to make this cleanup work?
I figure I should only have about 50GB with Windows 7, Office 2010 and Office 2013 updates
Hi,
The Server Cleanup Wizard will remove the unneeded files and not touch the still needed files. You may wait for 1 more week and attempt another cleanup and see the size getting reduced.
If none of them helped, delete the content store and reset WSUS using "WSUSutil.exe reset" command. Ofcource, it will again download whole updates but downloads only whatever been selected.
The Server Cleanup Wizard will remove the unneeded files and not touch the still needed files. You may wait for 1 more week and attempt another cleanup and see the size getting reduced.
If none of them helped, delete the content store and reset WSUS using "WSUSutil.exe reset" command. Ofcource, it will again download whole updates but downloads only whatever been selected.
You'll want to clean up Windows Updates as well as the Windows Internal Database (technically reindexing)
https://gallery.technet.microsoft.com/scriptcenter/fd39c7d4-05bb-4c2d-8a99-f92ca8d08218
https://gallery.technet.microsoft.com/ScriptCenter/6f8cde49-5c52-4abd-9820-f1d270ddea61/
Very good article of how to keep WSUS clean:
http://blog.coretech.dk/kea/house-of-cardsthe-configmgr-software-update-point-and-wsus/
https://thwack.solarwinds.com/community/application-and-server_tht/patchzone/blog/2013/01/14/wsus-timeout-errors--when-and-why-eliminating-and-avoiding
https://gallery.technet.microsoft.com/scriptcenter/fd39c7d4-05bb-4c2d-8a99-f92ca8d08218
https://gallery.technet.microsoft.com/ScriptCenter/6f8cde49-5c52-4abd-9820-f1d270ddea61/
Very good article of how to keep WSUS clean:
http://blog.coretech.dk/kea/house-of-cardsthe-configmgr-software-update-point-and-wsus/
https://thwack.solarwinds.com/community/application-and-server_tht/patchzone/blog/2013/01/14/wsus-timeout-errors--when-and-why-eliminating-and-avoiding
Remove unwanted languages, superseded patches etc in the console. This should trim the DB.
As for the content, delete it and let WSUS redownload it. Sounds a bit extreme but this is the recommended way.
As for the content, delete it and let WSUS redownload it. Sounds a bit extreme but this is the recommended way.
==================================== ========== =======
1) Correct any settings above or disapprove any unneeded updates.
2) Close any open WSUS consoles.
3) Go to Administrative Tools – Services and STOP the Update Services service.
4) In Windows Explorer browse to the WSUSContent folder (typically D:\WSUS\WSUSContent or C:\WSUS\WSUSContent)
5) Delete ALL the files and folders in the WSUSContent folder.
6) Go to Administrative Tools – Services and START the Update Services service.
7) Open a command prompt and navigate to the folder: C:\Program Files\Update Services\Tools.
8) Run the command WSUSUtil.exe RESET
http://blogs.technet.com/b/gborger/archive/2009/02/27/what-to-do-when-your-wsuscontent-folder-grows-too-large.aspx
==================================== ========== ========== ========== ========== ==
ASKER
Hello, I have tried all the solutions EXCEPT the last one from Nagendra Pratap Singh. I will try this this weekend. If it does not work, I will remove WSUS and start over...
Thanks,
Tony
Thanks,
Tony
What type of database you using?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
@echo off
del c:\util\cleanup_history.tx
c:\util\wsus_cleanup_cl server10 f 80 superseded expired obsolete compress computers files
Exit
here is the link for the program
http://wsus.codeplex.com/releases/view/17612
this works great