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

TerminalServicesSession.RemoteEndPoint fails on Windows 8/Server 2012+ #63

Open
GoogleCodeExporter opened this issue Aug 26, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

It throws a Win32Exception (1733, "The tag is invalid"). This isn't terribly 
surprising, since we're using an undocumented API to get this information. It's 
not clear that there is any (documented or undocumented) replacement for this 
in Windows 8.

Original issue reported on code.google.com by danports on 17 Oct 2012 at 5:57

@GoogleCodeExporter
Copy link
Author

This is an RPC issue (1733 = RPC_S_INVALID_TAG). Most likely, the function in 
winsta.dll hasn't changed but the underlying RPC protocol has.

Original comment by danports on 17 Oct 2012 at 7:58

@GoogleCodeExporter
Copy link
Author

Actually, this seems to be working, except for console or disconnected 
sessions. So perhaps we just need to provide special handling for this one RPC 
error and return null instead.

Original comment by danports on 13 Oct 2014 at 3:23

  • Added labels: Milestone-2.1, Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Original comment by danports on 13 Oct 2014 at 3:23

  • Changed title: TerminalServicesSession.RemoteEndPoint fails on Windows 8/Server 2012+
  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants