I am on Windows Server 2008.
I'm trying to set deny permissions for a certain user on the Windows folder with the following command:
cacls Windows /E /D sneakyUser
I get the error message "Access is denied." I'm running Command Prompt as Administrator.
I also tried ICACLS -- no luck.
icacls Windows /deny sneakyUser:f
These commands work on individual files within the Windows folder, but not on the folder itself. Is this behavior by design, or am I doing something wrong?
Edit: Interestingly enough, the command works fine in Windows Server 2003.