powershellCopy Code # 禁止 USB 设备写入权限$registryPath="HKLM:\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies"$name="WriteProtect"$value="1"if(!(Test-Path$registryPath)) {New-Item-Path$registryPath-Force|Out-Null}Set-ItemProperty-Path$registryPath-Name$name-Value$value 运行脚本: 将上述...