Microsoft warns against deleting the 'inetpub' folder on Windows 11
Microsoft has officially warned users not to delete the 'inetpub' folder that appears on Windows 11 after the April 2025 update. Initially, many people thought this was a bug arising from the KB5055523 update and other cumulative update packages for Windows 10 and Windows 11. However, this is actually an intentional change - Microsoft just forgot to announce and explain it clearly in the support document until the community discovered it and caused a stir.
On April 8, Windows Latest discovered that Windows 11 24H2 version suddenly created a folder named 'inetpub' on the system drive without any notification. This is not an unfamiliar name, because in the Windows system structure, 'inetpub' is created when users activate and configure the Internet Information Services (IIS) service to host websites or internal applications. However, the strange thing is that even on machines without IIS installed, this folder still appears automatically.
According to Microsoft's technical documentation, the 'inetpub' folder is used to store IIS logs and is located at C:inetpublogsLogFiles by default when this feature is enabled. But with the KB5055523 update and April 2025 patches, users started to notice an empty 'inetpub' folder with 0 bytes being automatically created on the C drive.
After community questioning and suspicion, Microsoft confirmed that the folder was intentionally created as part of a security patch for the CVE-2025-21204 vulnerability . This vulnerability allows hackers to exploit the way Windows handles symbolic links during updates, thereby gaining unauthorized access or modification to system files.
'The vulnerability, CVE-2025-21204, involves Windows Update being able to mistakenly access files or folders that are linked to by an attacker via a symbolic link,' Microsoft said in an official announcement.
The problem is that Microsoft has failed to detail in any of its support documentation or warnings that the 'inetpub' folder will be created after the update — leading to confusion among users, who mistakenly believe it to be a junk file or a sign of a system error.
After days of controversy, Microsoft has quietly updated its support documentation, confirming that creating the %systemdrive%inetpub folder is part of the security patch, regardless of whether the system has IIS enabled or not.
'After installing the security update, a new folder %systemdrive%inetpub is created. This folder should never be deleted, regardless of whether Internet Information Services is enabled or not. This is a new mechanism to enhance system protection and does not require any action from the end user or IT administrator,' Microsoft emphasized.
If you accidentally deleted the %systemdrive%inetpub folder because you thought it was a system error, don't worry too much because the error mainly comes from Microsoft not clearly announcing it from the beginning.
How to Restore the "inetpub" Folder on Windows 11
- Open Control Panel > Programs > Programs and Features
- Select Turn Windows features on or off in the left sidebar.
- Find and select Internet Information Services (IIS).
- Click OK, the system will automatically install IIS and recreate the inetpub directory.
After IIS is installed, you do not need to activate or configure anything else. The inetpub directory will be restored and fully protected as the original default.
Microsoft says that keeping the inetpub folder intact is required to ensure the security patch works properly, regardless of whether the folder is empty or whether IIS is used. If you accidentally delete it, follow the instructions above to ensure your system is secure.
You should read it
- How to create Restore Point on Windows 10 with just 1 double click
- How to use Backup and Restore on Windows 7?
- Instructions for creating backup and restore points (Restore Point) on Windows 10
- Instructions to restore Windows 10 to the newly installed state
- How to use System Restore in Windows: Turn off, turn on, create, restore System Restore
- Restore previous Windows version from Windows 7
- Configure the System Restore feature in Windows 10
- Instructions for restoring the system on Windows
May be interested
- Instructions for changing Microsoft Edge Download folderspartan warrior microsoft edge will help microsoft regain the browser market that has fallen into the hands of other rivals such as google chrome, mozilla firefox or in vietnam is coc coc? researched, developed and launched with many supporting technologies such as the ability to support and respond well to applications, html5 games, high compatibility and stability, are set as the default browser in windows 10
- Microsoft warns that the next versions of Windows 11 Insider Preview Dev channel will be less stableusers should consider switching to the windows 11 insider preview beta channel before new updates are available.
- How to set the default name of a newly created folder according to the current date on Windows 10by default, when you create a new folder in windows 10, that folder is automatically named 'new folder'. there is absolutely no problem with this name, but you do not like it and want to use the current date itself as the folder name for easy management, just follow these steps.
- What does the red 'X' on Windows folders mean?do you see a red circle with a white cross to the left of your windows files, folders, or drives? if so, it means onedrive isn't syncing and the folders affected by this issue aren't syncing properly.
- How to Hide a File or Folder from Search Results in Microsoft Windowsthis wikihow article will teach you the steps to hiding a file or folder (de-indexing it) from your pc's search results in microsoft windows. open file explorer. click the file explorer taskbar icon which resembles a file folder.
- Microsoft warned about malware attacking XPtim rains, trustworthy computing director of microsoft, has warned windows users that microsoft will no longer support windows xp operating system since april 8, 2014. t
- How to change the download folder Windows Update in Windows 10by default, the windows 10 update is downloaded to the softwaredistribution folder on drive c and hidden in windows 10. moving the folder will not be as simple as usual and need to be logged on as an administrator. the new folder used in this tutorial is newupdatefolder located in drive d. you can change the name and location to anywhere you like.
- How to remove '3D Objects' from This Pc on Windows 10the fall creators update update of windows 10 will add a '3d objects' folder in this pc. it even appears in the file explorer sidebar. microsoft is clearly trying to promote new 3d features of paint 3d and other 3d features of windows 10, but users can hide this folder if they wish.
- How to activate the Sharing folder tab on Windows 10tab sharing in folder properties helps users to share folders and drives on windows 10 with those who use lan and share data. however, how to get back the sharing tab when disappearing in folder properties.
- How to Zip Folder on Windowsthis wikihow teaches you how to create a zip file from a folder using either the built-in windows zip tool or a third-party app like winzip. navigate to the folder you want to zip. no need to open the folder, just bring it onto the screen....