Security | Vulnerability Scans and Assessment Windows Server

How to determine why an MBAM-protected device is non-compliant

troubleshooting MBAM non-compliance
BitLocker Management with MBAM

In this article, we shall discuss why an MBAM-protected device is non-compliant. MBAM includes log information for server installation, client installation, and events. This log should be referred to for troubleshooting. MBAM has separate event-logging channels. The Admin, Analytical, and Operational log files are located in Event Viewer, under Application and Services Logs > Microsoft > Windows > MBAM. The table below is a typical error displayed by MBAM when the agent is unable to report the device status to the database. Please see ENOENT: No such file or directory Error in Docker build, and how to enable or disable BitLocker Drive Encryption on Windows 10 and Virtual Machines.

MBAM is an administrator interface used to manage BitLocker drive encryption. Kindly refer to the following similar guides on BitLocker. How to view BitLocker disk encryption status in Windows, how to backup existing and new BitLocker recovery keys to Active Directory, and BitLocker Drive Encryption architecture and implementation types on Windows.

Screenshot-2022-01-12-at-19.29.25

WMI provides the following noncompliance codes and describes the reasons why MBAM reports a particular device as noncompliant. As you can see in the image above, this device is non-compliant without any errors.

In this guide, I will describe various errors and how to fix them. Kindly refer to the following similar guides on BitLocker. How to view BitLocker disk encryption status in Windows, and how to backup existing and new BitLocker recovery keys to Active Directory.

Inspecting WMI Using PowerShell for Analysis

You can use your preferred method to view WMI, such as Commandline or PowerShell. If you use PowerShell, run the following command below.

gwmi -class mbam_volume -Namespace root\microsoft\mbam
device compliance issues

Below are possible reasons for non-compliance. As you can see in the image below, there isn’t a reason for this error other than, that the device isn’t in sync with the domain. It’s not connected to the network via VPN, as it’s in remote use.

Table showing reasons for Non-Compliance

You should be able to determine various reasons from your experience with MBAM. This guide shows how to create MBAM Enterprise and Compliance, and Recovery Audit reports.

Non-Compliance CodeReason for Non-Compliance
0Cipher strength, not AES 256.
1MBAM Policy requires this volume to be encrypted but it is not.
2MBAM Policy requires this volume to NOT be encrypted, but it is.
3MBAM Policy requires this volume to use a TPM protector, but it does not.
4MBAM Policy requires this volume to use a TPM+PIN protector, but it does not.
5MBAM Policy does not allow non-TPM machines to report as compliant.
6Volume has a TPM protector but the TPM is not visible (booted with recover key after disabling TPM in BIOS?).
7MBAM Policy requires this volume to use a password protector, but it does not have one.
8MBAM Policy requires this volume NOT to use a password protector, but it has one.
9MBAM Policy requires this volume to use an auto-unlock protector, but it does not have one.
10MBAM Policy requires this volume NOT to use an auto-unlock protector, but it has one.
11Policy conflict detected preventing MBAM from reporting this volume as compliant.
12A system volume is needed to encrypt the OS volume but it is not present.
13Protection is suspended for the volume.
14AutoUnlock is unsafe unless the OS volume is encrypted.
15The policy requires minimum cipher strength is XTS-AES-128 bit, actual cipher strength is weaker than that.
16The policy requires minimum cipher strength is XTS-AES-256 bit, actual cipher strength is weaker than that.

Via CMD to determine why an MBAM-protected device is non-compliant

wmic /namespace:\root\microsoft\mbam path MBAM_Volume where "VolumeName like 'C:%'" get ReasonsForNoncompliance

WMI to determine why an MBAM-protected device is non-compliant

Namespace: root\Microsoft\MBAM
Select ReasonsForNoncompliance from MBAM_Volume where VolumeName like 'C:%'

You may want to see how to fix missing BitLocker Recovery Tab in Active Directory Users and Computers, and how to enable or disable BitLocker Drive Encryption on Windows 10 and Virtual Machines.

Configuration Manager (current branch)

As described above, the WMI on the client provides the following non-compliance codes and the reasons why a particular device reports as non-compliant. There are various methods to view WMI.

Utilize the provided PowerShell command or the previously mentioned technique to determine why an MBAM-protected device is non-compliant. You may also want to see how to resolve the following issue “waiting for auto-provisioning“.

(Get-WmiObject -Class mbam_Volume -Namespace root\microsoft\mbam).ReasonsForNoncompliance

Checking Compliance through Attribute Analysis

Note: This command won’t yield results if the device is compliant. Another way to verify compliance is by inspecting this class’s ‘Compliant’ attribute, indicated as ‘1’. This helps in understanding why an MBAM-protected device is non-compliant.

Also, see  BitLocker Drive Encryption architecture and implementation types on Windows, how to fix missing BitLocker Recovery Tab in Active Directory Users and Computers, and

Querry Remote Device TPM Status

But to remotely query the compliance status of a device, you can run the command, replacing mpLApstop1 with your device name.”Get-WmiObject -namespace root\cimv2\security\MicrosoftVolumeEncryption -class Win32_EncryptableVolume -ComputerName mpLApstop1“.

Get-WmiObject -namespace root\cimv2\security\MicrosoftVolumeEncryption -class Win32_EncryptableVolume -ComputerName mpLApstop1

Explore this comprehensive guide for deploying the Microsoft BitLocker Administration and Monitoring Tool. If you’re wondering why an MBAM-protected device is non-compliant, this blog post offers insights. Feel free to leave any questions in the comments section.

Rate this post
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x