Table of Contents
Leave the inetpub folder at the root of your Windows system drive in place. Microsoft’s April 2025 security updates created it on affected systems even when Internet Information Services (IIS) was off. An empty folder is expected in that situation.

Why the folder appeared
IIS traditionally uses inetpub for web content and related files. The security update also uses a protected folder at %SystemDrive%\inetpub, often C:\inetpub. Its presence alone doesn’t show that IIS is installed or running.

See Microsoft’s KB5055523 release notes for the Windows 11 24H2 update. If you’re checking which update is installed, see the Windows Update troubleshooting guide for where to find the KB number and update history.
What to do if you deleted inetpub
Use Microsoft’s Set-InetpubFolderAcl remediation to recreate the folder and set its permissions. Follow the instructions linked from Microsoft’s security advisory, and use the script from its official source. A folder created manually in File Explorer may have different ownership or permissions.
On a work-managed device, ask IT to restore it. If you use IIS and deleted a folder that contained site files or logs, recover those separately from a backup. Restoring the protected directory only restores its structure and permissions.
Reader Comments 0
Sign in with email or Google to join the discussion.