Write access to root drive

  • Thread starter Thread starter Ralf
  • Start date Start date
R

Ralf

Good morning,

One of my programs requires write access to two files in my 'C' drive's root
drive. This works fine when running the program in Administrator mode but
returns a 'Unable to gain write access' when running as a normal user with
restricted rights. How can I allocate write access permission to these two
files when running as a normal user?

Thanks in advance.

Ralf
 
Ralf said:
Good morning,

One of my programs requires write access to two files in my 'C' drive's root
drive. This works fine when running the program in Administrator mode but
returns a 'Unable to gain write access' when running as a normal user with
restricted rights. How can I allocate write access permission to these two
files when running as a normal user?

Thanks in advance.

Ralf

While logged on as administrator, start a Command
Prompt (Start / Run / cmd {OK}), then type these
commands:

cacls c:\File1.txt /e /g everyone:F
cacls c:\File2.txt /e /g everyone:F
 
Back
Top