Home > IIS > IIS 7 Access to the path ‘c:\windows\system32\inetsrv\’ is denied

IIS 7 Access to the path ‘c:\windows\system32\inetsrv\’ is denied


If you encountered an error related to:

Access to the path ‘c:\windows\system32\inetsrv\<filename>’ is denied.

It means that the credential wherein your site or webservice is running doesn’t have permission to that folder.

Steps below describes how to fix it:

1. Browse to the directory -> %windir%\System32

2. Right Click on the inetsrv folder and select Properties

3. Click the Security Tab -> Click Advance Button

4. Select the Owner Tab and click Edit Button, Select Administrators group and Click Apply.

5. Run the command prompt as Administrator and type:

 cacls %windir%\system32\inetsrv /G <Insert Identity here where App pool is running>:F

Ex: cacls %windir%\system32\inetsrv /G RPAULO\WCFServiceUser:F

 

Advertisements
Categories: IIS Tags: , ,
  1. November 15, 2012 at 5:04 pm

    Very good trick!! It worked perferct for me! Thank you very much!

  2. milind
    June 27, 2013 at 1:11 pm

    hi
    I am getting error “Access to the path ‘c:\windows\system32\inetsrv\6523077984YNNDPF’ is denied.” so please let me know what is “RPAULO” and “WCFServiceUser”

  3. samer kour
    December 2, 2014 at 1:19 pm

    for more info about cacls command see http://ss64.com/nt/cacls.html

  4. Angel
    September 19, 2015 at 1:27 am

    Thank you very much

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: