Safe to delete C:\inetpub?

I recently noticed the C:\inetpub folder on my laptop running Windows 7. I disabled Internet Information Services under windows services, but after rebooting, some of the options under that service were automatically turned back on. I don't have a web site, but okay.

What bothers me is that inetpub should not have been installed on my C: drive and should be somewhere in the Windows system folders, right?

So can I safely delete the c:\inetpub folder ?

3

1 Answer

So can I safely delete the c:\inetpub folder ?

The folder contains no system files. If you want to delete it, feel free, just be sure to verify it contains nothing you actually want to keep. I should point out that, unless you disable IIS and/or reconfigure IIS, IIS will simply create the folder again.

What you should do instead is modify the contents of %windir%\system32\inetsrv\config\applicationhost.config and simply make the required modifications so the desired path is used instead.

Source: Is it safe to delete the “InetPub” folder?

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like