• About Us
  • Announce
  • Privacy Policy
  • Contact us
MasterTrend Info - Technology, News and Tutorials
  • HOME
    • BLOG
  • Tutorials
  • Hardware
  • Gaming
  • Mobile
  • Security
  • Windows
  • IA
  • Software
  • Networks
  • What's new
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • thThai
    • pl_PLPolish
    • tr_TRTurkish
    • id_IDIndonesian
    • hi_INHindi
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
No result
See all results
  • HOME
    • BLOG
  • Tutorials
  • Hardware
  • Gaming
  • Mobile
  • Security
  • Windows
  • IA
  • Software
  • Networks
  • What's new
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • thThai
    • pl_PLPolish
    • tr_TRTurkish
    • id_IDIndonesian
    • hi_INHindi
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
No result
See all results
MasterTrend Info - Technology, News and Tutorials
No result
See all results
Start Windows

inetpub folder in Windows: why you shouldn't delete it

MasterTrend Insights by MasterTrend Insights
May 2, 2026
in Windows
Reading time:6 min read
0
Carpeta inetpub Windows: usuario revisando error en PowerShell tras eliminar carpeta del sistema, explicando por qué no debes borrar inetpub si usas IIS o servidor web en Windows.

Windows inetpub folder: why you shouldn't delete it - Image of a professional working on a Windows laptop while checking system files and errors. The *inetpub* folder is related to IIS (Internet Information Services), Microsoft's web server, and deleting it can affect the operation of applications, local websites, and system services in Windows 10 and Windows 11.

50
SHARED
140
Views
Share on FacebookShare on Twitter

Contents

  1. inetpub folder Windows and its security function
  2. You shouldn't have deleted this folder from Windows, here's how to recover it.
    1. What you should decide before touching it
  3. Why did inetpub appear even though IIS was never activated?
  4. The trap of creating a new inetpub manually

inetpub folder Windows and its security function

An empty folder in the Windows root directory often raises suspicions. Even more so if it appears after an update and has a name that many users associate with web servers. That happened with inetpubSome saw it on the system drive, found no files inside, and deleted it thinking it was unnecessary leftover data.

In this case, appearances are deceiving. The folder may be empty and still be part of a security mitigation. It's not there for the user to access. It's there because Windows expects it to exist with specific permissions.

You shouldn't have deleted this folder from Windows, here's how to recover it.

What you should decide before touching it

  • Microsoft intentionally creates the folder inetpub on the Windows installation drive.
  • You should not delete the folder inetpub to protect the security of your equipment.
  • And at You deleted it by mistake, you can restore it with an official PowerShell script.

The frustrating part is that Windows doesn't explain it when it appears. It's simply there, visible, with a technical name and no context for the user. This lack of explanation is what turns a legitimate mitigation tool into a folder that many end up treating as system junk.

Why did inetpub appear even though IIS was never activated?

La palabra inetpub This isn't new to Windows. It's linked to Internet Information Services, or IIS, the component that allows you to host websites and applications from the system. If IIS is active, the folder may contain subfolders such as history, logs and temp.

But here's the nuance: after the KB5055523 updates for Windows 11 and KB5055518 for Windows 10, inetpub It also started appearing on computers where IIS was not enabled. That's why it seemed like a bug.

Carpeta inetpub visible en la unidad C del sistema Windows.

The difference between an "IIS folder" and a "folder created by a security update" is important. In the first case, it's part of a web service. In the second, it acts as part of a security fix related to permissions, paths, and internal Windows operations. They appear the same to the user; for the system, they serve different purposes.

Logo oficial de Windows 11.

Microsoft clarified the case in the documento oficial de soporte KB5055523When installing the update, Windows creates a folder %systemdrive%\inetpubeven if IIS is not enabled.

The reason is related to CVE-2025-21204. This vulnerability affected the Windows process elevation service and could exploit symbolic links to manipulate file management operations within the Windows Servicing Stack. Simply put, it was a trust issue regarding the paths and permissions Windows uses when working with sensitive files.

Therefore, the key issue isn't whether the folder appears empty. The key issue is who created it, where it's located, and what permissions it has.

Portátil con Windows 11 y logo de Windows Defender en pantalla.

The trap of creating a new inetpub manually

If you've already deleted the folder, creating another one with the same name seems like a reasonable solution. It's not entirely so.

Una carpeta llamada inetpub A folder created by the user doesn't necessarily have the same permissions as the folder generated by the update. And in this case, permissions aren't a minor detail: they're part of the reason the folder exists.

Puedes comprobarlo desde el Explorador si añades la columna "Owner"The folder created by Microsoft appears with an owner SystemA manually created folder is usually associated with the user who created it.

Columna Propietario en el Explorador de Archivos mostrando que Sistema es propietario.

If the folder is still in the Recycle Bin, restoring it from there might be enough. Otherwise, there are two common approaches: enabling IIS or using the official script. Enabling IIS can recreate the structure, but it also adds components and subfolders specific to a web server. For someone who doesn't use IIS, this is more noise than necessary.

Casilla de Servicios de Información de Internet activada en características de Windows.

The cleanest option is the official Microsoft scriptbecause it restores the folder with the appropriate permissions without forcing you to fully activate IIS.

Open PowerShell as administrator and run:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Pantalla de PowerShell con el código para el bypass de ejecución.

Then install the script:

Install-Script -Name Set-InetpubFolderAcl -Force

Si PowerShell pide instalar el proveedor NuGet, responde con AND and press Enter. Then repeat the installation command.

Mensaje de requerimiento del proveedor NuGet en PowerShell.
Ejemplo de comando para crear la carpeta inetpub con permisos especiales en PowerShell.

If you see “Command Not Found” or the script is not called correctly from the console, run it with the full path:

& "C:\Program Files\WindowsPowerShell\Scripts\Set-InetpubFolderAcl.ps1"

When finished, check the drive where Windows is installed. The folder inetpub It should be there again, no longer as an improvised folder, but with the configuration that mitigation expects.

Monitor mostrando el escritorio de Windows 11.

No hay mucho más que hacer con inetpubIt doesn't take up significant space, requires no maintenance, and doesn't mean you have a web server running in the background. Its function, in this context, is more subtle: to be present wherever Windows needs it.

The lesson is less obvious than the problem: at the root of the system, an empty folder isn't always just a remnant. Sometimes it's a security measure that goes unnoticed until it's gone.

Share this:
FacebookLinkedInPinterestXRedditTumblrBlueskyThreadsShareChatGPTClaudeGoogle AIGrok
Tags: EvergreenContentWindows11WindowsTips
Previous Publication

Sekiro on PS5 in 2026: Is it still worth it?

next post

Private DNS on Android: How to reduce tracking

MasterTrend Insights

MasterTrend Insights

Our editorial team shares a deep-dive analysis, tutorials and recommendations for getting the most out of your devices and digital tools.

RelatedPublications

Privacy in Windows 11 - Woman using a laptop at home configuring privacy options in Windows 11 with O&O ShutUp10++, showing security settings and data control on screen.
Windows

Privacy in Windows 11 with O&O ShutUp10++

June 21, 2026
59
Optional Windows 11 Features - Woman working on a Windows 11 laptop activating optional features in system settings; guide on when to enable or disable optional Windows 11 features in a modern office environment
Windows

Optional features in Windows 11: when to turn them on or off

June 21, 2026
65
Windows 11 local account; Woman using Windows 11 laptop showing locked “Sign-in” screen, illustrating how to create a local account in Windows 11 and avoid signing in with Microsoft.
Windows

Windows 11 Local Account: How to Avoid Microsoft

May 1, 2026
314
Windows 11 God Mode: Woman holding laptop with "God Mode" folder and advanced system options for configuration, administrative tools and PC optimization.
Windows

Windows 11 God Mode: What it is and when it adds value

March 19, 2026
179
PowerToys key features - User working on a laptop with Windows 11 and PowerToys, showing key productivity and security features that should be native to Windows.
Windows

PowerToys Key Features That Should Be Native in Windows

February 6, 2026
130
Windows disk serial number - Person holding an HDD showing the serial number, illustration of how to find the disk identifier in Windows and which serial numbers manufacturers accept
Windows

Windows disk series valid criteria for support and warranty

February 1, 2026
175
next post
Private DNS on Android: Woman showing location settings disabled on her smartphone next to the Android logo and no tracking symbol, illustrating how to reduce tracking and improve privacy on Android.

Private DNS on Android: How to reduce tracking

5 1 vote
Article Rating
Subscribe
Access
Notify of
guest
guest
0 Comments
Oldest
Newest Most voted
Online Comments
See all comments

Stay Connected

  • 976 Fans
  • 118 Followers
  • 1.4 k Followers
  • 1.8 k Subscribers
  • Trends
  • Comments
  • Last
🖥️ How to open 'Devices and printers' in Windows 11: 4 simple steps

🌟 How to open ‘Devices and printers’ in Windows 11: ¡Amazing trick!

June 21, 2026
Windows 11 Persistent Clock: Options for displaying a persistent clock, limitations and practical decisions, with blue background, Windows icon and minimalist analog clock.

Windows 11 Persistent Clock: Options, Limits, and Real Decisions

June 21, 2026
Ethernet not working in Windows 11: 9 easy tricks

Ethernet not working in Windows 11: 3-minute solution ⚡🌐

13 November 2025
How to save game in REPO

How to save game in REPO 🔥 Discover the secret to not losing progress

7 July 2025
Features of Gmail on Android: Save time with 5 tips

Features of Gmail in Android: you 5 tricks you did not know! 📱✨

12
Notebook motherboard repair: internal view with motherboard, cooling system, fans and key components to check in an open laptop

Notebook Motherboard Repair – Step-by-Step Diagnosis

10
Install Windows 11 Home without Internet

Install Windows 11 Home without Internet

10
How to backup drivers in Windows 11/10 in 4 steps!

How to backup drivers in Windows 11/10 It Prevents errors! 🚨💾

10
Privacy in Windows 11 - Woman using a laptop at home configuring privacy options in Windows 11 with O&O ShutUp10++, showing security settings and data control on screen.

Privacy in Windows 11 with O&O ShutUp10++

June 21, 2026
Optional Windows 11 Features - Woman working on a Windows 11 laptop activating optional features in system settings; guide on when to enable or disable optional Windows 11 features in a modern office environment

Optional features in Windows 11: when to turn them on or off

June 21, 2026
Saros Endings: A. Devraj in futuristic Soltari armor in a dark and dramatic scene, analysis of the main ending and secret ending of the video game.

Saros Endings: Analysis of the Main and Secret

June 14, 2026
AMD UDNA architecture for PS6 and Xbox Next, detail of next-generation GPU chip with advanced design for high-performance gaming consoles.

UDNA architecture in PS6 and Xbox Next: more than just numbers

May 4, 2026

Recent News

Privacy in Windows 11 - Woman using a laptop at home configuring privacy options in Windows 11 with O&O ShutUp10++, showing security settings and data control on screen.

Privacy in Windows 11 with O&O ShutUp10++

June 21, 2026
59
Optional Windows 11 Features - Woman working on a Windows 11 laptop activating optional features in system settings; guide on when to enable or disable optional Windows 11 features in a modern office environment

Optional features in Windows 11: when to turn them on or off

June 21, 2026
65
Saros Endings: A. Devraj in futuristic Soltari armor in a dark and dramatic scene, analysis of the main ending and secret ending of the video game.

Saros Endings: Analysis of the Main and Secret

June 14, 2026
97
AMD UDNA architecture for PS6 and Xbox Next, detail of next-generation GPU chip with advanced design for high-performance gaming consoles.

UDNA architecture in PS6 and Xbox Next: more than just numbers

May 4, 2026
136
MasterTrend Info logo

MasterTrend Info is your source of reference in technology: discover news, tutorials, and analysis of hardware, software, gaming, mobile, and artificial intelligence. Subscribe to our newsletter and don't miss any trend.

Follow us

Browse by Category

  • Gaming
  • Hardware
  • IA
  • Mobile
  • What's new
  • Networks
  • Security
  • Software
  • Tutorials
  • Windows

Recent News

Privacy in Windows 11 - Woman using a laptop at home configuring privacy options in Windows 11 with O&O ShutUp10++, showing security settings and data control on screen.

Privacy in Windows 11 with O&O ShutUp10++

June 21, 2026
Optional Windows 11 Features - Woman working on a Windows 11 laptop activating optional features in system settings; guide on when to enable or disable optional Windows 11 features in a modern office environment

Optional features in Windows 11: when to turn them on or off

June 21, 2026
  • About Us
  • Announce
  • Privacy Policy
  • Contact us

Copyright © 2025 https://mastertrend.info/ - All rights reserved. All trademarks are property of their respective owners.

We've detected you might be speaking a different language. Do you want to change to:
es_ES Spanish
es_ES Spanish
en_US English
pt_BR Portuguese
fr_FR French
it_IT Italian
ru_RU Russian
de_DE German
zh_CN Chinese
ko_KR Korean
ja Japanese
th Thai
hi_IN Hindi
ar Arabic
tr_TR Turkish
pl_PL Polish
id_ID Indonesian
nl_NL Dutch
sv_SE Swedish
Change Language
Close and do not switch language
No result
See all results
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • pl_PLPolish
    • id_IDIndonesian
    • tr_TRTurkish
    • hi_INHindi
    • thThai
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
  • Gaming
  • Hardware
  • IA
  • Mobile
  • What's new
  • Networks
  • Security
  • Software
  • Tutorials
  • Windows

Copyright © 2025 https://mastertrend.info/ - All rights reserved. All trademarks are property of their respective owners.

wpDiscuz
RedditBlueskyXMastodonHacker News
Share this:
MastodonVKWhatsAppTelegramSMSLineMessengerFlipboardHacker NewsMixNextdoorPerplexityXingYummly
Your Mastodon Instance