Share via

ServicesAllowedList from Bluetooth CSP Policy not applying

Hugo Himber 20 Reputation points
2026-01-27T12:40:31.96+00:00

Hello, I have a problem when I try to apply the Bluetooth CSP policy to use the ServicesAllowedList (using WMI bridge):

I ran the following command on PowerShell as a system user to only allow HID and Audio Bluetooth devices:


New-CimInstance -Namespace 'root\cimv2\mdm\dmmap' -ClassName 'MDM_Policy_Config01_Bluetooth02' -Property @{ParentID='./Vendor/MSFT/Policy/Config';InstanceID='Bluetooth';AllowDiscoverableMode=1;AllowAdvertising=1;ServicesAllowedList='{0000111E-0000-1000-8000-00805F9B34FB};{00001203-0000-1000-8000-00805F9B34FB};{00001108-0000-1000-8000-00805F9B34FB};{00001200-0000-1000-8000-00805F9B34FB};{0000110B-0000-1000-8000-00805F9B34FB};{0000110C-0000-1000-8000-00805F9B34FB};{0000110E-0000-1000-8000-00805F9B34FB};{0000110F-0000-1000-8000-00805F9B34FB};{00001801-0000-1000-8000-00805F9B34FB};{00001800-0000-1000-8000-00805F9B34FB};{0000180A-0000-1000-8000-00805F9B34FB};{00001813-0000-1000-8000-00805F9B34FB};{00001124-0000-1000-8000-00805F9B34FB};{00001812-0000-1000-8000-00805F9B34FB}';AllowPrepairing=1}

This command works as intended:


PS C:\Windows\system32> Get-CimInstance -Namespace "root\cimv2\mdm\dmmap" -ClassName "MDM_Policy_Config01_Bluetooth02"

AllowAdvertising                 : 1

AllowDiscoverableMode            : 1

AllowPrepairing                  : 1

AllowPromptedProximalConnections :

InstanceID                       : Bluetooth

LocalDeviceName                  :

ParentID                         : ./Vendor/MSFT/Policy/Config

ServicesAllowedList              : {0000111E-0000-1000-8000-00805F9B34FB};{00001203-0000-1000-8000-00805F9B34FB};{00001108-0000-1000-8000-00805F9B34FB};{00001200-0000-1000-8000-00805F9B34FB};{0000110B-0000-1000-8000-00805F9B34FB};{0000110C-0000-1000-8000-00805F9B34FB};{0000110E-0000-1000-8000-00805F9B34FB};{0000110F-0000-1000-8000-00805F9B34FB};{00001801-0000-1000-8000-00805F9B34FB};{00001800-0000-1000-8000-00805F9B34FB};{0000180A-0000-1000-8000-00805F9B34FB};{00001813-0000-1000-8000-00805F9B34FB};{00001124-0000-1000-8000-00805F9B34FB};{00001812-0000-1000-8000-00805F9B34FB}

SetMinimumEncryptionKeySize      :

PSComputerName                   :

The configuration is correctly set up in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\current\device\Bluetooth.

When I tried to send a file to a phone using fsquirt, it is correctly blocked and says "disabled by policy."

However, on one specific device, even though the command is successful and both Get-CimInstance and the registry return the correct results, I can still perform a file transfer without restriction. When I run the command or remove the class with Remove-CimInstance, the same event is always shown in the Event Viewer:

"A Bluetooth policy has changed. Policy Bluetooth\ServicesAllowedList has a value of: *"

Instead of showing the actual content of the ServicesAllowedList, which means the system does not use what I just defined.

This issue only occurs with this specific CSP policy. For example, the Camera CSP policy with AllowCamera works as intended.

Here's what I've tried so far:

  • Reset the WMI repository using winmgmt /verifyrepository, winmgmt /salvagerepository, and winmgmt /resetrepository.
  • Replaced the folder C:\Windows\System32\wbem\repository with one from a machine that applies the policy correctly.

I don't know what to try next, other than just reinstalling Windows. I would also like to know what causes this issue so I can avoid or repair it if needed later.

Thank you.

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
0 comments No comments

2 answers

Sort by: Most helpful
  1. VPHAN 33,910 Reputation points Independent Advisor
    2026-01-27T13:14:17.46+00:00

    Hello Hugo Himber,

    You must force the Policy Manager to drop its "stuck" current state and accept a fresh injection from the WMI Bridge. Start by manually deleting the registry key HKLM\SOFTWARE\Microsoft\PolicyManager\current\device\Bluetooth. This removes the cached, potentially invalid policy that the system is currently reading. Immediately after deleting the key, restart the dmwappushservice (Device Management Wireless Application Protocol Pushsvc) via services.msc or PowerShell. This service acts as the router for CSP requests, and restarting it clears transient processing errors. Once the service is back up, re-run your New-CimInstance command.

    If the Event Log still shows * after the re-application, you likely have a corruption in the policy definition itself on that specific machine. Navigate to HKLM\SOFTWARE\Microsoft\PolicyManager\default\Bluetooth\ServicesAllowedList. Verify that this key exists and contains values for Type (usually REG_SZ) and MergeAlgorithm. If this default key is missing or malformed, the Policy Manager cannot validate your input and will always reject it. You can export this specific key from a working machine and import it into the problematic one to restore the definition.

    Finally, stop relying on Get-CimInstance for verification, as it only confirms what was written to the WMI buffer, not what the OS is enforcing. Instead, generate a diagnostic report by running MdmDiagnosticsTool.exe -out C:\Temp\MdmDiag.html in an elevated command prompt. Open the generated HTML file and locate the Bluetooth section. This report shows the "Resultant Set of Policy" (RSOP) that the OS is actually using. If the UUIDs appear here, the policy is active; if it shows * or is empty, the rejection is definitive at the CSP layer, confirming the registry definition issue mentioned above.

    I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!

    VP

    Was this answer helpful?


  2. AI answer

    2026-01-27T12:40:48.7566667+00:00

    It seems like you've taken several appropriate steps to troubleshoot the issue with the Bluetooth CSP policy not applying correctly on a specific device. Here are some additional considerations that might help you resolve the problem:

    1. Check Device Compatibility: Ensure that the device in question supports all the Bluetooth profiles you are trying to restrict. Some devices may have firmware or hardware limitations that prevent them from adhering to certain policies.
    2. Review Group Policies: If the device is part of a domain, check if there are any Group Policies that might be overriding the settings applied through the CSP. Group Policies can sometimes take precedence over local settings.
    3. Event Viewer Logs: Since you mentioned seeing an event in the Event Viewer indicating a policy change, check for any additional logs that might provide more context or errors related to the Bluetooth policies. This could give you clues on what might be going wrong.
    4. Reboot the Device: After applying the policy, ensure that the device is rebooted. Some policies may require a restart to take effect fully.
    5. Check for Conflicting Software: Look for any third-party software that might interfere with Bluetooth settings. This includes Bluetooth management software that could conflict with Windows' built-in policies.
    6. Update Drivers and Firmware: Ensure that the Bluetooth drivers and firmware on the device are up-to-date. Sometimes, outdated drivers can cause unexpected behavior with policy applications.
    7. Test with a Clean User Profile: If possible, create a new user profile on the device and test if the policy applies under that profile. This can help determine if the issue is user-specific or system-wide.
    8. Windows Updates: Ensure that the device is fully updated with the latest Windows updates, as updates can fix bugs related to policy applications.

    If none of these steps resolve the issue, reinstalling Windows may be a last resort, but it’s advisable to exhaust all other options first.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.