检查Windows OS是否激活,5表示处于通知模式,1表示已激活 wmi.get[root\cimv2,select LicenseStatus FROM SoftwareLicensingProduct WHERE Description like '%Windows%' and ProductKeyID like '%-%'] 检查以下补丁是否已安装,未反正返回空值 wmi.get[root\cimv2,select HotFixID from Win32_QuickFixEngineer…