Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I saved an ACL using icacls using this command

icacls File.zip /save aclsFile

That worked fine, but whenever I try to restore the file I get an error message:

icacls * /restore aclsFile
Not all privileges or groups referenced are assigned to the caller. 

Has anyone else encountered this problem or know how to fix it?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Is UAC enabled on your system? You need to run your command prompt as administrator in order for icacls restore to work.

Also - I'm pretty sure the format of your restore command is incorrect. A * will cause icacls to error out because it will look for *\File.zip - what you probably want is:

icacls . /restore aclsFile
share|improve this answer
    
Thank you very much. I didn't know about running command prompt as an Administrator. –  RedPheonix Feb 9 '10 at 21:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.