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:\inetpub\logs\LogFiles by default when this feature is enabled. But with the KB5055523 update and the April 2025 patches, users started to notice an empty “inetpub” folder with a size of 0 bytes being automatically created on the C drive.

Microsoft warns against deleting the “inetpub” folder on Windows 11

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 using a symbolic link,” Microsoft said in an official announcement.

Microsoft warns against deleting the “inetpub” folder on Windows 11

The problem is that Microsoft didn't detail in any of its support documentation or warnings that the "inetpub" folder would be created after the update — leading to confusion among users, who thought it was 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.

Microsoft warns against deleting the “inetpub” folder on Windows 11

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.

Sign up and earn $1000 a day ⋙

Leave a Comment

6 Ways to Open Computer/System Properties in Windows 10

6 Ways to Open Computer/System Properties in Windows 10

You can use one of the following 6 methods to open Computer Properties (or System Properties) on Windows 10.

How to properly backup your Windows 11 computer

How to properly backup your Windows 11 computer

While Windows Backup is a good backup solution for Windows 11, it has its limitations. That's why you should rely on the following 3-step process to properly back up your Windows 11 PC.

28 Windows 11 shortcuts you should know and use often

28 Windows 11 shortcuts you should know and use often

28 new Windows 11 shortcuts in addition to familiar Win 11 shortcuts will help you work faster and more efficiently.

Restore Missing Sleep Option on Windows 11/10/8/7

Restore Missing Sleep Option on Windows 11/10/8/7

How to restore the Sleep option on the Power Menu, please refer to the article below of WebTech360.

Microsoft is making Windows the ideal operating system for music makers.

Microsoft is making Windows the ideal operating system for music makers.

At the Qualcomm Snapdragon Summit on October 22, Microsoft announced a series of improvements coming to Windows PCs that will improve the overall experience for musicians, music producers, and other audio professionals.

Adobe Fresco official free animation tool

Adobe Fresco official free animation tool

Previously, Adobe Fresco only supported devices with touchscreens and styluses.

What does the red “X” on Windows folders mean?

What does the red “X” on Windows folders mean?

Do you see a red circle with a white cross to the left of your files, folders, or Windows drives? If so, it means OneDrive is out of sync and the folders affected by this issue are not syncing properly.

How to turn off background applications on Windows

How to turn off background applications on Windows

Turning off background applications on Windows 10 will help your computer run less sluggishly and save system resources. The following article by WebTech360 will guide readers on how to turn off background applications on Windows 10.

How to turn off mouse acceleration on Windows 11

How to turn off mouse acceleration on Windows 11

If you only use your mouse for common tasks, it is not necessary to enable mouse acceleration. Here are instructions for turning off mouse acceleration in Windows 11.

Learn About File Pilot: The Super Fast File Manager That Replaces Windows File Explorer

Learn About File Pilot: The Super Fast File Manager That Replaces Windows File Explorer

File Pilot is a lightweight, clean, and feature-rich file manager that outperforms the Windows default tool in every way.

Customize Default User Profile in Windows 7 – Part 1

Customize Default User Profile in Windows 7 – Part 1

In this series of articles we will introduce you to how to customize the default user profile in Windows 7.

How to enable Ransomware Protection on Windows

How to enable Ransomware Protection on Windows

Ransomware Protection is a useful feature that comes with Windows 11 to help secure users' devices against Ransomware attacks.

How to Use Windows Advanced Boot Options to Troubleshoot Faster

How to Use Windows Advanced Boot Options to Troubleshoot Faster

When your Windows PC has problems booting, Advanced Boot Options can help you figure out what's wrong.

8 reasons to choose Windows 10 instead of Windows 11

8 reasons to choose Windows 10 instead of Windows 11

Windows 10 is well supported. Software and hardware compatibility issues are rare. On the other hand, there have been major compatibility issues with Windows 11.

The Easiest Ways to Find Large Files on Windows

The Easiest Ways to Find Large Files on Windows

A quick and effective solution is to identify and delete large, space-consuming files that are hiding on your computer.