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?


  • 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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