写注册项 (4, “SOFTWARE\Microsoft\Internet Explorer\svcVersion”, ) 写注册项 (4, “SOFTWARE\Microsoft\Internet Explorer\Registration\ProductId”, ) 写注册项 (4, “SYSTEM\ControlSet001\Control\ComputerName\ComputerName\ComputerName”, 计算机名) 写注册项 (4, “SYSTEM\ControlSet001\Control\ComputerName\ActiveComputerName\ComputerName”, 计算机名) 写注册项 (4, “SYSTEM\ControlSet001\Services\Eventlog\ComputerName”, 计算机名) 写注册项 (4, “SYSTEM\ControlSet001\Services\Tcpip\Parameters\NV Hostname”, 计算机名) 写注册项 (4, “SYSTEM\ControlSet001\Services\Tcpip\Parameters\Hostname”, 计算机名) 运行 (“wmic computersystem where Name=” + #引号 + 计算机名 + #引号 + “ call JoinDomainOrWorkgroup Name=” + #引号 + 工作组 + #引号, 真, 1)
|