发布网友 发布时间:2022-04-26 19:36
共2个回答
热心网友 时间:2023-05-26 18:59
打开关闭系统防火墙,windows电脑设置开启禁用防火墙计算机安全
热心网友 时间:2023-05-26 18:59
用 VBscript 禁用 Windows XP 防火墙 ,启用 remote desktop 编个代码禁用了
禁用防火墙如下:
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
objPolicy.FirewallEnabled = false
启用remote desktop如下:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TerminalServiceSetting")
For Each objItem in colItems
objItem.SetAllowTSConnections(1)
Next追问不懂,好貌似那个软件好难找,你有没?发我?呵呵,can139@foxmail.com