ICACLS - No mapping between account names and security IDs was done.

I have problem with command like this:
icacls c:\folder /grant:r user:F /inheritance:r

It returns error:
No mapping between account names and security IDs was done.

If I run this command at my desktop, it is OK.
LVL 1
pospichalalesAsked:
Who is Participating?
 
Vaidas911Commented:
in your command, chage word "user" with appropriate username, e.g. icacls c:\folder /grant:r Administrator:F /inheritance:r or icacls c:\folder /grant:r YourDomain\Administrator:F /inheritance:r
0
 
gtworekCommented:
Do you have Windows 2000 based domain?
0
 
pospichalalesAuthor Commented:
Windows Server 2003 based domain at Windows Server 2008 R2
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Vaidas911Commented:
do you have user named "user"?
0
 
pospichalalesAuthor Commented:
No, I do not have this user.
0
 
pospichalalesAuthor Commented:
Great! I was only typing username, if I changed it to DOMAIN\UserName:F then it works.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.