-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Brandan
-
-
Would be great if we could copy and paste into the remote desktop connection. The only way you can do it at the moment is to paste into the chat box. Which can be awkward if its a password.
-
Any updates on this. If there is a script that can do this please post is here.
Script to empty SoftwareDistribution Folder. Clear out Windows updates.
in Batch
Posted
Here is a Batch script to empty the SoftwareDistribution Folder. It stops any installer processes in the background, temporarily disables the Windows Update Service, deletes everything in the Software Distribution folder then sets the Windows update service back to automatic and starts the service.
@echo off
CD C:\
taskkill /F /im setup.exe
taskkill /F /im ose00000.exe
taskkill /F /im msiexec.exe
sc config wuauserv start= disabled
net stop wuauserv
PowerShell.exe Remove-Item C:\Windows\SoftwareDistribution\* -Force -Recurse
sc config wuauserv start= demand
net start wuauserv