Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I approved .net framework update on my WSUS server. Those updates have been pushed to the domain machines but have not been installed yet. They are waiting in the system tray waiting to installed.

This update should never have been approved. They update will cause custom enterprise software to stop running. I have made a mistake and need to reverse this process. How can I recall this update or stop it from running?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

The updates are stored in a cache in C:\Windows\SoftwareDistribution. By deleting the contents of the cache I was able to remove that update. First Windows Update service needed to be stopped.

I wrote a batch file to stop the service delete the cache on all servers.

The process works as follows.

Create .txt file with all the server name individually on one line.

Created .bat file called PurgeWsusCache.bat This is what the batch contains

net stop wuauserv
cd /d %windir%
rd /s /Q SoftwareDistribution
net start wuauserv

Created .bat file called Run.bat This is what the batch contains

@echo off
cd C:\scripts\PurgeWsusCache
psexec @computers.txt -c C:\scripts\PurgeWsusCache\PurgeWsusCache.bat

Run Run.bat

share|improve this answer
1  
Also, make sure that you decline the update in WSUS, else it will just pop-up again. Just for other users using this as a reference :) –  MichelZ Jul 17 '12 at 11:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.