Windows 11 users have recently encountered a puzzling new addition to their file system following a routine update earlier this month. The appearance of an empty folder labeled “inetpub” has sparked a wave of curiosity and confusion across online platforms, with some users opting to delete it, unaware of its significance.
This seemingly innocuous folder plays a crucial role in managing logs for Internet Information Services (IIS). Interestingly, it has surfaced even for users who do not have IIS activated on their devices. While the immediate aftermath of deleting the folder may not have been apparent, Microsoft has issued a warning regarding the potential security implications of such an action.
In a recent security update, Microsoft clarified, “After installing the updates listed in the Security Updates table for your operating system, a new %systemdrive%inetpub folder will be created on your device. This folder should not be deleted regardless of whether Internet Information Services (IIS) is active on the target device.” The company emphasized that this folder’s presence is part of enhancements designed to bolster security, requiring no additional action from IT administrators or end users.
However, the deletion of the “inetpub” folder can lead to vulnerabilities, as it opens the door for potential attackers to exploit a “link following flaw” to gain unauthorized access to the computer. Microsoft has yet to provide further commentary on this matter.
What to do if you deleted the “inetpub” folder in Windows
If you find yourself among those who have inadvertently deleted the “inetpub” folder, there is a straightforward solution to restore it and mitigate any associated risks. According to Windows Latest, reactivating Internet Information Services will reinstate the folder and close the security gap. Here’s how to do it:
- Navigate to your optional Windows features by going to Control Panel > Programs > Programs and Features.
- Select Turn Windows features on or off.
- Check the box next to Internet Information Services.
- Click OK.
Once you’ve completed these steps, you can verify the restoration of the “inetpub” folder by checking your Windows directory. It’s as simple as that.