3 ms·
psexec -i -s cmd cd %tmp% del * /s cd C:\Windows\SoftwareDistribution del * /s exit
by 1970-01-01 2y ago
psexec -i -s cmd
cd %tmp%
del * /s
cd C:\Windows\SoftwareDistribution
del * /s
exit
- pknomad 2y agoI presume that's what deletes the cache... but I see this from the article: > Microsoft is preparing a patch to solve the problem, which should be rolled out as part of an upcoming update. Until then, you should leave the Windows Update cache untouched. It really isn’t worth the hassle of reinstalling Windows just to clear those files.
- poizan42 2y agoDoes it work? You may need the TrustedInstaller SID in your token in order to succeed (and possibly enable the SeRestorePrivilege)
- navjack27 2y agoI'm sorry, but literally do not do this Unless you eventually want a seriously borked up Windows install.