IIS 5 & IIS 6
Can not edit or save files in the inetpub folder
Last post Dec 23, 2007 06:39 AM by thomad
Dec 22, 2007 10:05 PM|LINK
Access is denied
IIS web sites
IIS install and setup in Windows Vitsa Ultimate
Dec 22, 2007 10:38 PM|LINK
Just because you are logged in as administrator, your application is executing as IUSR or Network Service. Grant the appropriate permissions to this user.
Windows Server MVP - IIS
Log archival solution
Install, Configure, Forget
Dec 23, 2007 06:39 AM|LINK
You are running into an
UAC issue. You don't have access to c:\inetpub although the Administrators group has access to the folder and you are part of the Administrators group. If you have UAC enabled UAC takes your Administrator privileges away however. Welcome to UAC.
Here is an easy fix. Run the following command from an elevated command prompt (right click the "command prompt" icon and select "Run as Administrator").
icacls %systemdrive%\inetpub /grant %userdomain%\%username%:(OI)(CI)(F) /grant %userdomain%\%username%:F
This command will add full access for your user account to the INETPUB directory. Now the Administrator privileges which you don't have don't matter anymore because your account and not Administrators grant you access.
Hope this helps.