Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to set up collective access to EFS-folder. I want to add certificates of all users to all files in folder. Is it posible do with using powershell scripts or some another way?


share|improve this question
I have a similar problem, I am looking at ways of automating/scripting the creation of Data Recovery Agent (DRA) via powershell or cmd? – Julius A Jul 19 '12 at 14:14

There seems to be no programmatic way to do this at the moment. Windows uses cipher.exe, which can only encrypt files with the current user certificate.

This is the official article for sharing encrypted files by Microsoft. One possible workaround is to encrypt the files with a specific certificate, then export it and distribute it to every machine and user, that needs access to the files. It's a hassle, but at least it can be automated.

share|improve this answer

Your Answer


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.