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

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.