Bitlocker Failing to encrypt Error: -2016346112 (No Error Code)

%3CLINGO-SUB%20id%3D%22lingo-sub-2057309%22%20slang%3D%22en-US%22%3EBitlocker%20Failing%20to%20encrypt%20Error%3A%20-2016346112%20(No%20Error%20Code)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2057309%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20just%20learning%20Intune%20and%20I'm%20setting%20up%20everything%20for%20the%20first%20time.%20I%20setup%20BitLocker%20I%20have%20my%20settings%20below.%20On%20my%20Virtual%20machine%20that%20I%20connected%20with%20Autopilot%2C%20Bitlocker%20encrypted%20the%20drive%20just%20fine%20(even%20though%20I%20get%20the%20same%20error%20code%20above).%26nbsp%3B%20What%20I%20mean%20is%2C%20I%20can%20look%20in%20the%20Virtual%20Machine%20and%20it%20shows%20the%20drive%20is%20encrypted%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20my%20desktop%2FPhysical%20machine%2C%20however%2C%20it%20is%20not%20encrypted%20and%20I%20get%20the%20same%20error.%20If%20I%20go%20into%20the%20Device%20information%20and%20click%20on%20the%20properties%20all%20the%20settings%20are%20successful%20except%20for%20%22Encrypt%20Devices%22%20and%20that%20has%20a%20state%20details%20of%3A%20-2016346112%20(No%20Error%20Code)%20If%20I%20click%20on%20that%20line%20the%20sidebar%20comes%20out%20and%20it%20says%20error%20code%3A%200x87d10000%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESearching%20on%20the%20Internet%20reveals%20ZERO%20answers.%20I'm%20not%20sure%20what%20is%20going%20on%20here.%20Can%20anyone%20shed%20some%20light%20on%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%3A%20I%20should%20mention%20my%20desktop%20has%20two%20Hard%20Drives.%20I%20don't%20know%20if%20that%20matters.%3C%2FP%3E%3CP%3EEdit%202%3A%20I%20am%20running%20TPM%202.0%20it%20is%20a%20new%20dell%20mfg'd%20in%20December.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2057309%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ebitlocker%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2064362%22%20slang%3D%22en-US%22%3ERe%3A%20Bitlocker%20Failing%20to%20encrypt%20Error%3A%20-2016346112%20(No%20Error%20Code)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2064362%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F186539%22%20target%3D%22_blank%22%3E%40Thijs%20Lecomte%3C%2FA%3E%26nbsp%3BI%20did%20search%20on%20the%20Application%20and%20Security%20logs%20and%20found%20nothing.%26nbsp%3B%20Under%20the%20%22Applications%20and%20Services%20Logs%22%20-%26gt%3B%20Microsoft%20-%26gt%3B%20Windows%20-%26gt%3BBitlocker-API%20and%20Bitlocker-DrivePreperationTool%20there%20is%20nothing.%20The%20latter%20is%20completely%20blank%20and%20the%20former%20has%20only%20informational%20logs%20saying%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20following%20DMA%20(Direct%20Memory%20Access)%20capable%20devices%20are%20not%20declared%20as%20protected%20from%20external%20access%2C%20which%20can%20block%20security%20features%20such%20as%20BitLocker%20automatic%20device%20encryption%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EISA%20Bridge%3A%3CBR%20%2F%3EPCI%5CVEN_8086%26amp%3BDEV_0697%20(Intel(R)%20LPC%20Controller%20(W480)%20-%200697)%3C%2FP%3E%3CP%3EPCI-to-PCI%20Bridge%3A%3CBR%20%2F%3EPCI%5CVEN_8086%26amp%3BDEV_1901%20(Intel(R)%20PCIe%20Controller%20(x16)%20-%201901)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20Did%20I%20just%20find%20something%3F%20Is%20that%20my%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066108%22%20slang%3D%22en-US%22%3ERe%3A%20Bitlocker%20Failing%20to%20encrypt%20Error%3A%20-2016346112%20(No%20Error%20Code)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066108%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20the%20same%20issue.%26nbsp%3B%20The%20%22No%20error%20code%22%20in%20Error%20Details%20is%20really%20helpful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20happen%20to%20resolve%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22DLindsay_0-1610753350943.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F246826i9639B858DB3E26DB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22DLindsay_0-1610753350943.png%22%20alt%3D%22DLindsay_0-1610753350943.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2070914%22%20slang%3D%22en-US%22%3ERe%3A%20Bitlocker%20Failing%20to%20encrypt%20Error%3A%20-2016346112%20(No%20Error%20Code)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2070914%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F881841%22%20target%3D%22_blank%22%3E%40DavidStewart-Palapanou%3C%2FA%3E%26nbsp%3BSo%20on%20this.%20Do%20I%20disable%20the%20settings%20I%20had%20setup%20under%20Configuration%20Profiles%20other%20than%20the%20few%20you%20have%20at%20the%20top%3F%20Reason%20I%20ask%20is%20now%20I%20get%20error%20messages%20of%20%22Conflict%22%20and%20it%20says%20the%20encryption%2C%20etc%20is%20Not%20applicable.%20Presumably%20because%20the%20settings%20are%20already%20set%20under%20configuration%20profiles.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2071260%22%20slang%3D%22en-US%22%3ERe%3A%20Bitlocker%20Failing%20to%20encrypt%20Error%3A%20-2016346112%20(No%20Error%20Code)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2071260%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F927889%22%20target%3D%22_blank%22%3E%40Tomnibus_MedOne%3C%2FA%3E-%20Yes%20that's%20right%2C%20you%20should%20set%20all%20settings%20outside%20of%20the%20ones%20I've%20advised%20to%20%22Not%20configured%22.%20There%20shouldn't%20be%20any%20conflicts%20once%20you're%20done.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I'm just learning Intune and I'm setting up everything for the first time. I setup BitLocker I have my settings below. On my Virtual machine that I connected with Autopilot, Bitlocker encrypted the drive just fine (even though I get the same error code above).  What I mean is, I can look in the Virtual Machine and it shows the drive is encrypted fine.

 

For my desktop/Physical machine, however, it is not encrypted and I get the same error. If I go into the Device information and click on the properties all the settings are successful except for "Encrypt Devices" and that has a state details of: -2016346112 (No Error Code) If I click on that line the sidebar comes out and it says error code: 0x87d10000

 

Searching on the Internet reveals ZERO answers. I'm not sure what is going on here. Can anyone shed some light on this?

 

Edit: I should mention my desktop has two Hard Drives. I don't know if that matters.

Edit 2: I am running TPM 2.0 it is a new dell mfg'd in December.

12 Replies
The Intune portal doesn't give you the feedback you need.
Have you searched in the Event Viewer within the 'Bitlocker' events to check for certain errors?

@Thijs Lecomte I did search on the Application and Security logs and found nothing.  Under the "Applications and Services Logs" -> Microsoft -> Windows ->Bitlocker-API and Bitlocker-DrivePreperationTool there is nothing. The latter is completely blank and the former has only informational logs saying this:

 

The following DMA (Direct Memory Access) capable devices are not declared as protected from external access, which can block security features such as BitLocker automatic device encryption:


ISA Bridge:
PCI\VEN_8086&DEV_0697 (Intel(R) LPC Controller (W480) - 0697)

PCI-to-PCI Bridge:
PCI\VEN_8086&DEV_1901 (Intel(R) PCIe Controller (x16) - 1901)

 

So, Did I just find something? Is that my issue?

I am having the same issue.  The "No error code" in Error Details is really helpful.

 

Did you happen to resolve it?

 

DLindsay_0-1610753350943.png

 

I had this myself, it's because for some reason the Standard AAD user account doesn't have permissions to perform silent encryption during Autopilot enrolment, despite being specified with the setting. It seemed to be a known issue that Microsoft were or are working on. I did this like 3 days ago so it's very recent, and it worked for me just fine.

In the end I created two separate settings, some in Endpoint security and some in Device configuration profiles.

I created the below settings in Devices > configuration profiles (Endpoint protection).

Encrypt devices
Require
Warning for other disk encryption
Block
Allow standard users to enable encryption during Azure AD Join
Allow
Configure encryption methods
Enable
Encryption for operating system drives
XTS-AES 256-bit
Encryption for fixed data-drives
XTS-AES 256-bit
Encryption for removable data-drives
AES-CBC 256-bit

I also created these settings in Endpoint security > Disk encryption.

Base:
Enable full disk encryption for OS and fixed data drives
- Yes
Require storage cards to be encrypted (mobile only)
- Not configured
Hide prompt about third-party encryption
- Yes
Allow standard users to enable encryption during Autopilot
- Yes
Configure client-driven recovery password rotation
- Not configured

Fixed drive:
BitLocker fixed drive policy
- Configure
Fixed drive recovery
- Configure
Recovery key file creation
- Allowed
Configure BitLocker recovery package
- Password and key
Require device to back up recovery information to Azure AD
- Yes
Recovery password creation
- Required
Hide recovery options during BitLocker setup
- Yes
Enable BitLocker after recovery information to store
- Yes
Block the use of certificate-based data recovery agent (DRA)
- Not configured
Block write access to fixed data-drives not protected by BitLocker
- Yes
Configure encryption method for fixed data-drives
- AES 256bit XTS

OS drive:
BitLocker system drive policy
- Configure
Startup authentication required
- Yes
Compatible TPM startup
- Required
Compatible TPM startup PIN
- Blocked
Compatible TPM startup key
- Blocked
Compatible TPM startup key and PIN
- Blocked
Disable BitLocker on devices where TPM is incompatible
- Yes
Enable preboot recovery message and url
- Not configured
System drive recovery
- Configure
Recovery key file creation
- Allowed
Configure BitLocker recovery package
- Password and key
Require device to back up recovery information to Azure AD
- Yes
Recovery password creation
- Required
Hide recovery options during BitLocker setup
- Yes
Enable BitLocker after recovery information to store
- Yes
Block the use of certificate-based data recovery agent (DRA)
- Not configured
Minimum PIN length
- Empty
Configure encryption method for Operating System drives
- AES 256bit XTS

Removable drive:
BitLocker removable drive policy
- Configure
Configure encryption method for removable data-drives
- AES 256bit CBC
Block write access to removable data-drives not protected by BitLocker
- Yes
Block write access to devices configured in another organization
- Not configured

The encryption will succeed silently and automatically, even for standard users, during the enrolment status page (ESP) and once the user signs into their device for the first time. If you haven't enabled ESP, then it won't work during Autopilot provisioning, so make sure it's been configured. The portal will display an error until it applies and starts to encrypt, which will be during the final phase in ESP. Plus, make sure any existing encryption is disabled before doing this. It can take about 20 minutes after entering the final phase in ESP for the Endpoint manager admin portal to report the profile succeeded.

Also, even though the windows event logs don't have anything, this happened to me too. I did notice that there was some information in the Windows System Information app. Scroll down until you see an entry related to encryption, that's where I found an encryption error. Although it can present strange errors so be cautious before following what it says! Mine told me to sort out the TPM but it was fine in the end.

Hope it helps.

@DavidStewart-Palapanou So on this. Do I disable the settings I had setup under Configuration Profiles other than the few you have at the top? Reason I ask is now I get error messages of "Conflict" and it says the encryption, etc is Not applicable. Presumably because the settings are already set under configuration profiles.

@Tomnibus_MedOne- Yes that's right, you should set all settings outside of the ones I've advised to "Not configured". There shouldn't be any conflicts once you're done.

@DavidStewart-Palapanou Well, darn. I went ahead and did that and it doesn't work. It still says there is a conflict.

 

I am going to double-check all the settings, I guess.

@Tomnibus_MedOne- You should be able to verify the conflicting setting by going to the device that has the conflict, selecting the setting under configuration profiles, and it should list where the setting has come from and the names of the profiles that are causing the conflict. Check the endpoint security section within the device blade as well. If you're using Microsoft Defender ATP security baseline, I think the built-in template defaults to a different level of encryption for removable media so you might find there's a conflict in there.

@DavidStewart-Palapanou Okay, I double-checked. I had to re-enable some of the settings under Configuration Profiles and then set the sub-settings to not configured, then set the main settings to not configured.

 

However, after doing that, I still get the same -2016346112 error with the error code 0x87d10000

 

Perhaps the above event viewer message about auto encryption is just that, it won't do auto encryption.

 

Oh, also, I'm a global admin and testing on a machine I am an administrator for. So the standard user thing isn't an issue for me (yet).

@Tomnibus_MedOne- Did you reset the device so that it goes through OOBE with Autopilot again after making changes? Any changes you apply won't retrospectively apply, you'll need to reset it. When your device goes through OOBE, use manage-bde -status to verify that encryption is in progress once you've logged into the device with the standard user account after setup completes all thre stages. The next time the device checks in after signing in, its status should sort itself out. It might still show that error code until OOBE has finished and the device checks in so give it ~15 minutes or so after signing in before checking.

Also you'll need to ensure that the device has been decrypted first.

@DavidStewart-Palapanou I did not because I'm attempting to install it on my Desktop machine that I have customized a lot. :) I'll see what happens with some test machines.

@Tomnibus_MedOne- That makes sense. In that case, yes that'll be why there's no changes to the value you're getting in Intune. Try and build a Hyper-V Gen2 VM to test it. You'll need to ensure you have sorted the prerequisites, such as secure boot and TPM. Also, make sure there's no ISO mounted as a DVD.

 

Something like this will help:

https://docs.microsoft.com/en-us/windows/deployment/windows-autopilot/demonstrate-deployment-on-vm