CACLS for local users

  • Thread starter Thread starter Ken Buchanan
  • Start date Start date
K

Ken Buchanan

Anyone know how to set ACLs using CACLS (or any other CLI)
on a remote box referencing a local user on the remote box?

This does not work :

cacls \\myserver\c$\data /t /e /c /g myserver\ken:r

I get the "no mapping between account names" error

Trouble is the user ID in question is on all 1000 of my
servers and is also on the domain. I'm trying to do this
from an ASP page.

TIA

Ken
 
You would have to connect directly to that box and run the command. The security principal piece has to do a lookup on
the friendly name to get a sid to add to the ACE. This functionality isn't in CACLS to do it remotely. I am not
immediately aware of any tools that would do that.
 
Back
Top