Hi All, anyone else has an idea how to sort this out?
Decrypt pfiles
Hello, I used to have all my files in windows 11 encrypted. After my laptop ran out of memory space I have copied the files to an usb stick and reinstalled windows 10 by whipping off the drive. Now that I am trying to open my files can see they are encrypted. I believe have lost the certificate file when reinstalling windows. I have installed the Information Protection Viewer but it doesn't give me permission to sign in with my personal microsoft account. I used the same microsoft personal account when I have encrypted the files first. How can I log in to the Info Protection Viewer and read my files now?
Thank you
Windows for home | Windows 10 | Files, folders, and storage
9 answers
Sort by: Most helpful
-
Alina B 0 Reputation points
2026-09-13T12:48:51.6366667+00:00 Hi Dyari,
Thank you for the prompt reply. I can confirm the Encrypt contents to secure data button is unchecked, see image below.
The usb stick is not protected and does not need a password.
The files I am trying to open are xlsx and jpg. Excell doesn't open it but attempts to import it, see below. The jpg files get an error referring to the .pfile format.
-
DYARI BARHAM 37,661 Reputation points Independent Advisor
2026-09-13T12:33:48.0266667+00:00 Thank you for the clarification.
If the encryption you used was BitLocker or Windows Device Encryption, it normally encrypts the entire drive rather than individual files. If you copied the files to a normal USB drive while Windows was running and the original drive was unlocked, the copied files should normally no longer be protected by BitLocker.
Also, since the Details button under Properties > Advanced is greyed out, this suggests that the files may not be using Windows EFS encryption.
Before try anything else, could you please check one affected file and let me know:
Right-click the file > Properties > Advanced. Is Encrypt contents to secure data checked or unchecked?
What happens exactly when you try to open the file? Please provide the complete error message or a screenshot.
What type of file is it, for example .docx, .xlsx, .pdf, .jpg, etc.?
Can you also confirm whether the USB drive itself is protected with BitLocker? If it is, Windows would normally ask for a BitLocker password or recovery key when accessing the drive.
Please do not format the USB drive or modify the affected files for now.
-
Alina B 0 Reputation points
2026-09-13T12:29:10.3+00:00 Hi Dyari,
Thank you for coming back to me. I think I have chosen a generic encryption when installing Windows 11, I recall Bitlocker might have been installed. I have not selected files or folders to encrypt in isolation. It's the entire drive.
I have followed your instruction to check the Details and find which certificate was used, unfortunately the Details button is greyed out.
Thank you,
Alina
-
DYARI BARHAM 37,661 Reputation points Independent Advisor
2026-09-13T12:14:20.94+00:00 Hi,
I'm Dyari. Thanks for reaching out.
Could you confirm how the files were encrypted? Did you encrypt them by right-clicking the folder > Properties > Advanced > Encrypt contents to secure data?
If yes, this is EFS encryption. EFS uses an encryption certificate and private key stored in your original Windows user profile.
Before reinstalling Windows, did you export or back up your EFS certificate, usually as a .PFX file?
If you have the certificate backup, you can import it into your current Windows installation and should then be able to access the files.
If you do not have the original EFS certificate and the previous Windows installation was erased, unfortunately Windows cannot generate the old key again. Signing in with the same Microsoft account does not restore the EFS certificate.
The Microsoft Information Protection Viewer would not help if these files were encrypted using Windows EFS.
You can also right-click one of the affected files > Properties > Advanced > Details to check which certificate was used to encrypt it.
Please keep me posted.