cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Remote Desktop Services -Blue Prism

MasatakeKanda
Level 2
Hi,

I would like to know why the ProcessID of the Remote Desktop Services application launched in the code stage, change after launch

[situation]
Object:Remote Desktop Services -Blue Prism
Action:Start RDP Session
CodeStage:Start RDP Session

In the code stage, after launching a Remote Desktop Services application, get a PID (PID example: 10948)
After about 1 second, the Remote Desktop Services application PID changes (PID example: 10312).

[Code Contents]
int StartRDC()
{
Process rdcProcess = new Process();
rdcProcess.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe");
rdcProcess.StartInfo.Arguments = "/v " + "localhost";
rdcProcess.Start();
int pid = rdcProcess.Id; return pid;
}

[environment]
OS:WindowsServer2016
BluePrismVersion:6.4



------------------------------
Masatake Kanda
employee
AbeamSystems
------------------------------
0 REPLIES 0