This folder is taking up nearly a GB of my C partition. Is it possible to just delete it?
From research this folder can be safely deleted, however you MUST NOT delete the top level “Installer” folder “C: WINDOWS Installer” (only the sub-folders inside it) A quick method for deleting this directory is. Sep 21, 2017 - You can easily delete installer patch files on Windows 10. In this way you can smartly manage the Windows system files and. The installer patch files on Windows 10 are located under 'C:WindowsInstaller$PatchCache$'. Nov 10, 2011 which once they are installed, it is fine. It is only every used if you needed to re-install a specific patch, which if you have a WSUS server, will have it's own cache for clients anyhow.
9 Answers
I think it should be safe to remove the files, provided you're able to download them again in future if they're needed or if you have access to your original install disks. I had something similar on my computer, I just deleted it and install things from the original disk every time it asks me now. Inconvenient, yeah; but I don't often install stuff and it's a lot better than having a whole ton of space on my hard drive wasted.
Heath Stewart's The Patch Cache and Freeing Space on MSDN blogs explains in detail. An excerpt:
[..] cause the Windows Installer service to cache any of the original files being replaced into the baseline cache. [..] It is this baseline cache that consumes a lot of drive space on the system drive after installing [..] The baseline cache facilitates patch uninstall by storing the original files so that they can be copied back to the target locations.
[..] by removing the baseline cache for a product, future repair, patch install, and patch uninstall scenarios may require your original installation media. If you have the drive space it is recommended that you keep the baseline caches available.
You could also try the MSIZAP utility from Microsoft. It has a 'safe' option, 'G'.
What I do for this folder is revisit it every now and then and only delete packages in there that are at least six months old. This way, if there's a bad patch that I need to roll back, I can usually still do it.
Is it possible? Yes.Should you? Probably not, if you don't have to. Windows Installer keeps those files around because it think they're needed if you ever have to install another patch on top of them (or uninstall those particular patches).
If in doubt, you can always go safer way: simply compress entire Installer map! Right click on the Installer map (or just $PatchCache$ map) and choose Properties. On General tab, click Advanced button. Finally, check Compress folders to save disk space. If asked, choose an option to compress all subfolders and files.
This way you can gain up to 30% of free space (or in your case, nearly 300MB), and you keep everything in case you'll need this stuff later on. And system speed and response wont be affected much since system rarely accesses this map.
You can apply this tactic to several other non-essential system maps, thus recovering lots of free space on your drive!
You can delete the folder content.
Follow these steps:
1) Stop Windows Installer the service.
2) Set the registry key that indicates the maximum folder size to zero.
3) Delete folder content.
4) Start Windows Installer the service.
5) Stop Windows Installer the service.
6) Set the registry key that indicates the maximum folder size to 10 (default).
7) Start Windows Installer the service.
Example:
Extracted from:
Instead use MKLINK to junction the folder to an alternate drive if you have space
• on drive D: create sub folder named C
• cut and paste folder Installer to subfolder C-Windows located on drive D:
• run CMD
• type: CD C:Windows
• type: MKLINK /J Installer D:C-WindowsInstaller
• type: EXIT
The solution is to use the command from Start → Run → cmd
:
Warning: This will not affect the Installer folder. All content msi
files created there will remain until the program is uninstalled. $PatchCache$
can grow up to GB of size which takes a lot of my hard disk space.
This command will delete $PatchCache$
, and after you finish, run
Delete Windows Installer Folder
… to see if the folder is still there.
You can also use
which deletes all files in the temporary folder, which are created by installing software.
Not the answer you're looking for? Browse other questions tagged windows-xpwindows-updateinstaller or ask your own question.
Hey DFB2,
We would need a little more information to give you an appropriate and accurate answer to your question.
1) What is the Operating System that you have?
2) If you are trying to upgrade the Operating System, what version of Windows Operating System are you upgrading from what version?
3) Are you trying to install any programs or updates when you get this error?
I researched based on the error code and I found that the error ‘2330. 1392’ is encountered when you try to uninstall a program. If you are having issues in uninstalling a program, you can try to use Windows clean-up utility to remove the programs. Here is an article that will give you information on ‘Windows Clean-up Utility’.
‘Description of the Windows Installer CleanUp Utility’
If you are getting this error when trying to upgrade your Windows Operating System, you can set your computer to clean boot and go about doing the upgrade. Here are the steps to set your computer to clean boot:
How-to run Windows in Selective Startup (Clean Boot)… |
1. Click Start, click Control Panel, click System and Maintenance, click Administrative Tools, and then double-click System Configuration. 2. Click Continue, or provide Administrator credentials if prompted. 3. Click the General tab, and click Selective startup. 4. Under Selective startup uncheck Load startup items. 5. Click the Services tab, check the Hide all Microsoft services box, and then click Disable all. 6. Click the Apply, then OK, and then Restart. |
Thanks,
Regards,
Irfan H, Microsoft Answers Support Engineer. Visit our Microsoft Answers Feedback Forum and let us know what you think.