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

Popular TP Link modem login addresses

Popular TP Link modem login addresses

To change the password or WiFi name for TP Link modem, users need to log in to the address for this modem line. So what is the TP Link modem login address?

Top 10 best internet security software today

Top 10 best internet security software today

These days, users can pay to protect all their devices – whether it’s a PC, Mac, or smartphone. But with so many options on the market today, it can be hard to know where to start. Here’s a list of the best internet security suites available today.

How to Change DNS Server on Windows 11

How to Change DNS Server on Windows 11

If the default DNS server provided by your ISP seems slow, insecure, or unreliable, you don't have to use it. Here's how you can change the DNS server settings on your Windows 11 computer.

Enable GodMode on Windows 10, 8 and 7

Enable GodMode on Windows 10, 8 and 7

GodeMode is called Shortcut Windows Master Control Panel. GodMode (or God Mode) is a control panel, allowing you to set up and access everything on your Windows operating system.

How to set up automatic computer cleaning

How to set up automatic computer cleaning

Computers often get overloaded with temporary files and other junk that we often don't have time to clean up. This is where automatic cleaning comes in and you should start using it right away.

Simple Sandbox Tips to Help You Stop Worrying About Malware

Simple Sandbox Tips to Help You Stop Worrying About Malware

Malware attacks have never been more intense, but we're finally finding peace of mind thanks to strategic sandboxing techniques.

How to Backup and Restore Microsoft Defender Windows 11

How to Backup and Restore Microsoft Defender Windows 11

You can back up and restore your Microsoft Defender settings on a new computer or troubleshoot any issues you may have with the application.

Clean up the WinSxS folder to free up Windows space

Clean up the WinSxS folder to free up Windows space

Windows uses a system folder called WinSxS to store Windows installation files. However, these files take up a lot of space on the system drive. Therefore, you should delete these folders and files.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

Do you want to speed up Windows 10, improve Windows 10 speed or speed up Windows 10 startup? All ways to speed up Windows 10 are in this article, please read and apply to make your Windows 10 computer run faster!

What is PING? How to test PING?

What is PING? How to test PING?

In the article below, we invite you to learn some simple examples of the PING command on Windows!

How to Open and Use MSConfig on Windows 10

How to Open and Use MSConfig on Windows 10

MSConfig is a versatile tool that is great for managing the startup process on your computer. It can also be used for more than just troubleshooting performance and stability issues.

6 Ways to Run Software with Administrator Rights in Windows

6 Ways to Run Software with Administrator Rights in Windows

Running some programs with administrator rights is often necessary for full functionality, especially for system tools or file editing and settings software.

How to fix BSOD Memory Management error

How to fix BSOD Memory Management error

Have you ever encountered the Windows Memory Management blue screen of death error? This common Windows Stop Code is annoying, but there are some simple fixes for Windows Memory Management errors.

Most people dont use these hidden features in Windows Security.

Most people dont use these hidden features in Windows Security.

Windows Security does more than just protect against basic viruses. It protects against phishing, blocks ransomware, and prevents malicious apps from running. However, these features aren't easy to spot—they're hidden behind layers of menus.

Follow these 7 steps to keep Windows 11 from slowing down again!

Follow these 7 steps to keep Windows 11 from slowing down again!

From deleting temporary files to updating software, there are many simple and effective ways to keep your computer running smoothly like new.