On Windows 11, following the April 2025 security update KB5055523 and the update KB5055518 for Windows 10, users have reported a new and unexpected “inetpub” folder empty in the root of the “C” drive, even on systems where Internet Information Services (IIS) is not installed. However, Microsoft says that it’s not a bug, and you should leave it alone.
What’s the inetpub folder?
The “inetpub” folder is part of the Internet Information Services (IIS), which is usually used to host websites and web applications.
When you enable IIS on Windows 11, the folder is created in the root of the system drive to serve as the web application’s default root directory.
Inside the “inetpub” folder, you will typically find other folders like the wwwroot, temp, logs, history, and custerr that also contain other subfolders and files.
Why was the folder created?
Microsoft has confirmed that the creation of the “inetpub” folder is intentional and linked to a security update addressing a vulnerability with the Windows Process Activation Elevation service, identified as CVE-2025-21204.
As part of the fix, the company added the inetpub folder to make your computer safer.
Should you delete it?
Despite the folder being empty and unnecessary for users not using IIS, Microsoft advises against deleting it to ensure the security of the system.
However, it’s important to note that removing the folder from the root of the system drive shouldn’t affect the functionality of the operating system.
What if you’ve already deleted it?
If you’ve already deleted the “inetpub” folder, there’s no need to be concerned.
However, you can easily recreate it by opening Start, searching, and opening the “Turn Windows features on or off” settings, checking the “Internet Information Services” option, and clicking the “OK” button. Restart the computer to enable IIS as necessary.
Finally, you have to turn off the feature. You can do this by clearing the “Internet Information Services” option from the “Turn Windows features on or off” settings, clicking the “OK” button, and restarting the device (if applicable).
Once you complete these steps, the “inetpub” folder should appear one more time in the “C” drive.
More resources
Find in-depth guides, troubleshooting tips, and the latest updates on Windows 11 and 10 here: