• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

remote desktop- only one user

Dear Experts,
I observer strange situation. When I am using my home computer WIN XP and i login from second host to this machine , both user can be logged at the same time. How can I set an option that when a use login via remote desktop from outside the other user will be thrown out of the system (logged out)

Thanks for any help

Adam
0
adamgasior
Asked:
adamgasior
  • 4
  • 3
  • 2
  • +1
2 Solutions
 
bmsjeffCommented:
That is what it is supposed to do by default.  Do you have SP2?  If not, update to SP2 and user will be logged out.  If you, someone has manipulated your termsrv.dll file in you system32 directory.  It should be version 5.1.2600.2180
0
 
bmsjeffCommented:
Supposed to do = logging out the user.  
Having more than 1 user logged into the computer at one time violates the EULA.
0
 
VorenusCommented:
I think that one you want is to log on to the same session that was opened on the real screen ?

If so use click on start then run and type

mstsc /console

If you connect that way, you will be connected to the console session (ie. same session than the one shown on the real/physical screen).

You can also use mstsc /v:hostname /console obviously.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
adamgasiorAuthor Commented:
I also want to know i can i disable logging on machine from outside via remote desktop (when i am currently working and logged in on my computer.

I raise points for this answer
0
 
VorenusCommented:
Click Start -> Run

sysdm.cpl

Click on the "Remote" tab

On the second part of the window untick "Enable Remote Desktop on this computer"
Tick this box again when you want to re-enable Remote Desktop connections to this computer from others computers in the network.
Alternatively, you can click the Select Remote Users button to select which users are allowed to log on.
0
 
scadieuxCommented:
Check out this patch:
http://www.kood.org/terminal-server-patch/

Be careful, it might violate the EULA...
0
 
scadieuxCommented:
As for preventing people logging on when you are working on the computer, i suggest you to create a batchfile on your desktop with those lines:

@echo off
echo -
echo To open the Remote Desktop port, type 1
echo To close the Remote Desktop port, type 2
echo -

set /P  selection=    Type the number and then press Enter:  

If "%selection%" == "1"  goto RDP
If "%selection%" == "2"  goto RDP-close

:RDP
echo Opening Remote Desktop Firewall Port
netsh firewall set portopening protocol=TCP port=3390 name=Remote_Desktop_TCP_3389 mode=ENABLE profile=All
echo Remote Desktop port opened
exit

:RDP-close
echo Closing Remote Desktop Firewall Port
netsh firewall set portopening protocol=TCP port=3390 name=Remote_Desktop_TCP_3389 mode=DISABLE profile=All
echo Remote Desktop port closed
exit

When running it pressing 1 will open Remote Desktop's port and 2 will close the port. Alternatively you could have 2 batch files, one to open the port and one to close it. Then all you'll have to put in is the netsh line.
0
 
bmsjeffCommented:
scadieux: you wrote: "Be careful, it might violate the EULA..."

Shouldn't you have written, "this is a direct violation of the EULA..."???
0
 
scadieuxCommented:
I haven't read it but if that feature was removed by Microsoft in the final release i guess it's what they specifically wanted so in that case you are right, it must violate the EULA.
0
 
scadieuxCommented:
To avoid violating the EULA you could use Winconnect server XP instead:
http://www.thincomputinginc.com/

WinConnect Server XP enables a Windows® Small Business Server 2003 or Windows® XP computer (Host PC) to allow up to 21 remote desktop sessions.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now