14 KiB
title, description, ms.reviewer, manager, ms.author, ms.prod, author, ms.date
title | description | ms.reviewer | manager | ms.author | ms.prod | author | ms.date |
---|---|---|---|---|---|---|---|
Personal Data Encryption (PDE) | Personal Data Encryption unlocks user encrypted data at user sign in instead of at boot | aaroncz | frankroj | m365-security | frankroj | 09/22/2022 |
Personal Data Encryption
(Applies to: Windows 11, version 22H2 and later Enterprise and Education editions)
Personal data encryption (PDE) is a security feature introduced in Windows 11, version 22H2 that provides encryption of individual user files. PDE occurs in addition to other encryption methods such as BitLocker.
PDE utilizes Windows Hello for Business to link data encryption keys with user credentials. This feature can minimizes the number of credentials the user has to remember to gain access to files. For example, when using BitLocker with PIN, a user would need to authenticate twice - once with the BitLocker PIN and a second time with Windows credentials. This requires users to remember two different credentials. With PDE, users only need to enter one set of credentials via Windows Hello for Business.
PDE is also accessibility friendly. For example, The BitLocker PIN entry screen doesn't have accessibility options. PDE however uses Windows Hello for Business, which does have accessibility features.
Unlike BitLocker that releases data encryption keys at boot, PDE doesn't release data encryption keys until a user logs in using Windows Hello for Business. Users will only be able to access their PDE encrypted files once they've signed into Windows using Windows Hello for Business. Additionally, PDE has the ability to also discard the encryption keys when the device is locked.
Note
PDE is currently only available to developers via APIs. There is no user interface in Windows to encrypt files via PDE. There are also no policies that can be deployed to devices via MDM to encrypt files via PDE.
Prerequisites
-
Required
- Azure AD joined device
- Windows Hello for Business
- Windows 11, version 22H2 and later Enterprise and Education editions
-
Not supported with PDE
-
Highly recommended
- BitLocker Drive Encryption enabled
- Although PDE will work without BitLocker, it's recommended to also enable BitLocker. PDE is meant to supplement BitLocker and not replace it.
- Backup solution such as OneDrive
- In certain scenarios such as TPM resets or destructive PIN resets, the PDE encryption keys can be lost. In such scenarios, any file encrypted with PDE will no longer be accessible. The only way to recover such files would be from backup.
- Windows Hello for Business PIN reset service
- Destructive PIN resets will cause PDE encryption keys to be lost. The destructive PIN reset will make any file encrypted with PDE no longer accessible after a destructive PIN reset. Files encrypted with PDE will need to be recovered from a backup after a destructive PIN reset. For this reason Windows Hello for Business PIN reset service is recommended since it provides non-destructive PIN resets.
- Windows Hello Enhanced Sign-in Security
- Provides additional security when authenticating with Windows Hello for Business via biometrics or PIN
- Kernel and user mode crash dumps disabled
- Crash dumps can potentially cause the PDE encryption keys to be exposed. For greatest security, disable kernel and user mode crash dumps.
- Hibernation disabled
- Hibernation files can potentially cause the PDE encryption keys to be exposed. For greatest security, disable hibernation.
- BitLocker Drive Encryption enabled
PDE protection levels
PDE offers two levels of protection. The level of protection is determined based on the organizational needs. These levels can be set via the PDE APIs.
Level 1 | Level 2 | |
---|---|---|
Data is accessible when user is signed in | Yes | Yes |
Data is accessible when user has locked their device | Yes | No |
Data is accessible after user signs out | No | No |
Data is accessible when device is shut down | No | No |
Decryption keys discarded | After user signs out | After user locks device or signs out |
When will PDE encrypted files be inaccessible
When a file is encrypted with PDE, its icon will show a lock on it. If the user hasn't signed in locally with Windows Hello for Business or an unauthorized user attempts to access a PDE encrypted file, they'll be denied access to the file. Scenarios where a user will be denied access to a PDE encrypted file include:
- User has signed into Windows via a password instead of signing in with Windows Hello for Business biometric or PIN.
- If specified via level 2 protection, when the device is locked.
- When trying to access files on the device remotely. For example, UNC network paths.
- Remote Desktop sessions
- Other users on the device who aren't owners of the file, even if they're signed in via Windows Hello for Business and have permissions to navigate to the PDE encrypted files.
How to enable PDE
To enable PDE on devices, push an MDM policy to the devices with the following parameters:
- Name: Personal Data Encryption
- OMA-URI: ./User/Vendor/MSFT/PDE/EnablePersonalDataEncryption
- Data type: Integer
- Value: 1
There's also a PDE CSP available for MDM solutions that support it.
Note
Enabling the PDE policy on devices only enables the PDE feature. It does not encrypt any files. To encrypt files, use the PDE APIs to create custom applications and scripts to specify which files to encrypt and at what level to encrypt the files. Additionally, files will not encrypt via the APIs until this policy has been enabled.
Enabling PDE in Intune
- Sign into the Intune admin center
- Navigate to Devices > Configuration Profiles
- Select Create profile
- Under Platform, select Windows 10 and later
- Under Profile type, select Templates
- Under Template name, select Custom, and then select Create
- On the **Basics tab:
- Next to Name, enter Personal Data Encryption
- Next to Description, enter a description
- Select Next
- On the Configuration settings tab, select Add
- In the Add Row window:
- Next to Name, enter Personal Data Encryption
- Next to Description, enter a description
- Next to OMA-URI, enter in ./User/Vendor/MSFT/PDE/EnablePersonalDataEncryption
- Next to Data type, select Integer
- Next to Value, enter in 1
- Select Save, and then select Next
- On the Assignments tab:
- Under Included groups, select Add groups
- Select the groups that the PDE policy should be deployed to
- Select Select
- Select Next
- On the Applicability Rules tab, configure if necessary and then select Next
- On the Review + create tab, review the configuration to make sure everything is configured correctly, and then select Create
Configuring required prerequisites in Intune
Disabling Winlogon automatic restart sign-on (ARSO)
- Sign into the Intune admin center
- Navigate to Devices > Configuration Profiles
- Select Create profile
- Under Platform, select Windows 10 and later
- Under Profile type, select Templates
- Under Template name, select Administrative templates, and then select Create
- On the **Basics tab:
- Next to Name, enter Disable ARSO
- Next to Description, enter a description
- Select Next
- On the Configuration settings tab, under Computer Configuration, navigate to Windows Components > Windows Logon Options
- Select Sign-in and lock last interactive user automatically after a restart
- In the Sign-in and lock last interactive user automatically after a restart window that opens, select Disabled, and then select OK
- Select Next
- On the Scope tags tab, configure if necessary and then select Next
- On the Assignments tab:
- Under Included groups, select Add groups
- Select the groups that the ARSO policy should be deployed to
- Select Select
- Select Next
- On the Review + create tab, review the configuration to make sure everything is configured correctly, and then select Create
Configuring recommended prerequisites in Intune
Disabling hibernation
- Sign into the Intune admin center
- Navigate to Devices > Configuration Profiles
- Select Create profile
- Under Platform, select Windows 10 and later
- Under Profile type, select Settings catalog, and then select Create
- On the **Basics tab:
- Next to Name, enter Disable Hibernation
- Next to Description, enter a description
- Select Next
- On the Configuration settings tab, select Add settings
- In the Settings picker windows, select Power
- When the settings appear in the lower pane, under Setting name, select Allow Hibernate, and then select the X in the top right corner of the Settings picker window to close the window
- Change Allow Hibernate to Block, and then select Next
- On the Scope tags tab, configure if necessary and then select Next
- On the Assignments tab:
- Under Included groups, select Add groups
- Select the groups that the ARSO policy should be deployed to
- Select Select
- Select Next
- On the Review + create tab, review the configuration to make sure everything is configured correctly, and then select Create
Disabling crash dumps
- Sign into the Intune admin center
- Navigate to Devices > Configuration Profiles
- Select Create profile
- Under Platform, select Windows 10 and later
- Under Profile type, select Settings catalog, and then select Create
- On the **Basics tab:
- Next to Name, enter Disable Hibernation
- Next to Description, enter a description
- Select Next
- On the Configuration settings tab, select Add settings
- In the Settings picker windows, select Memory Dump
- When the settings appear in the lower pane, under Setting name, select both Allow Crash Dump and Allow Live Dump, and then select the X in the top right corner of the Settings picker window to close the window
- Change both Allow Live Dump and Allow Crash Dump to Block, and then select Next
- On the Scope tags tab, configure if necessary and then select Next
- On the Assignments tab:
- Under Included groups, select Add groups
- Select the groups that the ARSO policy should be deployed to
- Select Select
- Select Next
- On the Review + create tab, review the configuration to make sure everything is configured correctly, and then select Create
Differences between PDE and BitLocker
PDE | BitLocker | |
---|---|---|
Release of encryption keys | At user sign in via Windows Hello for Business | At boot |
Encryption keys discarded | At user sign out | At reboot |
Files encrypted | Individual specified files | Entire volume/drive |
Authentication to access encrypted file | Windows Hello for Business | When BitLocker with PIN is enabled, BitLocker PIN plus Windows sign in |
Accessibility | Windows Hello for Business is accessibility friendly | BitLocker with PIN doesn't have accessibility features |
Differences between PDE and EFS
The main difference between encrypting files with PDE instead of EFS is the method they use to encrypt the file. PDE uses Windows Hello for Business to secure the encryption keys that encrypts the files. EFS uses certificates to secure and encrypt the files.
To see if a file is encrypted with PDE or EFS
- Open the properties of the file.
- Under the General tab, select on the Advanced... button.
- In the Advanced Attributes windows, select on the Details button.
For PDE encrypted files, under Protection status: there will be an item listed as Personal Data Encryption is: and it will have the attribute of On.
For EFS encrypted files, under Users who can access this file:, there will be a Certificate thumbprint next to the users with access to the file. There will also be a section at the bottom labeled Recovery certificates for this file as defined by recovery policy:.
Encryption information including what encryption method is being used can be obtained with the command line cipher.exe /c command.