Table of Contents
Keep the empty inetpub folder if it appeared on your Windows system drive after the April 2025 security updates. If you deleted it, use Microsoft’s published Set-InetpubFolderAcl script to recreate the folder with the intended permissions. Creating an empty folder by hand doesn’t set those permissions.
Why the folder exists
The folder can appear on systems where Internet Information Services (IIS) is turned off. It is part of a Windows security update, and an empty folder is expected. See the Microsoft release notes for KB5055523 for Windows 11 version 24H2. Other Windows versions received their own cumulative updates.
Restore it using Microsoft’s script
Open the Set-InetpubFolderAcl page on the PowerShell Gallery and verify the package and publisher. Use its installation guidance from an administrator PowerShell session, then run the installed script. On a work or school PC, have your administrator handle any script or policy requirements.
The older screenshots also show IIS and an execution-policy command. The Gallery script is intended to restore the folder and its access controls without installing IIS. Follow your organization’s PowerShell policy if script execution is restricted.
Confirm the repair
Check the root of your Windows system drive, commonly C:, for inetpub after the script finishes successfully. Keep applying Windows security updates through Windows Update. If the update itself failed, see how to identify a Windows Update error.
Reader Comments 0
Sign in with email or Google to join the discussion.