Hi!
I am trying to use the following VBS (which I've found on BYTES) to start an aplication on remote PC.
The issue is that I need to start it as an ADMIN (I have the passwords & login).
How shall I modify the impersonationle vel to:
Login as ADMIN @ remote PC (other profile than my current one on the Controlling PC)??
Thanks for help!
I am trying to use the following VBS (which I've found on BYTES) to start an aplication on remote PC.
The issue is that I need to start it as an ADMIN (I have the passwords & login).
How shall I modify the impersonationle vel to:
Login as ADMIN @ remote PC (other profile than my current one on the Controlling PC)??
Code:
A = GetObject("winmgmts:{impersonationlevel=impersonate}!\\192.168.0.1\root\cimv2:Win32_Process").Create("C:\Program Files (x86)\Microsoft Office\Office12\Winword.exe", Null, Null, iProcID)
Thanks for help!
Comment