以管理員模式打開命令行窗口,運行以下命令對 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 按照實際安裝目錄調整。)