What Is Inetpub Folder And How To Delete It?

What Is Inetpub Folder On Windows 10 And How To Easily Delete It

Inetpub is the default folder for Microsoft Internet Information Services (IIS). The website content and web apps are stored in the inetpub folder, which keeps it organized and secure. IIS also allows more than one domain to be served from one inetpub folder. Internet Information Services (IIS, formerly Internet Information Server) is an extensible web server created by Microsoft for use with the Windows NT family.

Microsoft’s Internet Information Services provide a graphical user interface (GUI) for managing websites and associated users. It provides a visual means of creating, configuring, and publishing sites on the web. The Inetpub folder is where Internet Information Services collects information about connections to the web server. These are the text files, and by default, are stored on the system drive in the C:\inetpub\logs\LogFiles directory. There are five subfolders in the inetpub folder: adminscripts, iisamples, mailroot, scripts, and wwwroot.

The adminscripts subfolder of the inetpub folder is home to administration scripts that allow you to automate server administration tasks and remotely administer the website served from the inetpub folder.

The iissamples subfolder of the inetpub folder contains sample applications that allow developers to learn about how the website and web apps work. The content is for demonstration purposes only.

The mailroot subfolder of the inetpub folder and its associated subfolders are used for processing the SMTP (Simple Mail Transfer Protocol) service, which is an Internet standard for email transmission.

The scripts subfolder of the inetpub folder contains web applications that add functionality to the website.

The wwwroot subfolder of the inetpub folder contains all web pages and content that will be published on the web. It is the default directory for publishing web pages.

Now that you know about the inetpub folder, we show how to delete it, if not required.

what is inetpub folder and how to remove it

Table of Contents:

How To Delete Inetpub Folder On Windows 10

If you do use the Internet Information Services or host any website on your computer, this folder is probably useless to you and can thus be removed.  Windows users sometimes report that they are unable to delete the inetpub folder, and that is often due to changes required in Windows Settings before it can be removed. Specifically, one of the Windows functions needs to be turned off. To do this, access the Programs and Features by typing "control panel" in Search and click the "Control Panel" result.

how to delete inetpub folder step 1

Click "Programs". If you see the Control Panel menu differently, this is because the "View by:" option in the top-right corner of the Control Panel window is set differently.

how to delete inetpub folder step 2

In the Programs window, find "Turn Windows features on or off" under "Programs and Features" and click it.

how to delete inetpub folder step 3

You will see a window with a list of Windows Features. Find the "Internet Information Services" feature and uncheck it. Click "OK" to save the changes. Now go to your C: drive where the inetpub folder is located and delete it by right-clicking it and selecting "Delete" from the contextual menu.

how to delete inetpub folder step 4

We hope that this article helps you to understand the inetpub folder, Internet Information Services, and how to delete/remove the inetpub folder from the Windows operating system.

[Back to Table of Contents]

Video Showing How To Delete Inetpub Folder:

[Back to Top]

2 Comments. Click to view

About the author:

Tomas Meskauskas

I am passionate about computer security and technology. I have an experience of 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an editor for pcrisk.com since 2010. Follow me on Twitter to stay informed about the latest tech news or online security threats. Contact Tomas Meskauskas.

Our guides are free. However, if you want to support us you can send us a donation.