Hi abdo elbarbary,
Has your issue been resolved yet? If it has, please consider accepting the answer as it helps others sharing the same problem benefit too. Thank you :)
Domic V.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
we are experiencing problems with the approval and usage of newly purchased through Microsoft Defender Attack Surface Reduction (ASR) device control policies.
Affected Devices:
Observed Behavior:
Comparison with Working Devices:
Potential Area of Investigation:
Business Impact: Users are unable to use newly procured SanDisk USB storage devices, preventing the organization's standard USB device approval process from functioning as expected.
Expected Behavior: Once the USB device is added to the ASR/Device Control allow list, the device should be recognized and accessible regardless of serial number length.Issue Description:
The customer is experiencing problems with the approval and usage of newly purchased USB flash drives through Microsoft Defender Attack Surface Reduction (ASR) device control policies.
Affected Devices:
Observed Behavior:
Comparison with Working Devices:
Potential Area of Investigation:
Business Impact:
Users are unable to use newly procured SanDisk USB storage devices, preventing the organization's standard USB device approval process from functioning as expected.
Expected Behavior:
Once the USB device is added to the ASR/Device Control allow list, the device should be recognized and accessible regardless of serial number length.
Hi abdo elbarbary,
Has your issue been resolved yet? If it has, please consider accepting the answer as it helps others sharing the same problem benefit too. Thank you :)
Domic V.
Hi abdo elbarbary,
The access restriction you are encountering occurs because the Attack Surface Reduction engine is struggling to parse the unusually long serial numbers embedded within the Device Instance Path of your newly manufactured drives. When you insert a USB device, the Windows Plug and Play subsystem generates a unique identifier string stored in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USBSTOR, which combines the vendor, product, and serial number. Because your new drives exceed the expected string length or contain unexpected characters in the serial number suffix, the Device Control policy evaluation fails and defaults to blocking access.
To resolve this, you must modify your Defender Device Control configuration to match these specific devices based on their Hardware ID rather than their exact Instance Path. You can extract the correct hardware string by connecting one of the blocked SanDisk drives to a test machine, opening an elevated PowerShell session, and running the Get-PnpDevice command filtered by the USB class. Once you have this base identifier, locate the authorized USB group definition in your primary Device Control XML file or Intune OMA-URI payload, replace the InstancePathId property with the HardwareId property, and paste in your extracted value. Deploying this updated configuration instructs the policy engine to authorize the drives based strictly on their manufacturer and product model signatures, completely neutralizing the parsing failures caused by the elongated serial numbers.
Domic V.
AI answer
The described behavior aligns with a policy‑matching or layering issue in device control rather than a documented serial‑number length limit.
Use the following checks and adjustments:
./Vendor/MSFT/Defender/Configuration/DeviceControlEnabled = 1./Vendor/MSFT/Defender/Configuration/DefaultEnforcement = 2 (DefaultDeny)./Vendor/MSFT/Defender/Configuration/SecuredDevicesConfiguration = RemovableMediaDevicesGet-MpComputerStatus and verify:
DeviceControlState : EnabledDeviceControlDefaultEnforcement : DefaultDenyDevice instance path / InstancePathId, hardware IDs, and any other properties used in the allow rules.InstancePathId, copy it exactly from Device Manager for the new drives.InstancePathId).gpresult /h gpresult.html and rsop.msc to verify which GPOs apply to the affected machines.PnPDeviceAllowed or device control events when the new drives are inserted.PnPDeviceAllowed appears but access is still denied, this indicates that device installation is allowed but another layer (removable storage policy or device control default deny) is blocking access.InstancePathId.These steps focus on confirming that the new devices’ exact identifiers are used, that they are properly excluded from the deny‑all policy, and that no overlapping GPO or device installation restriction is overriding the Defender device control allow list.
References: