Windows禁用、啟用筆記本內建鍵盤與觸控板
阿新 • 來源:網路 • 發佈:2023-01-25
禁用筆記本內建鍵盤與觸控板
@cd/d"%~dp0"&(cacls "%SystemDrive%\System Volume Information" >nul 2>nul)||(start "" mshta vbscript:CreateObject^("Shell.Application"^).ShellExecute^("%~nx0"," %*","","runas",1^)^(window.close^)&exit /b)
sc config i8042prt start= disabled
shutdown -r -t 0
啟用筆記本內建鍵盤與觸控板
@cd/d"%~dp0"&(cacls "%SystemDrive%\System Volume Information" >nul 2>nul)||(start "" mshta vbscript:CreateObject^("Shell.Application"^).ShellExecute^("%~nx0"," %*","","runas",1^)^(window.close^)&exit /b)
sc config i8042prt start= auto
shutdown -r -t 0
操作步驟
- 右鍵新建文字文件
- 貼上上面內容儲存退出
- 修改檔案字尾為bat
- 執行
注意
系統會重啟,注意儲存當前進度
