EFS · Encrypting File System · 'Access is denied' · padlock on the file icon · lost certificate · reinstall
Files encrypted with Windows EFS. The files copy across perfectly well. They will not open, because the certificate that unlocks them stayed in the old Windows profile.
EFS is the older Windows feature that encrypts individual files and folders, ticked under a file's advanced attributes. It is separate from BitLocker. Each file is locked to the user's encryption certificate, whose private key lives in that user's Windows profile and is protected by their password. Reinstall Windows, lose the profile or have the password forcibly reset, and the files remain while the key that opens them is gone. A backup of the certificate, a .PFX file, solves it at once.
Tell us what the screen says and whether you have the key; you hear what is possible before any fee is taken
0800 6890668
In the user's Windows profile, as a certificate and private key protected by that user's password; a .PFX export is the backup.
What can be recovered.
Case by case.
| Situation | What is happening | What is needed | Outlook |
|---|---|---|---|
| Windows reinstalled, .PFX backup exists | Import the certificate | Password for the .PFX | Files open |
| Old drive still has the old Windows profile | Private key is in the profile, protected by the old password | Extract with the old password | Often recoverable |
| Old profile overwritten by the reinstall (hard drive) | Key files may be recoverable as deleted data | Recover them, then the old password | Sometimes |
| Password was reset by an administrator | Protection on the private key no longer matches | The password from before the reset | Recoverable if remembered |
| Company PC | A recovery agent may be configured | The organisation's IT department | Recoverable through IT |
The limits.
If the old profile cannot be recovered and no .PFX exists, EFS files stay encrypted.
The private key is protected by the password in use at the time.
After a reinstall on an SSD the old profile has usually been erased by TRIM.
In more detail.
How EFS locks a file
Each EFS file is encrypted with its own key, and that key is stored with the file, wrapped by the public half of the user's EFS certificate. Opening the file needs the private half, which is kept in the user's profile and protected by a chain that ends in the user's Windows password. The arrangement is invisible while everything works, which is why most people who are locked out did not know that a certificate was involved.
What survives a reinstall
A reinstall that replaces the user profile removes the private key from where Windows looks for it. If the old profile's files still exist, on the old drive, in a Windows.old folder or as recoverable deleted data on a hard drive, the key material can be extracted and unlocked with the Windows password that was in use at the time. On an SSD, a reinstall usually leaves nothing of the old profile to recover.
What we need from you
The drive that held the original Windows installation, the encrypted files, and the Windows password in use when the files were encrypted. If you ever exported the certificate, the .PFX file and its password make the job simple. If the old profile is gone beyond recovery and no export exists, the files cannot be decrypted.
- Microsoft Learn: BitLocker FAQ — learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/bitlocker/faq
- Microsoft Learn: BitLocker recovery overview — learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/bitlocker/recovery-overview
Quotations were checked against the sources named on 15 November 2026. Microsoft and Apple revise their pages, so follow the links for the current wording. None of the companies named has any connection with this site.
Asked about this.
Is EFS the same as BitLocker?
No. BitLocker encrypts a whole drive. EFS encrypts chosen files for one user.
I copied the files to a USB stick and they open there.
Copying to a FAT or exFAT stick while signed in as the right user decrypts them. That only works while you still have the key.
Can the certificate be recreated?
No. A new certificate has a different key and will not open old files.
Do not reset it. Tell us what the screen says.
Say what the screen shows, what kind of drive it is and whether you have the key or password. Within a working day you hear what is possible and what is needed, free of charge. Forensic decryption is £400 + VAT flat per drive, taken when the drive is booked in and payable whether or not data is recovered. Until then, change nothing on the computer.