第一種方法:
cmd執行
禁用方法:
1、netstat -aon|findstr "80" 查看埠占用進行,PID=4 即kernel&System占用
2、net stop http 停止http服務
3、sc config http= disabled 設定不可用
恢復方法:
1、sc config http start= auto 自動啟動
2、net start http 啟動http服務
第二種方法:
注冊表中直接禁用:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP]
"Start"=dword:00000004
"Start" = 3 時啟動 4時禁用
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/119077.html
上一篇:linux 常用命令
