CMD命令行:禁止 bds.exe 和 LicenseManager.exe 文件的聯網

以管理員模式打開命令行窗口,運行以下命令對 bds.exe、LicenceManager.exe 文件禁止聯網規則:

Netsh.exe advfirewall firewall add rule name="RADStudio" program="C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\bds.exe" protocol=any dir=out enable=yes action=block profile=Private,Public,Domain

Netsh.exe advfirewall firewall add rule name="RADStudio" program="C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\LicenceManager.exe" protocol=any dir=out enable=yes action=block profile=Private,Public,Domain

(注:bds.exe、LicenceManager.exe 按照實際安裝目錄調整。)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章