Document Key
Windows 10 & 11 Buy license · $29.95
Troubleshooting

Forgot the Password to an Encrypted File? What You Can and Cannot Do

Forgot the password to an encrypted file, ZIP, PDF or Office document? See which recovery options actually work and how to avoid a lockout next time.

Updated 5 minute read The Document Key team

If you forgot the password to an encrypted file, your realistic options are: find the password (in a password manager, browser, notes or by trying likely variations), use a recovery key if the encryption tool gave you one, or, for weaker formats such as old-style ZIP passwords or short passwords, try a password recovery tool that guesses. What you cannot do is bypass strong encryption. With AES-256 and a long password, there is no back door, and nobody, including the software maker, can open the file without the password or a recovery key.

Here is what to try first, what works for each file type, and how to make sure it never happens again.

Step 1: Look for the password before you try anything else

Most "forgotten" passwords are written down somewhere. Check these before spending time on recovery tools:

  • Your password manager, searching for the file name, the client or the year.
  • Passwords saved in your browser, in case you reused one.
  • Old emails and text messages, especially if the file was sent to you or by you. Search for "password".
  • Paper notes, filing cabinets and the place you keep important documents.
  • The person who sent it. If someone else encrypted the file, ask them to resend the password, or the file with a new one.

Step 2: Try the obvious variations

Passwords often fail because of how they are typed, not because they are wrong. Try:

  • With Caps Lock off and on. Passwords are case sensitive.
  • Typing it rather than pasting it, since copied text often carries a hidden space.
  • Checking the keyboard layout in the taskbar. A US and UK keyboard swap symbols such as @ and ", and other layouts move letters too.
  • Your usual password with the year, a different number at the end, or an exclamation mark added.
  • Older passwords you have used for similar files.

Be aware that some tools deliberately slow down repeated wrong guesses, so a few careful tries are better than many rushed ones.

What works for each type of file

File typeRecovery options
Document Key encrypted filesUse the recovery key you printed or saved during setup
Word, Excel, PowerPoint (Encrypt with Password)No Microsoft reset; guessing tools only help with weak passwords
PDF with an open passwordNo reset; guessing tools only help with weak passwords
ZIP with ZipCryptoOften recoverable with specialist tools because the method is weak
ZIP with AES-256Only by guessing; practical only for short passwords
EFS (padlock icon)Sign in to the original Windows account, or import a backed-up EFS certificate
BitLocker or Device EncryptionRecovery key from your Microsoft account, a printout or a saved file

Files encrypted with Document Key

When you set up Document Key, it asks you to print or save a recovery key, precisely so a forgotten password does not mean losing your files forever. Find that printout or file and use it to regain access, then set a new password. Without either the password or the recovery key, the files cannot be opened by anyone, including Easier Software.

Office documents and PDFs

Microsoft cannot reset the password on a document encrypted with Encrypt with Password, and PDF makers cannot reset an open password. Password recovery programs work by trying huge numbers of candidates. They can succeed when the password was short, a single dictionary word, or a name and a year. Against a long passphrase, they will not finish in any useful time.

Note that the "Restrict Editing" and "Protect Sheet" options in Office are not encryption at all, so if that is what you forgot, the content is still readable and the restriction can usually be removed.

ZIP files

It matters which encryption the ZIP used. Archives made with the old ZipCrypto method have a known weakness, and specialist tools can often recover the contents, especially if you still have an unencrypted copy of any one file that is inside. AES-256 ZIPs can only be attacked by guessing. Our guide on whether ZIP password protection is secure explains the difference.

EFS and BitLocker

EFS files are not protected by a separate password. They open when you are signed in to the Windows account that encrypted them. Trouble starts after a Windows reinstall, a move to a new PC, or an administrator resetting your password, because the encryption keys tied to your old account may no longer be usable. If you exported your EFS certificate, import it to regain access; if not, the files are usually lost. See EFS encrypted files access denied after reinstall for the details.

For BitLocker and Device Encryption, the recovery key is often saved in your Microsoft account. Our guide on where to find a BitLocker recovery key lists every place to look.

A word on password recovery tools

Use recovery tools only on files you own or have permission to open. Download them from the developer's own site, and be wary of "unlock any file instantly" claims: no tool can break properly implemented AES-256 encryption with a strong password. Avoid uploading a sensitive file to an online "password remover", since that hands the encrypted file, and anything recovered from it, to a stranger.

How to never lose access again

  1. Use a password manager and save every encryption password in it as soon as you create it, with a note of which files it protects.
  2. Save the recovery key whenever a tool offers one. Print it and keep it with important papers, away from the PC.
  3. Prefer a memorable passphrase of several random words over a short, complex password you will forget.
  4. Test before you rely on it. After encrypting, close the file and open it again with the password.
  5. Keep a backup of important files in a second encrypted location, protected by a password you also record.

Our guide to creating a strong password for encryption shows how to make one that is both secure and memorable.

If a file holds something you cannot afford to lose, such as a will, deeds or the only copy of family photos, keep an encrypted backup with a different password stored in a different place. One forgotten password then cannot cost you everything.

Frequently asked questions

Can the software maker unlock my encrypted file?

With properly designed encryption, no. The key comes from your password, so without the password or a recovery key nobody can open the file.

Do password recovery tools work?

They can work on weak passwords and on older formats such as legacy ZIP encryption, because they guess quickly. Against a long password protected by AES-256, guessing is not practical.

I reset my Windows password and lost access to EFS files. Why?

EFS keys are protected by your Windows sign-in. If an administrator resets the password instead of you changing it, the keys can become unusable unless you backed up your EFS certificate or a recovery agent was set up.

Get three guides like this every month, plus software update notices.Subscribe →