1

Topic: Process start not through Process or other decision

All greetings!

It was clarified that if to use the standard approach to start of processes through class Process at the same time, to specify user name and the password under which it is necessary to launch it the window of the created process becomes visible, despite of start adjustments:

"If properties UserName and Password copy StartInfo are set, the uncontrollable function CreateProcessWithLogonW launching process in a new window even if property CreateNoWindow is caused matters true or property WindowStyle - value Hidden."


It is necessary, that process was launched from the specific user and in an invisible mode. How it can be made? Can be somehow through process-Thread? Or through Win32 API, but through which?