I created a special user who should never be able to CD into several system directories like program files, Windows directory, etc.
Whilte I can use icacls
to setup the permissions on most of them, I cannot seem to do it on C:\Windows
, because I get Access denied
message. I'm trying it with an administrator account.
Why is this? How can I deny a user from listing (CD into) Windows directory?