Skip to content

Is session id manipulation possible with winrm4j? #169

@indradeshmukh

Description

@indradeshmukh

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 -

  1. 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?
  2. OR : launch the parent winrshost in NT AUTHORITY/SYSTEM user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions