GetObject Trap
Set oReg=GetObject("winmgmts:{impersonationLevel=imper sonate}!\\" & _
ComputerName & "\root\default:StdRegProv")
statement somehow traps itself and does not return any value (scrpit stops working - freezes).
There are few computers among 6000 comps in the corp. This is just cut-out of the script which is working fine untill this few computers are on (I think because of platform NT 4 which doesn not support automatition objects).
I'm asking: how to make somekind of thread or timer which runs independent from other script and skips the iteration when automatition object does not respond in timely fashion (let's say 10 sec).
I'm already pinging the computer and that works fine the problem is that I cannot get automatition object
Thanx in advance
__________________
regards
|