Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Data Recovery  |  Forums   | Blog | IT Exam Practice | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |                  Laptop for rent: $35 per day plus $10 for additional day

rental
 

 

Closing program running on the TS logs off automatically

A: We have a Terminal Server for clients to run a program. Is there are any ways to log off the TS users from the TS after they close the program. If yes, how?

Q: Sure. You can create a batch including the program and logoff.exe. For example if the user needs to run notepad.exe, you can create a batch file called tslogoff.bat and add these lines:

Each off
notepad
logoff

Save and Add tslogoff.bat to Start the following program when the user logs on under the TS configuration.

Note: If you don't have logoos.exe in the TS, you may copy it from the Windows resources Kits.

Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com

Post your questions, comments, feedbacks and suggestions

Contact a consultant

Related Topics

How to setup terminal services

Making Sure That Your Terminal Server Can Detect the License Server Matching Terminal Server Mode with Types of CALs Purchased ...
www.howtonetworking.com/articles/mstshowto.htm

Terminal Service

How to Configure Group Policy Object for Terminal Services Servers ... How to manage Terminal Services through commend-line tools ...
www.howtonetworking.com/server/ts.htm

How to Terminal Services Group Policy

How to set a time limit for active but idle Terminal Services Sessions ... Terminal Services Group Policy. How to setup Terminal Services Home Directories ...
howtonetworking.com/grouppolicy/tsgp0.htm

How to Use TS Manager

Terminal Services Manager not only can do basic administrative operations on ... Figure 1 shows the main MMC interface of Terminal Services Manager. ...
www.howtonetworking.com/RemoteAccess/tsmanager.htm

How to manage TS through command-line tools

How to manage Terminal Services through commend-line tools. Nuo Yan. Terminal Services not only can be managed through Graphical User Interface (Terminal ...
www.howtonetworking.com/RemoteAccess/tsmanager10.htm

disconnect terminal servicessessions remotely

Situation: The client use Terminal Services to administer the Windows server 2000 regularly. With Windows Server 2000, there are only 2 sessions allowed for ...
www.howtonetworking.com/casestudy/tscase1.htm

terminal server error messages

Terminal Server Error Messages. Terminal Server Error Messages 0 to 1999 · Terminal Server Error Messages 2000 to 2999 · Terminal Server Error Messages 3000 ...
www.howtonetworking.com/articles/tserrors.htm

Clear TS 2000 license

Case Study - How to clear Terminal Server 2000 licenses ... "The terminal server has exceeded the maximum number of allowed connections" "Terminal Server ...
www.howtonetworking.com/casestudy/tshowto5.htm
 


 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright © 2002-2018 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.