Super User is a question and answer site for computer enthusiasts and power users. 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

On Windows 8, I turned on EFS and encrypted some files/folders. During this process, it created a self signed certificate and used that one for encryption. However, I have a specific certificate that I always use for my personal security/identification needs.

How can I tell Windows 8 "here, use THIS certificate instead to encrypt files"? The certificate I wish to use is provisioned for file encryption (among other security use cases).

Finally, if there is a way to also switch over previously encrypted files to the new certificate (not just files encrypted 'from now on'), that'll be a better answer.

Thanks Sid

share|improve this question

First, decrypt everything. This way you don't have to worry about a mess of conflicting security certificates.

Second, log in as an administrator and perform these steps.

Open Certificate Manager by clicking the Start button , typing certmgr.msc into the Search box, and then pressing ENTER.‌ If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

Click a folder, click the Action menu, point to All Tasks, and then click Import.

Click Next, and then follow the instructions.


If you click Browse to search for a certificate when using the Certificate Import Wizard, be aware that the Open dialog box only displays X.509 certificates by default. If you want to import another type of certificate, select the certificate type you want to import in the Open dialog box.

As long as the certificates intended purposes includes Encrypting File System, you'll be able to use it.

After the new certificate is installed and you've tested it, delete the old self-signed security certificate.

Third, encrypt whatever you need encrypted.

share|improve this answer
I believe instead of needing to decrypt all the files, you can simply run "cipher /u" to update all EFS files on the entire disk (this command cannot be interrupted, so don't execute this unless you're ready for some heavy disk IO.) Check cipher /? first to be sure. After the files are updated, you can verify the files have the new cert thumbprint via file Properties, then delete the old cert from certmgr.msc (after exporting it to be safe). – Syclone0044 Mar 27 at 20:55

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.