bitlocker:设置中无设备加密解决办法

bitlocker:设置中无设备加密解决办法

canoziia
2023-06-15 / 0 评论 / 255 阅读 / 正在检测是否收录...

https://learn.microsoft.com/en-us/windows-hardware/design/device-experiences/oem-bitlocker#un-allowed-dma-capable-busdevices-detected

https://forum.xda-developers.com/t/fix-un-allowed-dma-capable-bus-device-s-detected.4321643/

https://superuser.com/questions/1345848/un-allowed-dma-capable-bus-devices-detected

事实证明,您不必使用消除过程来找出要将哪条总线添加到批准列表中,它在事件查看器消息中。

打开事件查看器。
选择应用程序和服务日志 -> Microsoft -> Windows -> BitLocker-API -> 管理。
查看这些内容添加。
查找带有事件 4122 的“信息”项:它将包含如下内容的文本:

$tmpfile = "$($env:TEMP)\AllowBuses.reg"
'Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DmaSecurity\AllowedBuses]'`
| Out-File $tmpfile
(Get-PnPDevice -InstanceId PCI* `
| Format-Table -Property FriendlyName,InstanceId -HideTableHeaders -AutoSize `
| Out-String -Width 300).trim() `
-split "`r`n" `
-replace '&SUBSYS.*', '' `
-replace '\s+PCI\\', '"="PCI\\' `
| Foreach-Object{ "{0}{1}{2}" -f '"',$_,'"' } `
| Out-File $tmpfile -Append
regedit /s $tmpfile

这个脚本会加入比较多的内容,需要自己挑下,只要把事件4122的加入就行

0

评论 (0)

取消