Infographic outlines finding encrypted files, backing up keys, decrypting data, and disabling encryption via Group Policy.
Windows' Encrypting File System (EFS) is still in the box. Right-click a file or folder, choose Properties, then Advanced, then "Encrypt contents," and the data is locked to your account. PCWorld's Roland Freist argues that on a shared or company PC this convenience is a hazard. If someone encrypts important files, then deletes the account without backing up the key, the files can end up permanently unreadable. His advice is to check for encrypted files first and then turn EFS off with Group Policy.

The advice holds up, with one correction. "Permanently unreadable" is the usual outcome, but it isn't always the case. Here is how the risk works, how to check for encrypted files and back up their keys, and how to disable EFS without losing anything.

Infographic outlines finding encrypted files, backing up keys, decrypting data, and disabling encryption via Group Policy. How EFS ties files to one account​

Microsoft's EFS protocol documentation describes EFS as a feature of NTFS that encrypts files without users or apps having to do anything. Each EFS user has a public/private key pair. When a file is encrypted, Windows creates a random symmetric key, encrypts the file with it, and then stores copies of that key in the file's metadata. Each copy is encrypted with the public key of a user or a data recovery agent (DRA) who is allowed to open the file.

Opening the file therefore requires one of the matching private keys. Delete the account, wipe the profile or reinstall Windows, and the encrypted file stays on disk while the only key that can open it may be gone. Independent guides describe the same scenario: if Windows is reinstalled, your profile is damaged, or you move the files to another PC without the certificate, you may not be able to open your encrypted files.

On a shared PC the bigger problem is awareness. Freist notes that EFS works on individual files and folders, unlike BitLocker's whole-drive encryption, so people may not remember what they encrypted. The person deleting an old account is often not the person who encrypted the files.

Summary: EFS doesn't fail randomly. It fails when the private key and the file get separated.

The correction: a recovery agent can sometimes save you​

PCWorld says nothing can be decrypted once the key is gone. Microsoft's documentation is less absolute. Its support article on backing up the recovery agent's private key explains that each time a file is encrypted, the file key is also encrypted with the recovery agent's public key. Whoever holds the recovery agent's private key can decrypt the file key and then the file.

That only helps if a recovery agent was set up and its private key still exists. The same article notes:

  • On older domain setups, the default recovery agent was the built-in Administrator account on the first domain controller. If that profile or that controller is gone, files can no longer be recovered through that agent.
  • A Windows XP machine in a workgroup had no default recovery agent at all. Someone had to create one manually.

So on most home PCs and small offices with no recovery agent, losing the user's key does mean losing the files. In a managed company, ask IT before writing anything off.

Who this affects​

EFS is not available on every edition. TheWindowsClub reminds readers that EFS file encryption only works on the Pro, Enterprise and Education editions of Windows 11 and Windows 10. Users of Windows 11/10 Home are unsupported by this feature. The Group Policy Editor used for the fix has the same limit. Freist says it ships with Pro, Education and business editions, and volunteer answers on Microsoft Q&A say it is not available on Windows 11 Home. Those answers also warn that scripts claiming to add the editor to Home are unsupported and may show policies that don't actually take effect.

In practice, the people at risk are on PCs running Pro or higher, which is also where the fix is available.

Step 1: Find out whether any files are encrypted​

Option A: NirSoft SearchMyFiles (third-party, portable). This is PCWorld's suggestion:

  1. Download SearchMyFiles from NirSoft. It doesn't need installing.
  2. Run SearchMyFiles.exe.
  3. In the Search Options window, go to the Attributes section and set Encrypted to Yes.
  4. Click Start Search.

NirSoft says the tool runs on Windows 2000 through Windows 11, on both 32-bit and 64-bit systems. One caution: the tool only searches the base folders you give it (and their subfolders if "Search Subfolders" is ticked), and it can be told to skip folders. An empty result means nothing was found in the places you searched. Make sure every local drive and every user profile folder is included.

Option B: the built-in cipher command. You don't need a third-party tool. Microsoft's cipher documentation, which covers Windows 10, Windows 11 and Windows Server 2016 through 2025, says that cipher /u /n finds all encrypted files on the local drives without changing anything. Running cipher alone in a folder lists its contents, with encrypted items marked E and unencrypted ones U.

Step 2: Back up keys, then decrypt what you find​

If the search finds anything, do this before touching Group Policy:

  1. Sign in as the user who encrypted the files. That account holds the private key.
  2. Back up the certificate and private key. At a command prompt, cipher /x exports the current user's EFS certificate and keys. One guide gives the example cipher /x "%UserProfile%\Desktop\Backup_EFSCertificates", which asks for a password to protect the backup. You can also use Certificate Manager (certmgr.msc): find the certificate that lists Encrypting File System under Intended Purposes, then choose All Tasks > Export > "Yes, export the private key." If this is greyed out, the private key is missing, which is a problem you want to find now rather than later.
  3. Store the .PFX file off the PC. Microsoft recommends keeping key backups on removable media in a physically secure place, because anyone who gets the private key can read the encrypted data.
  4. Decrypt the files. Use cipher /d on the files or folders. Add /s:<directory> to include subfolders, and /h to include hidden and system files, which cipher skips by default.
  5. Check the result. Run the search from Step 1 again. You're done when it comes back empty for every location.

Don't tick the option to delete the private key after a successful export. Microsoft warns that doing so removes the key from the computer, and you will no longer be able to decrypt your encrypted files.

Step 3: Disable EFS with Group Policy​

  1. Type Group Policy into the taskbar search and open Edit group policy.
  2. Go to Computer Configuration > Windows Settings > Security Settings > Public Key Policies.
  3. Right-click Encrypting File System and choose Properties.
  4. Under file encryption using EFS, select Don't allow and click OK.

Microsoft's protocol documentation says the EFS policy applies to the whole machine, so every user on that PC gets the same setting. To check that it worked, try to encrypt a file in File Explorer. According to PCWorld, you should get an error saying file encryption is disabled on this computer.

Disabling EFS does not decrypt anything. The policy only stops new encryption. Files that are already encrypted stay that way, which is why Step 2 has to come first.

Troubleshooting​

  • The export option is greyed out: the private key isn't on this profile. Look for an older .PFX backup or a recovery agent before you delete or rebuild anything.
  • SearchMyFiles finds nothing, but you're not convinced: check its base and excluded folders, then run cipher /u /n to compare.
  • You can't find Group Policy: you're probably on Windows Home, which per the TheWindowsClub note above can't create EFS files in the first place. Don't install unofficial gpedit packages.
  • The files belong to an account that's already deleted: if you're in a company, ask whether a recovery agent was configured and whether its private key still exists. That's the only documented way to get them back.

Is turning EFS off the right call?​

On a family PC or a hot-desk office machine, removing a feature people tend to forget they used is reasonable. EFS has real uses, though. It protects individual files from other people who sign in to the same PC, and BitLocker isn't designed for that. BitLocker encrypts the whole drive against offline theft and has its own recovery-key system, so it's a different layer of protection rather than a drop-in replacement. Organizations that rely on EFS can keep it if a recovery agent is set up and its key is properly stored.

For everyone else, the order matters: find the encrypted files, back up the keys, decrypt, and only then disable EFS.

 

References

  1. Sharing a Windows PC? Why you should disable EFS before it’s too late PCWorld 2026-10-29T16:38:17+00:00
  2. How to backup EFS encryption key in Windows 11/10 thewindowsclub.com
  3. Alternative to Windows Search For Files + Duplicates Search nirsoft.net