Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Why Windows Created the inetpub Folder After an Update

Find out why an empty inetpub folder appeared, why Microsoft says to keep it, and where to find official recovery instructions.

Table of Contents

Leave C:inetpub in place if it appeared after a Windows security update. Microsoft’s April 2025 updates created the folder as part of the fix for CVE-2025-21204, even on affected systems where Internet Information Services (IIS) was disabled. The drive letter can vary if Windows is installed elsewhere.

Users are in an uproar over strange folders after updating Windows Picture 1

Why the folder can be empty

On systems that use IIS, inetpub is associated with web content and server data. Its appearance after this update does not show that IIS has been turned on. The security update uses the directory and its configured permissions, so its contents are not a reliable way to judge whether it is needed.

What to do if you already deleted it

Check Windows Update history to confirm which updates were installed. Then consult Microsoft’s security advisory for the recovery procedure. Microsoft also published Set-InetpubFolderAcl to restore the expected directory permissions. Simply making a new empty folder with the same name may leave it with different permissions. On a managed computer, contact your IT administrator before making system changes.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.