How To Write To A Program Files Folder

david hawcroft 1 Reputation point
2021-02-07T01:10:24.687+00:00

Win10

I have a need to edit a file in Program Files belonging to an app. I find I cannot save back there.

I think it is a UAC issue. I found an old thread with a similar issue in IIS with a fix that was to issue at an elevated command prompt a line like this:

icacls %systemdrive%\inetpub /grant %userdomain%\%username%:(OI)(CI)(F) /grant %userdomain%\%username%:F

This won't work with this Program Files issue because it barfs at \Program Files\SequoiaView (name of folder I'm working in) when I substitute that for "inetpub".

Can someone help with a fix for this problem generally or a fix for using this command line?

Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2021-02-07T21:40:36.737+00:00

    Right click the folder like I did with 7-Zip. Select Security and then click on Edit. You will get a UAC prompt. Then grant Users modify access.

    I too am having problems with uploading images. I had to change the Zoom setting on the browser (Edge) to be able to see the upload button.

    65042-capture.jpg

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.