Freeing up disk space by cleaning up a WSUS server

I have a few customers that run Windows Small Business Servers, and with using the default configuration, the server’s hard drive space can be completely filled in a matter of months by old updates. ┬áThis is because of the WSUS (Windows Server Update Services) service that runs by default in SBS machines in order to keep all computers up to date and to prevent all of your computers from downloading the same updates over and over again.

However, if left unchecked, it could prevent your users from saving files, especially if you have folder redirection enabled.

It’s simple to reclaim the wasted disk space that has been used by the overzealous downloading of the WSUS server as long as you know what to do.

So for those who don’t know how to cleanup their WSUS server, I will provide some simple instructions on how to do so:

Continue reading “Freeing up disk space by cleaning up a WSUS server”

Fixing WSUS Updates for (improperly) imaged clients

Create a batch file, (call it whatever you want; ex. fixwsus.bat)

Place these lines in the batch file, and run on all machines that have been imaged improperly.

reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
cls
@echo Triggering detection after resetting WSUS client identity
net stop wuauserv
net start wuauserv
wuauclt /resetauthorization /detectnow