3
At work I'm connecting to our company's portal in order the perform my job. I would like to take some of my work home and do it from there. As I cannot connect from home directly to teh company's portal, I thought the a good idea would be to enable RDP on my work computer. I did that, but the portal is still rejecting my connection because the ssl certificate is not accepted. The difference is that when I'm at work windows see's me at the console of the machine and when I'm at home windows see's me as a tcp session.
So, is there a way to trick windows to see my tcp session to my work computer as a console session?
I tried the first and second option from this post:
- Registry :
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\TSAppCompat
.
[This key][1] is missing in a normal session on my desktop.
You might try to delete it, if you can. - SESSIONNAME environment variable values : Console / "RDP#" / (empty).
You may try to run your game from the Command Prompt (cmd) after doing
SET SESSIONNAME=Console
(my desktop value) orSET SESSIONNAME=
(empty).
To find out its current value, enterSET SESSIONNAME
before changing anything. - The system calls [GetSystemMetrics(SM_REMOTESESSION)][3] and [GetVersionEx][2] ([OSVERSIONINFOEX.wSuiteMask][4]) return the execution context.
Not much you can do against this one, except writing a system-hook for it.
If interested see this codeproject.com article : [API hooking revealed][5].
Written by harrymc, found here: Windows: How to make programs think they're not running in a terminal server session?
- The registry key is missing, nothing to delete.
- I tried "SET SESSIONNAME=Console". The session name changes when I'm interrogating with "SET SESSIONNAME" but in shows tcp-rdp in Task Manager -> Users and the certificate is still rejected by the portal.
- The third option is way to complicated for my programing skills.
Because the portal uses ssl certificate and I can only access it from IE, I'm looking for a way to make IE think that I'm logged from the console of the machine and not remotely connected. Hope something works...
But it's plausible that alternative RDP programs do not have this issue, the real answer might be to try something like VNC or Dameware. That or get your companies server team to create a VPN entrance. – Knuckle-Dragger – 2013-12-24T21:22:34.637
I'm using openvpn now. I tried many RDP software, but none really helps. I will learn none about "set sessionname". At least, now I have a new starting point. – user3120048 – 2013-12-24T21:57:19.480
I will learn more* – user3120048 – 2013-12-24T22:34:23.230