Microsoft shares script to restore inetpub folder you shouldn’t delete
9 Articles
9 Articles
An empty folder on your PC could be essential for system security. If you deleted "inetpub", we tell you why you should restore it immediately and how to do it.
Microsoft shares script to restore inetpub folder you shouldn’t delete
Microsoft has released a PowerShell script to help restore an empty 'inetpub' folder created by the April 2025 Windows security updates if deleted. As Microsoft previously warned, this folder helps mitigate a high-severity Windows Process Activation privilege escalation vulnerability.
After several weeks of confusion, Microsoft finally publishes an official tool to properly recreate the most mysterious of ghost folders.
With the April updates (e.g. KB5055523), Windows 11 and also Windows 10 create a folder C:\inetpub – even if the IIS web service is not enabled. Some users have deleted the folder because it was empty and was not mentioned in any official changelog. Now Microsoft warns: If you have removed the folder, your system will expose a vulnerability (CVE-2025-2104). The folder is part of a security patch against a vulnerability in the update stack, where…
Windows update has created an "inetpub" folder. If it is deleted, it may block further updates. A script helps.
Coverage Details
Bias Distribution
- 100% of the sources are Center
To view factuality data please Upgrade to Premium