Tech Support > Microsoft Windows > Write access to root drive
Write access to root drive
Posted by Ralf on April 9th, 2006


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


Posted by Pegasus \(MVP\) on April 9th, 2006



"Ralf" <kerano2@mweb.co.za> wrote in message
news:%23JoAu97WGHA.1348@TK2MSFTNGP05.phx.gbl...
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




Similar Posts