Windows 10 上的Windows Installer Patch (.MSP)文件位于C:\Windows\Installer\$PatchCache$根目录下。在这篇文章中,我们将尝试解释什么是Windows Installer Patch ( .MSP ) 文件,并提供有关如何从 Windows 10 计算机中删除这些文件的简明说明。
与任何其他类似平台一样,Windows 10操作系统会定期接收更新(receives regular Updates)。这些更新旨在解决报告的错误和软件相关问题,以改善整体用户体验。根据每次更新及其重要性,在不同的错误修复中,这些补丁包括新功能、系统应用程序,甚至新功能或安全增强。
在Windows 10 计算机上安装Windows补丁后,补丁文件和其他相关包将缓存在专用文件夹中。
什么是Windows 安装程序补丁(Windows Installer Patch)( .MSP ) 文件

在您的 Windows 10 计算机Windows 补丁(Windows patch)之后,补丁文件以及与安装相关的其他文件被缓存在隐藏的系统目录中,如下所示
C:\Windows\Installer\$PatchCache$
此缓存中的文件主要用于在卸载补丁时回滚系统。随着时间的推移,这个存储空间可能会变得非常大,如果您的办公室/工作、企业、家庭或学校中有一台硬盘驱动器快速装满的计算机,清除缓存可以释放千兆字节的空间可用于业务合同、发票、员工评估或商业信函副本等文件以及其他非商业文件/文件。
虽然不建议删除必要的安装程序目录,但可以安全地从 Windows 10 计算机中删除存储安装程序补丁文件的缓存文件夹。请继续阅读下文,了解如何安全地从设备中删除Windows Installer Patch (.MSP) 文件(Windows Installer Patch (.MSP) files)。
如何删除Windows 安装程序补丁(Windows Installer Patch)( .MSP ) 文件
您需要在Windows 10 设备上以管理员身份登录才能删除Windows Installer Patch (.MSP) 文件(Windows Installer Patch (.MSP) files)。
要手动删除/删除Windows Installer Patch (.MSP) 文件(Windows Installer Patch (.MSP) files),请执行以下操作:
- 在您的 PC 上登录时,按Windows key + R调用“运行”对话框。
- 在“运行”对话框中,键入cmd并按 Enter 以打开命令提示符(open Command Prompt)。
- 在CMD窗口中,复制并粘贴下面的命令,然后按 Enter(Enter)。
rmdir /q /s %WINDIR%\Installer\$PatchCache$
That’s it!命令执行后,Windows 安装程序补丁 (.MSP) 文件(Windows Installer Patch (.MSP) files)将从您的 Windows 10 计算机中删除。
阅读(Read):如何从 Windows Installer 文件夹中清理未使用的 .MSI 和 .MSP 文件(How to clean up unused .MSI and .MSP Files from Windows Installer folder)。
附加信息
请记住(Bear)以下重要信息:
- 只有C:\Windows\Installer\$PatchCache$目录中的文件(称为基线缓存(baseline cache))可以安全删除。在任何情况下,都不(Do NOT)要从位于C:\Windows\InstallerWindows Installer 缓存文件夹中删除任何内容;这样做可能会在将来导致需要重新安装操作系统或某些重要软件的严重问题。
- 虽然清除基线缓存是安全的,但如果您以后想卸载补丁,则需要下载特定补丁的安装程序文件。因此,请考虑在清除基准缓存之前将其备份到外部硬盘驱动器。
最后一点,如果您的目标只是释放磁盘空间,请考虑在清除基线缓存之前运行磁盘清理实用程序。(running the Disk Cleanup utility)
What are Windows Installer Patch (.MSP) files? Can you remove them?
The Windows Installer Patch (.MSP) files on Windows 10 are located under the C:\Windows\Installer\$PatchCache$ root directory. In this post, we will attempt to explain what is the Windows Installer Patch (.MSP) files, as well as provide concise instructions on how to remove these files from your Windows 10 computer.
The Windows 10 operating system, like any other similar platform, receives regular Updates. These updates are meant to resolve reported bugs and software related issues in order to improve the overall user experience. Depending on each update and its importance, among different bug-fixes, these patches are including new features, system apps, and even new capabilities or security enhancements.
After a Windows patch is installed on your Windows 10 computer, the patch file and other related packages will be cached inside a dedicated folder.
What are Windows Installer Patch (.MSP) files

After your Windows 10 computer Windows patch, the patch file along with other files related to the installation are cached in the hidden system directory as shown below
C:\Windows\Installer\$PatchCache$
The files in this cache are mainly used to roll the system back when a patch is uninstalled. Over time, this storage place may become quite large, and if you have a computer in your office/work, business, home or school with a rapidly filling hard drive, clearing the cache can free up gigabytes of space that can be used for business documents such as contracts, invoices, employee evaluations or copies of business letters as well as other non-business documents/files.
While it’s not really recommended to delete essential installer directories, the cache folder that stores the installer patch files can be safely removed from your Windows 10 computer. Continue below to learn how you can safely remove the Windows Installer Patch (.MSP) files from your device.
How to remove Windows Installer Patch (.MSP) files
You are required to be logged in as an administrator on your Windows 10 device to be able to remove the Windows Installer Patch (.MSP) files.
To manually remove/delete the Windows Installer Patch (.MSP) files, do the following:
- While logged in on your PC, press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type cmd and hit Enter to open Command Prompt.
- In the CMD window, copy and paste the command below and hit Enter.
rmdir /q /s %WINDIR%\Installer\$PatchCache$
That’s it! Once the command executes, the Windows Installer Patch (.MSP) files will be nuked from your Windows 10 computer.
Read: How to clean up unused .MSI and .MSP Files from Windows Installer folder.
Additional Information
Bear the following important information in mind:
- Only files in the C:\Windows\Installer\$PatchCache$ directory, called the baseline cache, are safe to delete. Do NOT, under any circumstances, delete anything out of the Windows Installer cache folder located at C:\Windows\Installer; doing so may cause serious problems in the future that necessitate a reinstallation of the OS or some important software.
- While clearing the baseline cache is safe, if you ever want to uninstall a patch in the future, you’ll need to download the specific patch’s installer file. For this reason, consider backing up your baseline cache to an external hard drive before clearing it.
On the last note, if your goal is just to free up disk space, consider running the Disk Cleanup utility before clearing the baseline cache.