以管理员模式打开命令行窗口,运行以下命令对 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 按照实际安装目录调整。)