Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows : Opens in wrong RDP Session #22955

Closed
MarkBaillieDev opened this issue Mar 21, 2017 · 2 comments
Closed

Windows : Opens in wrong RDP Session #22955

MarkBaillieDev opened this issue Mar 21, 2017 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@MarkBaillieDev
Copy link

  • VSCode Version: 1.10.2
  • OS Version: Windows 2012 R2 Server

Steps to Reproduce:

  1. Connect to server using RDP as Administrator (Session 1)
  2. Open VS Code
  3. Have another person connect to server using RDP as Administrator (Session 2)

If the user in Session 2 tries to open VS Code it creates a new window in Session 1. likewise if they double click an associated file it opens in VS Code in Session 1.

@joaomoreno joaomoreno assigned bpasero and unassigned joaomoreno Mar 23, 2017
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities labels Mar 24, 2017
@bpasero bpasero added this to the Backlog milestone Mar 24, 2017
@the-ress
Copy link
Contributor

the-ress commented May 6, 2017

I'd like to submit a PR for this. The getWin32IPCHandle function needs to use current session id that would be obtained using ProcessIdToSessionId Windows API function.

Should I create a new package as a wrapper for this single function (as I did with #13255 and node-windows-foreground-love) or is there a better way?

@bpasero
Copy link
Member

bpasero commented Aug 13, 2017

#15674

@bpasero bpasero closed this as completed Aug 13, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 13, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

No branches or pull requests

4 participants