On a Win7 box I can manually grant write access to "Authenticated Users" on a folder and it's contents. But when I try to do the same thing from a command prompt using icacls.exe I get Access Denied. It seems like Windows will allow me to make the change manually, but not via a program like icacls. Any ideas?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2
Open the command prompt using "run as admin" then try it.
Answered 02/06/2012 by: jmaclaurin
Third Degree Blue Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Excellent! Going to system32\cmd.exe and right click and choose Run As Administrator made it work. But now I need to figure out why.
I'm logged in with Admin Rights, why does that not transfer to the Command Prompt? I'll have to do some research. Thank you.
Answered 02/06/2012 by: troy_in_wi
Orange Belt

Please log in to comment
0
@Troy

In VIsta and Win 7 Box Any user is not considered as Admin User or Administrator...
or other words even though if you are administrator of machine you will not have have full admin privileges.

so Run as Administrator is good option...

To Learn About the hidden admin account Refer this


Rate the Post if found Useful
Thanks,
S.A.MahendraKumar
Answered 02/06/2012 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity