回覆列表
  • 1 # 543sdfsdfsfsdfs8

    新建個記事本,複製下面的程式碼,儲存為禁用usb.bat。然後執行就可以了,如果是win7以上的系統,需要右鍵--以管理員的身份執行,如果有防毒軟體提示,允許執行就可以了。可能有的需要重啟 @echo off reg add "HKEY_LOCAL_ MACHINESYSTEMCurrentControlSet ControlStorageDevicePolicies“ /v WriteProtect /t reg_dword /d 1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR" /v Start /t reg_dword /d 4 /f copy %Windir%\inf\usbstor.inf %Windir%\Web\usbstor.inf /y >nul copy %Windir%\inf\usbstor.pnf %Windir%\Web\usbstor.pnf /y >nul del %Windir%\inf\usbstor.pnf /q/f >nul del %Windir%\inf\usbstor.inf /q/f >nul @echo on 如果又要開啟的話就用下面的。儲存為開啟.bat。 @echo off reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR" /v Start /t reg_dword /d 3 /f copy %Windir%\Web\usbstor.inf %Windir%\inf\usbstor.inf /y >nul copy %Windir%\Web\usbstor.pnf %Windir%\inf\usbstor.pnf /y >nul del %Windir%\Web\usbstor.pnf /q/f >nul del %Windir%\Web\usbstor.inf /q/f >nul @echo on

  • 中秋節和大豐收的關聯?
  • 軍用運輸機和民用運輸機哪一個製造技術更難?