Logging in and Getting Another User's Session with Windows 2003 Terminal Server

Logging in and Getting Another User's Session with Windows 2003 Terminal Server

Post by James Wend » Thu, 22 Jul 2004 12:43:32


We are hosting an ASP based accounting software using
Server 2003.

We had been running Server 2000 up until about three weeks
ago.

Our users all share the same log-in name which launches
our applicaton which allows them to enter their own user
name and password.

For some reason, users will ocassionally get somebody
else's session when they log in with Server 2003. This
never happened with Server 2000.

We have the Terminsal Server Configuration set to end
disconnected sessions within one minute and that
disconnected sessions must connect from the same
workstation.

However, it appears that sometimes a person's session is
left in a "brain-dead" state when then disconnect and then
when a new user connects, they go immediately into
that "brain-dead" session. Even though they are unable to
do anything with the wrong session, it is definitely a
problem for one user to be seeing the details from another
company's session.

We never had this issue with Server 2000 and we have
Server 2003 configured the exact same was as the 2000
servers were.

You may respond to me diretly if you wish by e-mailing
XXXX@XXXXX.COM .

Thank you in advance.

James
 
 
 

1. Writing Session Specific Code For Windows 2003 Terminal Server Session

2. How do you log off a Terminal Server session user via WSH script?

Is there some way which will let me force a user to log off from a
terminal server session while running a script and get an error. In my
particular case, I am mapping drives and if I can't map a drive for
some reason, I do a check which will display a message box telling the
user about the drive mapping problem, but once they hit the OK button I
want to be able to force them off (to be automatically logged off from
the terminal server, closing their rdp connection). Is this something
that can be done in VB Script? How can it be done? I already use the
following code which works to log the user off a non-terminal server
machine;

Set colOperatingSystems = GetObject("winmgmts:" &
"{impersonationLevel=impersonate,(Shutdown)}!\\localhost\root\cimv2").ExecQuery("Select
* from Win32_OperatingSystem")

For Each objOperatingSystem In colOperatingSystems
ObjOperatingSystem.Win32Shutdown(4)
Next

Is there a way to script the terminal server session logoff?
Thank you in advance for your advice and/or suggestions.

3. Messenger prevents user from log off in Terminal Server Session

4. MSN Messenger prevents user from log off in Terminal Server Session

5. Why Windows Terminal Server 2003 log in with pre-windows 2000 acco

6. Deploying Windows Server 2003 Terminal Server to Host User Desktop

7. Windows 2003 Terminal doesn't find WK2 Terminal Server Licensing Server

8. Terminal Server 2003 R2 - Single user logging in multiple time

9. Windows 2003 Terminal Server printer Sessions

10. Windows 2000 Server GPO with Windows 2003 Server Terminal Server

11. Get users logged onto 2003 terminal server

12. Cannot connect to Terminal Server via Terminal Services Manager after upgrade to Windows Server 2003

13. Terminal Server 2003 R2 - Single user logging in multiple times

14. Terminal Server (2003) requires constant restarts for users to log

15. Migration Windows 2000 Terminal server to Windows 2003 Terminal se