Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Login with RDP, without bumping current session.

09 Sep 2010   #51
zigzag3143

Win 8 Release candidate 8400
 
 

Quote   Quote: Originally Posted by Vgolfmaster View Post
Hi all,

I'm not looking for simultaneous access to a machine, and please nudge me in the right direction if this is the wrong thread for this - I need to set up 2 windows 7 machines for remote access from outside of the network.

I am able to get access to either machine using the default port of 3389 (and only activating RDC on one machine at a time). If I change the listening port, I lose access for some reason. I have only tried 2 ports so far, 5150 and 5151, so there may be a potential conflict, not sure yet (this was done using the registry mod for the listening port). I only say that as a FAQ I ran across for RDC setup in Win 7 suggested trying ports over 64000. I am going to test this tomorrow, but wanted to ask here if anyone had any other ideas.

What I am looking for, is a way to connect from school, to either of my 2 Win 7 machines. I am using a Linksys WRT54G router, but not using wireless. Like I said, assigning the port forwarding to port 3389 works on each machine individually. I am assuming I have to have each machine set to listen to a unique port in order to do this, but how do I do that if only 3389 works?

if mapped according to the assigned listening ports, I should be able to pick which to connect to, right? ie:

174.105.222.188:63000 for machine 1
174.105.222.188:63500 for machine 2

Hopefully the test tomorrow of a higher port range will answer this, but I'll happily take any other advice that anyone might have.

tia

Vg

VG

There is a much easier way. Team viewer. I do the exact thing you are looking for from any location and it is free


My System SpecsSystem Spec
.
09 Sep 2010   #52
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by zigzag3143 View Post
Quote   Quote: Originally Posted by Vgolfmaster View Post
Hi all,

I'm not looking for simultaneous access to a machine, and please nudge me in the right direction if this is the wrong thread for this - I need to set up 2 windows 7 machines for remote access from outside of the network.

I am able to get access to either machine using the default port of 3389 (and only activating RDC on one machine at a time). If I change the listening port, I lose access for some reason. I have only tried 2 ports so far, 5150 and 5151, so there may be a potential conflict, not sure yet (this was done using the registry mod for the listening port). I only say that as a FAQ I ran across for RDC setup in Win 7 suggested trying ports over 64000. I am going to test this tomorrow, but wanted to ask here if anyone had any other ideas.

What I am looking for, is a way to connect from school, to either of my 2 Win 7 machines. I am using a Linksys WRT54G router, but not using wireless. Like I said, assigning the port forwarding to port 3389 works on each machine individually. I am assuming I have to have each machine set to listen to a unique port in order to do this, but how do I do that if only 3389 works?

if mapped according to the assigned listening ports, I should be able to pick which to connect to, right? ie:

174.105.222.188:63000 for machine 1
174.105.222.188:63500 for machine 2

Hopefully the test tomorrow of a higher port range will answer this, but I'll happily take any other advice that anyone might have.

tia

Vg

VG

There is a much easier way. Team viewer. I do the exact thing you are looking for from any location and it is free
+1

I have used TeamViewer and it works very well. Guess that is why I have not done the RDP port thing in a long while.
My System SpecsSystem Spec
09 Sep 2010   #53
Vgolfmaster

Windows 7 Professional 64-bit
 
 

Hi WindowStar,

I did change the listening port assignment via the registry, and assigned then assigned that newly changed port number in the router, but I was unable to find a firewall setting for this (am using Windows Firewall only). Any ideas where to find this? If this is all I need that would be an easy fix, assuming I can find it, lol.

If you can point me in the right direction for the Windows firewall settings for this, I'd appreciate it.

Vg

*edit - thanks for the tips on Team Viewer guys, I will look in to it. I'd still like to get the RDC issue hammered out, if for no other than, 'just because' .....

*edit again....... - I found the Windows firewall settings for remote desktop, but don't have access to the options in there for changing the port assignments. I am logged in as a user with admin rights. Is this for actual admin account only? I also changed the registry key for the listening port, and then re-checked the firewall settings. It still showed 3389.... sigh
My System SpecsSystem Spec
.

09 Sep 2010   #54
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

In Advanced Firewall Settings:


Attached Thumbnails
Login with RDP, without bumping current session.-rdpfirewallpicture.jpg  
My System SpecsSystem Spec
09 Sep 2010   #55
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

Hi there

The problem in connecting to more than ONE machine behind your router is the PORT FORWARDING mechanism in the router since the router will only port forward to a SPECIFIC LAN IP ADDRESS.

What you will have to do is perhaps find a way of making RDP on the 2ND machine use a DIFFERENT port for RDP and then port forward THAT port to the 2nd machine on your Lan.

Now on your Front end computer I'm not sure how you would arrange that -- you'd perhaps need to set up some script file which would dynamically change the RDP port depending on what machine you want to access.

This is why RDP gets messy for dealing with more than one computer.

You could see if using "Putty" is a possible solution to this as you could easily have several configurations

http://www.itauthor.com/2008/05/24/r...-putty-tunnel/

You will still need to port forward DIFFERENT ports to each computer however.

You *might* be better off setting up a HOME VPN / SERVER which would then allow you to access any machine on your network.

I assume that REACHING your home network is OK -- there are services like no_ip etc for providing you with an IP / domain name from the Internet.

Cheers
jimbo
My System SpecsSystem Spec
09 Sep 2010   #56
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

My System SpecsSystem Spec
09 Sep 2010   #57
Vgolfmaster

Windows 7 Professional 64-bit
 
 

Thanks again guys,

I think I found the trick...... (my test of a higher port number didn't work, but I think I now know why)

Port 3389 is enabled in windows firewall by default, when you turn RDC on. You can not modify this firewall rule to change the port number, which is why I was locked out. Also why I was unable to use other ports for RDC, the firewall was blocking them.

Found this page, which describes adding port numbers/rules to the Win7 firewall, and I was able to successfully add a rules to enable TCP and UDP connections using 2 custom ports.

How to Open a Port in the Windows 7 Firewall - For Dummies

Now I am going to go back and re-apply the registry mod to assign the same ports as the 'listening' ports for each machine, and with any joy, I can remote in to them using my external IP and the newly assigned port# (ie 192.168.124.100:63631 for comp 1 and 192.168.124.100:63632 for comp 2).

Will let you know as soon as I can test this, and report back.

Thanks again for all the suggestions, I WILL check out all of these other options and compare ease of use, etc. when time allows.

Vg
My System SpecsSystem Spec
10 Sep 2010   #58
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

Hi there

Using custom ports should work -- I like the Putty solution too.
Port Forwarding at the router end is a bit limiting because a specific port can only be forwarded to a specific machine - but it's logical in away since you usually want to access a specific machine.

Cheers
jimbo
My System SpecsSystem Spec
10 Sep 2010   #59
Vgolfmaster

Windows 7 Professional 64-bit
 
 

Success !!

Thanks for all of the tips and suggestions guys, I really appreciate the feedback you have all given me. I was able to get this working by adding the custom port assignments in windows firewall, and can now access both machines (from outside of the network) by way of a unique port assignment for each.

If I remember right, windows XP recognized assigned ports and allowed them automatically. Or maybe even worse, it never prevented their use to begin with - just simply don't remember. What I DO know, is that 3389 is enabled in Win7 when you turn on remote access, but other ports are not. This requires that Windows firewall be set for with exceptions for any ports other than 3389. Port 3389 is also the default 'listening' port in 3389, and the registry modification must also be made to reassign each machine to 'listen' to the newly assigned port for RDC.

Hope this helps anyone else who is trying this down the road!

Thanks again everyone.

Vg
My System SpecsSystem Spec
11 Sep 2010   #60
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

I am glad you got it all working.
My System SpecsSystem Spec
Reply

 Login with RDP, without bumping current session.




Thread Tools




Similar help and support threads
Thread Forum
Can I Login to An RDP Session From My Windows Login Screen
I have an RDP Server on a windows 7 ultimate 32 bit and i would like to be able to use another system login screen to connect to this server. As in when i turn of display last local users, so that if i was to enter XXX into the username and XXX into the password and it will connect Although i...
Network & Sharing
Internet explorer last browsing session opens up many session points!
In internet explorer when i open it up and restore my last session it opens up many windows, including my last session, a session i may have had 2 weeks ago and other sessions?
Browsers & Mail
Auto-Login on end of RDP session
Hi, Let me start by saying THANK YOU to the MS devs who decided to put some real attention into making the RDP experience in Windows 7 not just more tollerable but downright impressive! I have a hotkey set up on my ubuntu laptop which, when pressed, pops open a Remote Desktop window connected...
Network & Sharing
Bumping
I am a member of a number of specialist Fora (Yes that is the correct word for the plural of Forum!) and run one small one myself and all of them make "Bumping" and "Shouting" strictly against the Forum Rules. I have searched and cannot find reference to these two in this Forum? I have a copy of...
Chillout Room


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 00:38.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App