windows session closed

Posted on 2005-05-05
Last Modified: 2010-04-14

i have a windows 2000 server, and large number of user logon to the machine using remote desktop to do their work. everyone has their own login and password.

i am running a program by login in as administrator. the service provided by this program is used by other users. so i login as administrator on the machine and keep the program running. but windows 2000 after some time automatically logs out the administrator i think due to inactivity and the program no longer runs. how can i either run the program differently or prevent the administrator to be logged out automatically.

Question by:shashank3
    LVL 20

    Expert Comment

    Can you start the program locally instead of remotely? I don't know the policies in place on your domain but you probably won't get automatically logged off if you log on locally and start the program from there.

    also, starting the program as a service (if possible) is another way to make sure it is always running no matter who is logged in.
    LVL 2

    Author Comment

    i logged in locally, and it still logged me off.

    also how do i run it as a service. when the program runs, it allows me to see log file and stuff. how would i see that once it is running as a service.

    thank you.
    LVL 20

    Expert Comment

    Check out this article on how to make any program run as a service...
    LVL 4

    Accepted Solution

    Goto Terminal Services Configuration on the Server and select the sessions tab. Check the "Override User Settings" and leave the "End a disconnected session" as "never"

    You will need to logoff and back on for the changes to take affect



    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    It can often be challenging to stay relevant in the rapidly evolving world of technology. This can make recruiting talent difficult for companies of all sizes.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now