Skip to main content
Home
badllama.com
  • Search
  • Log In

Windows Disk Space Tricks

cpeters's picture

Tue, 08/14/2012 - 17:57 by cpeters

Remove the patch cache

reg add HKLM\Software\Policies\Microsoft\Windows\Installer /v MaxPatchCacheSize /t REG_DWORD /d 0 /f
rmdir /q /s %WINDIR%\Installer\$PatchCache$

You must stop the Windows Installer service for the change to take effect.

Remove the patch cache
Registry Key Reference

Move the CSC (client-side caching) directory

1. Set this registry key HKLM\System\CurrentControlSet\Services\CSC\Parameters\MigrationParamters, REG_DWORD, 1
2. Run the Windows 7 migration wizard. 
3. After it has scanned the data you will see a “Customize” link; click that & make sure “Windows Settings” is checked for all the items displayed in the list
4. After you have collected the data, set the registry to specify the new cache location.

HKLM\System\CurrentControlSet\Services\CSC\Parameters\CacheLocatio, String, \??\:\Folder; example \??\D:\CSCCache

5. Reboot the machine
6. Run the Windows 7 migration wizard & apply the gathered files.
7. Reboot the machine. 

Reference

Powered by Backdrop CMS