Can any one tell me how to display pop up or message box on remote
computer using vbscritping
Regards,
Prasan.
"Prasan" wrote:
I have tried this in the past. The closest I have got to this is copying a
VBS script (with msgbox("") inside it) to the target PC and execute the
script like this from my PC.
strComputer = "IP address of PC"
Set objProcess = GetObject("winmgmts:\\" & strComputer &
"\root\cimv2:Win32_Process")
strCommand = "cscript " & Chr(34) & "C:\admRun.vbs" & Chr(34)
objProcess.Create strCommand,null,null,intProcessID
Set objProcess = nothing
The target PC makes the alert noise of a msgbox showing, but you cant see it.
I'm going to persume that its running in another instance on the target PC.