Each time we launch a new command using winrm4j library APIs - a process winrshost starts up with provided user and in session 0. The provided command is ran under it as child processes with same user and session id.
Is it possible for us to manipulate -
EITHER : the session id in which winrshost process starts in. Like instead of having the reserved session number 0, can we start the process in a actual user session having id > 0?
OR : launch the parent winrshost in NT AUTHORITY/SYSTEM user?
Each time we launch a new command using winrm4j library APIs - a process winrshost starts up with provided user and in session 0. The provided command is ran under it as child processes with same user and session id.
Is it possible for us to manipulate -