Windows Installer – free up disk space without losing anything

It is possible to move the folder C:\Windows\Installer (which tends to get quite large). The process is to copy the folder to another drive, then create a link from the new location to the old location so Windows thinks nothing has changed.

The process below does this ‘safely’ so you can reverse the change if something goes wrong. You can delete the Installer.X folder when you’re ready. x: can be any accessible drive.

attrib -h -s C:\Windows\Installer
xcopy /s /h /o  C:\Windows\Installer x:\Windows\Installer
ren C:\Windows\Installer C:\Windows\Installer.X
mklink /D C:\Windows\Installer x:\Windows\Installer

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *