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.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you have Windows 2000 based domain?
pospichalalesAuthor Commented:
Windows Server 2003 based domain at Windows Server 2008 R2
do you have user named "user"?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

pospichalalesAuthor Commented:
No, I do not have this user.
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pospichalalesAuthor Commented:
Great! I was only typing username, if I changed it to DOMAIN\UserName:F then it works.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.