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

Summary of Touchpad operations on Windows 10, Windows 11

Summary of Touchpad operations on Windows 10, Windows 11

Windows 10 operating system has newer features than previous operating systems. So have the operations on Touchpad on Windows 10 changed?

Microsoft launches 2 new Windows 11 apps called People and File Search

Microsoft launches 2 new Windows 11 apps called People and File Search

In mid-2024, there were rumors that Microsoft was developing two new apps called People and File Search for Windows 11.

6 Best Multi-Monitor Brightness Control Software for Windows

6 Best Multi-Monitor Brightness Control Software for Windows

Third-party brightness control apps can help you adjust screen brightness on Windows.

Windows default Notepad application is so good that you wont need another application to replace it.

Windows default Notepad application is so good that you wont need another application to replace it.

Many people have been using the revamped version of Classic Notepad since its release and it has become an indispensable tool for jotting down ideas, organizing notes, and keeping daily notebooks.

Use SFC scannow command to fix Windows 10 system file errors

Use SFC scannow command to fix Windows 10 system file errors

If you notice that your computer frequently crashes or has problems during startup... then the cause is most likely due to Windows system files being corrupted, lost, or even changed when you installed a program or software on your computer.

How to access Safe Mode on Windows 11

How to access Safe Mode on Windows 11

There are different types of Safe Modes and different ways to access them. If you need to diagnose your PC, here's how to boot into Safe Mode in Windows 11 on a computer that's acting up or won't start.

How to safely delete sensitive files on Windows 11

How to safely delete sensitive files on Windows 11

When you tell Windows to delete a file, you usually want it gone forever. However, some data recovery applications and services can restore those files even if you think they've been completely deleted.

8 Ways to Fix Windows PIN Not Working in Windows 10/11

8 Ways to Fix Windows PIN Not Working in Windows 10/11

You may encounter an issue where Windows tells you your PIN is incorrect even though you entered it correctly.

Mozilla finds a new way to make itself the default browser of Windows 11

Mozilla finds a new way to make itself the default browser of Windows 11

Back in July 2024, Mozilla expressed its desire to extend Firefox support to Windows 7, 8, and 8.1, while other browsers like Chrome and Edge have abandoned versions of Microsoft's outdated operating system.

Microsoft still recommends 15-year-old backup solution for Windows 11 and 10 users

Microsoft still recommends 15-year-old backup solution for Windows 11 and 10 users

Modern versions of Windows still contain a lot of old code, and Microsoft generally tries to hide outdated parts, like the Control Panel, in favor of more modern components. However, there are some interesting exceptions.

What to do when Copilot is not found on Windows 11?

What to do when Copilot is not found on Windows 11?

According to Microsoft, Copilot is the future of Windows. But what if you want to try it but can't find Copilot? The following article will show you some tricks if Copilot doesn't appear on your Windows 11.

Using Disk Defragmenter in Windows

Using Disk Defragmenter in Windows

Over time, the files on your hard drive become fragmented and your computer slows down because it has to check multiple locations on the drive. To help your computer run more efficiently, you can use the built-in tools in Windows to defragment those files.

This hidden score tells you how well your Windows computer runs

This hidden score tells you how well your Windows computer runs

If you're wondering how well your Windows PC is performing, run the Windows Experience Index (WEI).

Microsoft Launches Windows 11 IoT Enterprise LTSC 2024 With Broader Device Support and Big Changes

Microsoft Launches Windows 11 IoT Enterprise LTSC 2024 With Broader Device Support and Big Changes

Today, Microsoft officially launched another version of the Windows 11 operating system.

Top 5 Best Encryption Software 2025

Top 5 Best Encryption Software 2025

On your PC, a lot of your personal information can be accessed without permission. That's because Windows data is stored publicly on the drive and is not encrypted or protected by encryption software, so anyone can access your confidential and private information.