Save this, in notepad, as cleanup.bat and run from your desktop by right-clicking, and choose "run as administrator"... Quick, safe deletes old junk.
Save up to a gigabyte of old update garbage and associated locked files.
Any reasonably modern windows version.
- Code: Select all
net stop wuauserv
net stop bits
net stop cryptSvc
net stop msiserver
erase /F /S /Q c:\windows\softwaredistribution\*.*
rmdir /S /Q c:\windows\softwaredistribution
erase /F /S /Q c:\windows\System32\catroot2\*.*
net start wuauserv
net start bits
net start cryptSvc
net start msiserver