Fix: Error 0x80071771 on Windows

Some users are getting the 0x80071771 error when trying to open or handle a file on Windows 10. This is typically reported to occur after the user has upgraded to the latest Windows version from an older version.  The error message is sometimes accompanied by the message “The specified file could not be decrypted“.

Error 0x80071771 on Windows 10

What is causing the 0x80071771 error?

We investigated this particular issue by looking at various user reports and the repair strategy that affected users have been using to resolve the problem.

As it turns out, this particular error code is mostly encountered when the user tries to access a file that was previously created and encrypted on a different computer.

This particular error message is mostly associated with files that have been encrypted with the Encrypting File System (EFS). This is a Windows built-in encryption that is widely being used to encrypt files and folders to protect them from unwanted access.

This encryption system was designed to keep your confidential data from being accessed by threats or attacker with access to your computer. The thing is, once the file is encrypted, a certificate is required in order to access it from a different device. Because of this, an encrypted file can only be accessed on the machine that is was encrypted with no additional operations.

With this in mind, there are two ways that you can access an encrypted file on a different computer:

  • By decrypting a file before moving it to a new computer.
  • By moving the encrypted file to the new computer along with the certificate or encryption key.

If you’re currently looking for a way to resolve the 0x80071771 error, this article will provide you with a couple of troubleshooting steps. Chances are not every method featured below will be applicable to your scenario.

Because of this, we advise you to follow the methods in the order that they are presented in and disregard those that can’t be replicated. You should eventually stumble upon a method that will resolve the issue for you.

Method 1: Obtaining full permission to access the file

One way that might allow you to access the encrypted file is to give yourself full permission to access the system files and then follow one of the internal decrypting methods to unlock the files. But keep in mind that this method will not work in those scenarios where the file was originally encrypted on a different machine.

You’ll need to follow the steps below on the computer where the file was originally encrypted. Upon completing them, you will be able to move the file and open it on a different computer without encountering the  0x80071771 error.

Several affected users have reported that they were able to resolve the 0x80071771 error by following the steps below. Here’s what you need to do:

  1. Inside File Explorer, right-click on the drive letter that you’re encountering the issue with and choose Properties.
    Accessing the Properties screen of the affected drive
  2. Inside the properties screen, go to the Security tab and click the Edit button (near To change permissions, click Edit).
    Changing permissions from the Security tab
  3. From the security tab, click the Add button under Group or user names.
    Adding more permissions to the volume
  4. Inside the Select Users or Groups window, type Everyone in the box under Enter the object names to select (examples) and click Ok to save the changes.
    Adding the Everyone group to the permissions for the volume drive
  5. Once you return to the Permissions window, select the Everyone group and put all checkmarks to the allow box under Permissions for Everyone.
    Allowing Full Control for the Everyone group
  6. Hit Apply to save the changes. Next, return to the Security tab in the Properties of the affected volume, but this time click the Advanced button (associated with Special permissions or advanced settings)
    Accessing the special permissions menu of the affected drive
  7. From the Advanced Security Settings window, go to the Permissions tab and click on Change.
    Changing the default owner
  8. Then, from the Select User or Group window, type Everyone under Enter the object name to select and hit Ok to save the changes.
    Adding the Everyone group to Special Permissions
  9. Next, make sure to check the box associated with Replace owner on subcontainers and objects.
    Replacing the owner on sub containers and objects
  10. With the owner as Everyone, go to the Auditing tab and click on Add.
    Accessing the Auditing tab of the affected drive
  11. Under the Auditing Entry for the affected volume, select Everyone as Principal, then go to the Basic permission section and check the box associated with Full control. Finally, click Ok then Apply to save the changes.
    Establishing Full Control over the Basic Permissions

After completing the steps above, your computer just obtained full permissions to access the file. Next, follow the steps below to use an elevated Command Prompt  to decrypt the file:

  1. Press Windows key + R to open up a Run dialog box. Then, type “cmd” and press Ctrl + Shift + Enter to open up an elevated Command Prompt. When prompted by the UAC (User Account Control), click Yes to grant administrative privileges.
    Running CMD as an admin
  2. Once you arrive into the elevated Command Prompt, type the following command to decrypt the file that was previously showing the 0x80071771 error:
    cipher /d “full path of file with extension”

    Note: “full path of file with extension”
    is obviously a placeholderYou need to replace it with the actual file path. For example: C:\Users\madro\Desktop\appuals\0x80071771.jpg.
  3. Try to open the file and see if the error has been resolved.

If you’re still encountering the 0x80071771 Error – “The specified file could not be decrypted” issue when trying to open the file, move down to the next method below.

Method 2: Importing the EFS File Encryption Certificate + Key in Windows 10 

The only way that will allow you to open an encrypted file (EFS file) on a different computer is to import it along with the certificate and key. Any individual app that doesn’t have the appropriate file encryption key will not be able to open it.

But in order for this method to be applicable, you need to have access to the computer that was used to encrypt the file and export the key + certificate. Here’s a quick guide on how to do this:

Exporting the EFS Certificate + Key

  1. Press Windows key + R to open up a Run dialog box. Then, type “certmgr.msc” and press Enter to open the Certificates Manager utility.
  2. Inside the Certificates Manager utility, select Certificates from the left-hand pane and click on Personal. Then, move over to the right-hand side panel and double-click on Certificates.
  3. Right-click on the Certificate that you need to import to the new computer and choose All Tasks > Export.
  4. Click Next on the first screen and choose Yes, export the private key at the next screen.
  5. Select Personal Information Exchange – PKCS #12 and make sure that the boxes associated with Include all certificates in the certification path, Export all extender properties and Enable certificate privacy are checked. Then, hit Next to proceed to the next screen.
  6. Set a password for the PFX file and confirm it. Make sure to leave the encryption to TripleDES before clicking Next again.
  7. Hit the Browse button and set a location where you want the PFX file to be saved. Then, click Next once again.
  8. Finally, click Finish to complete the process.
Exporting a PFX file

The steps below will show you how to import the PFX file that is used for your file encryption certificate and the key used with the EFS on a different computer. There are two different methods that you can use to import that certificate + key.

Both methods will work for any version of Windows 10, so follow whichever one is more convenable to your current situation:

Option One: Importing EFS File Encryption Certificate and key via PFX file

  1. Once you retrieved the PFX file from the first computer, move it to the one where you’re encountering the 0x80071771 error on.
  2. Once the PFX file has been moved to the new computer, right-click on it and choose Install PFX.
  3. Under Store Location, choose Current User and hit Next to proceed.
  4. Make sure the correct PFX file is selected from the File to Import window and click Next once again.
  5. In the next screen, enter the password that you used when you encrypted the file under the Password field. Then, check the boxes associated with Mark this key as exportable and Include all extended properties.
  6. Next, select the toggle associated with Automatically select the certificate store based on the type of certificate and click next once again.
    Note: You might also see a Security warning if Windows cannot validate the certificate. If this happens and you trust the origins of the file, click Yes to confirm.
  7. Click Finish to confirm the importing process.  At the final prompt, click Ok to apply the final confirmation.
Importing Key + Certificate via PFX file

Option Two: Importing EFS File Encryption Certificate and key via Certificates Manager

  1. Press Windows key + R open up a Run command. Then, type “certmgr.msc” and press Enter to open up the Certificates Manager.
  2. Once you’re inside the Certificate Manager utility, go to the left-hand pane and right-click the Personal folder (under Certificates – Current User).
  3. Then, select All Tasks and choose Import to bring up the importing wizard.
  4. At the first screen, make sure that Current User is selected and click Next to proceed.
  5. From the next screen, click the Browse button and navigate to the location of the PFX file that you’re trying to import. Then, click Open and select Next once again to proceed further with the importing wizard.
  6. In the next screen, type the password of the PFX file and make sure that the boxes associated with Mark this key as exportable and Include all extended properties are checked.
  7. Next, select the toggle associated with Automatically select the certificate store based on the type of certificate and click Next once again.
  8. Hit Finish to complete the importing process, then Click Ok at the final prompt.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.