[THIN] Re: Way to logoff a locked console

  • From: "Carl Stalhood" <cstalhood@xxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 2 Dec 2004 18:25:45 -0600

Have you tried Microsoft hotfix 829395? 
http://support.microsoft.com/default.aspx?scid=kb;en-us;829395
<http://support.microsoft.com/default.aspx?scid=kb;en-us;829395&Product=win2000>
 &Product=win2000

 

The Terminal server does not automatically shut down when the TSShutdn.exe 
command is invoked in Windows 2000

CAUSE

This problem occurs if an administrator logs on to the Terminal server and then 
locks the computer before the
TSShutdn.exe command is invoked. This problem does not occur if the computer is 
not locked when the TSShutdn.exe command
is invoked. If the computer is locked, the TSShutdn.exe command cannot shut 
down the computer. 

 

Carl Stalhood

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Steve Parr
Sent: Thursday, December 02, 2004 4:00 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Way to logoff a locked console

 

Jim

I tried earlier today to logoff console session via 'logoff' and did not seem 
to work?

Did not know about Win2k console session for remote user. Thanks

 

-----Original Message-----
From: Jim Hathaway [mailto:JimH@xxxxxxxxxxxxxxx] 
Sent: Thursday, December 02, 2004 4:25 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Way to logoff a locked console

 

Steve,

 

I had to log into a remote client server to check, but the "logoff" command in 
a script setup as a scheduled task, WILL
log off the console session so that Tsshutdn will properly shutdown the server. 
This is on Win2k TS servers. 

 

And BTW - you can use the "/console" switch when connecting to RDP sessions on 
win2k servers as well . . not just win2k3
servers. Open up taskmanager when in your session, select "view" - "select 
colums" and check the box for "session ID" to
see that you're indeed logged in as Session ID "0" to the servers. 

 

HTH

 

J

 

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Steve Parr
Sent: Thursday, December 02, 2004 1:11 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Way to logoff a locked console

 

Yes prefer script.

I think perhaps it is a limitation. 

The 'logoff' command works with any session except the console session.

The tsshutdn usually runs during early am hours so manual will not do the trick.

Tried a few other tools with no success yet.

Thanks

 

-----Original Message-----
From: Steve Raffensberger [mailto:sraffens1@xxxxxxxxxxx] 
Sent: Thursday, December 02, 2004 3:43 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Way to logoff a locked console

 

Well, you can do it manually if you set up NetMeeting, VNC or some other remote 
access tool.  Unfortunately, I think you
wanted to do all this via a script and I don't know how to do that. My only 
suggestion is to use one of the other
shutdown tools that were mentioned. One of them might reboot despite the locked 
console.

 

Not much help, huh?

 

Raff

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of 
Steve Parr
Sent: Thursday, December 02, 2004 3:46 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Way to logoff a locked console

I am aware of the ability with Windows 2003 to connect to console session from 
remote sessions. The Citrix boxes I am
speaking of are running on Win2k TS. Also running Citrix MF XP FR3.

 

-----Original Message-----
From: Steve Parr 
Sent: Thursday, December 02, 2004 3:32 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: Way to logoff a locked console

 

A few weeks ago I was looking for alternative ways to run tsshutdn because 
every once in a while the reboot would get
hung up. After more discovery and testing what I have found is that when 
someone locks the server console without
logging off when the tsshutdn command later tries to run but cannot and the 
server ends up becoming unresponsive to ICA
connections. Though can still logon via console.

Is there a command or way to unlock a locked console session to prevent what is 
happening without actually being at the
console? Another solution may be to prevent people being able to lock a console 
session if that is possible - probably
with system policies can do it.

 

 

Steve Parr

Systems Analyst, Citrix Support

Tech. & Comm. Group, IT

Metroland Printing, Publishing and Distributing Ltd.

sparr@xxxxxxxxxxxxx

phone 905-279-0440

cell 416-219-3016

 

 

 

 

 

 

 

Notice: This transmission contains confidential information intended only for 
the use of the individual or entity to
whom it is addressed.  Any disclosure, copying, distribution, or action in 
reliance on the contents of this transmission
is strictly prohibited by anyone except the party to whom it is addressed.

Other related posts: