Friday, April 15, 2011

How to Edit files in Inetpub folder in Windows 7

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

source :

No comments:

Post a Comment