Menu
InformatiWeb
  • Index
  • Courses
  • Tutorials
  • InformatiWeb Pro

Login

Registration Password lost ?
FR
  • IT
    • Articles
    • Backup
    • BIOS
    • Live CD
    • MultiBoot
    • Security
    • Virtualization
    • Web
    • Windows
  • InformatiWeb
  • Tutorials
  • IT
  • Windows
  • Encrypt data using the Encrypting File System (EFS) on Windows 10 and 11

Encrypt data using the Encrypting File System (EFS) on Windows 10 and 11

  • Windows
  • Windows 10, Windows 11
  • 01 December 2023 at 19:30 UTC
  • Lionel
  • 3/4
Previous page

7. Test as administrator

On Windows, there is an "Administrator" account which allows you to obtain all the rights (or almost) and which is disabled by default.
To enable it, refer to our "Windows 7 / 8 / 8.1 / 10 / 11 - Enable the Administrator account" tutorial.

Once this "Administrator" account is enabled, log in with it.

Attempt to access the file encrypted by another user of this computer.

As you can see, only the user who encrypted this file can access it.
Indeed, it's the only one who has the private key allowing to decrypt (read) the encrypted header of this file to obtain the symmetric key which makes it possible to encrypt and decrypt the contents of this file.

So, even the real "Administrator" account created by default on Windows will not be able to access it.

Plain Text

You do not have permission to open this file. See the owner of the file or an administrator to obtain permission.

Create a file as administrator, then right-click "Properties" on it.

Click on the "Advanced" button.

Check the "Encrypt contents to secure data" box and click OK.

Click OK for the properties window.

Select "Encrypt the file only" and click OK.

Again : since this is the 1st file that the administrator has encrypted, a notification will appear to allow you to save the key and the EFS certificate of the administrator.
For more information about this EFS backup, refer to step "5. Notification for exporting your file encryption key" of this tutorial.

8. Manually export the EFS certificate and its associated private key

If you no longer see the notification or associated icon of EFS in the Windows taskbar (next to the time), you will need to manually export the EFS certificate generated for your user account.
To do this, reuse the previously saved "mmc" console.

If you don't have this "mmc" console pre-registered, refer to step "3. Manage certificates on Windows" of this tutorial to obtain it.

Then, go to "Certificates - Current User -> Personal -> Certificates" and right click "All Tasks -> Export" on the certificate whose intended purpose is "Encrypting File System".

The "Certificate Export" wizard appears.
Click Next.

Select "Yes, export the private key" to be able to export the certificate and its associated private key (as it would have been with the notification from EFS).

As expected, the wizard allows you to export this certificate in ".pfx" format.
Leave the options checked by default as it matches the options checked by default when you back up your EFS certificate and associated private key.

Specify a password to protect the private key that will be exported with the certificate and leave the cipher selected as the default since it matches the one currently used by your EFS certificate.

Click "Browse" to choose where you want to save it.

Save this certificate on an USB key (for example) or in any other secure location.

Click Next.

Click Finish.

The message "The export was successful" appears.

As expected, the certificate was exported in ".pfx" format (as it would have been if you had exported it from the EFS notification).

Next page

Share this tutorial

Partager
Tweet

To see also

  • Upgrade Windows 10 - Fix v20H1 / v20H2 to 21H1 issue

    Windows 9/4/2023

    Upgrade Windows 10 - Fix v20H1 / v20H2 to 21H1 issue

  • Windows - Install Windows in UEFI mode (GPT)

    Windows 9/19/2022

    Windows - Install Windows in UEFI mode (GPT)

  • Windows 10 - Tabbed file explorer (via Files)

    Windows 2/3/2025

    Windows 10 - Tabbed file explorer (via Files)

  • Windows 11 - Download the official iso from Microsoft's server

    Windows 1/25/2022

    Windows 11 - Download the official iso from Microsoft's server

Comments

No comment

Share your opinion

Pinned content

  • Useful softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

InformatiWeb Pro

  • Win. Server administration
  • Linux Administration
  • Virtualization

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.