Could anyone help?
I used the VBScript below to check something from IBM-Thinkpad T41 (XP Professional) ( this script is okay with other PC- COMPAQ) then I got the error message:
-----------------------------
Line: 2
Char: 1
"The remote server machine does not exist or is navailable: 'GetObject"
Code: 800A01CE
Source: Microsoft VBScript runtime error
----------------------
strComputer ="xyz"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor")
For Each objItem in colItems
SysCPU = "Current Clock Speed: " & objItem.CurrentClockSpeed&"Mhz"
Next
I used the VBScript below to check something from IBM-Thinkpad T41 (XP Professional) ( this script is okay with other PC- COMPAQ) then I got the error message:
-----------------------------
Line: 2
Char: 1
"The remote server machine does not exist or is navailable: 'GetObject"
Code: 800A01CE
Source: Microsoft VBScript runtime error
----------------------
strComputer ="xyz"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor")
For Each objItem in colItems
SysCPU = "Current Clock Speed: " & objItem.CurrentClockSpeed&"Mhz"
Next