vtr=wshshell.RegWrite(path,"DisableRegistryTools","0")改为:vtr=wshshell.RegWrite(path,"DisableRegistryTools","0", "REG_SZ")