Skip to content

Start Process on Another Desktop #30

@iamacarpet

Description

@iamacarpet

At the moment, our app using this library runs as a system service.

As such, any processes started end up running in the services virtual desktop, so aren't visible to the user & they can't interact with them.

To get around this, we currently have to use a combination of PowerShell & psexec:-

  • First to query the virtual desktop ID of the current user (PowerShell)
  • Secondly, to start the process in the context of that virtual desktop, so it is visible (psexec)

It would be great to implement this natively, so we can just specify it as an option when starting a process.

There's an example of it in C++ at https://github.com/poweradminllc/PAExec , although I haven't tried the application out to be able to say if it works or not.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions