Does anyone know if deleting the InetPub folder will hurt IIS or anything related?
I am using IIS 7.
These IIS log files are indeed safe to delete. Please refer to the following guide to locate and delete these log files: Navigate to C:\inetpub\logs\LogFiles\W3SVC1 and delete all of the . log files in this location.
Inetpub is the folder on a computer that 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.
It would contain your IIS application pools. If you're not using IIS, you don't need it, so it's safe to delete (as is the whole of the inetpub folder, FWIW).
The inetpub folder is located in the C drive and possesses 5 subfolders, which has been listed below: Adminscripts, the home of administration scripts, allows you to automate server administration tasks and remotely administer websites provided from inetpub folder.
IIS will create it again AFAIK.
As long as you go into the IIS configuration and change the default location from %SystemDrive%\InetPub to %SystemDrive%\www for each of the services (web, ftp) there shouldn't be any problems. Of course, you can't protect against other applications that might install stuff into that directory by default, instead of checking the configuration.
My recommendation? Don't change it -- it's not that hard to live with, and it reduces the confusion level for the next person who has to administrate the machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With