Can I recover EFS files after reinstalling Windows?

November 18, 2026 4 answers
Asked by _y52~quendrix.3

I reinstalled Windows and now files saved on an external drive show a lock and deny access. Changing ownership didn't help, and I don't have an exported certificate from the old account.

I did save the old AppData folder, including files under Roaming\Microsoft\Crypto. Can those keys help me recover the encrypted files?

Answers

_p32!zavlino.7

If this is EFS, changing ownership or granting permissions won't decrypt the files. You need access to a matching EFS certificate and its private key, or a configured data recovery agent's certificate and private key.

Look through any old backups for a certificate export such as a .pfx or .p12 file. Import it into the current user's personal certificate store, using its password if it has one, then try opening a file. A certificate without its private key won't be enough.

p.816!torvexa:

Once access is restored, make a separate backup of the certificate and private key before changing anything else.

Reply to this answer
_r49~velmika.6

The Crypto folder is worth preserving, but those small files aren't usually certificates you can simply double-click and install. Windows protects private keys using account-related encryption, so the folder alone may not be enough.

Keep a copy of the entire old user profile and any available system backup, not just Crypto. Recovery may depend on other account data and the old sign-in credentials. If the files matter a lot, consider an EFS recovery specialist before experimenting with the only copies.

Reply to this answer
v.584!marlivo

First confirm what kind of encryption you're dealing with. A BitLocker recovery key unlocks a BitLocker-protected drive, but it doesn't replace an EFS certificate and private key for individual files. Having one won't automatically solve the other.

Also, a 40-character certificate identifier may help identify which certificate is needed, but it isn't the private key. You can check an affected file's encryption details with cipher /c followed by the file path in quotes.

Reply to this answer
Tivdaro.8m

Don't keep applying permission changes across the backup hoping encryption will clear. Unchecking the encryption box or using cipher /d can decrypt a file only when Windows has access to an appropriate key.

Work on copies if possible, and leave the original encrypted files and saved profile intact while you search for the key or a usable backup.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions