meade470
asked on
Automatically disconnect idle sessions in Windows XP
Is there a way to automatically disconnect idle sessions in Windows XP (via GPO, perhaps). We have a PC that acts as a print server for several PCs and the idle sessions often build up and prevent a user from printing.
Thanks!
Bryan
Thanks!
Bryan
In a login script..... would be the easiest....
Hi,
You can use the Qwinsta and Rwinsta commands. If you want to use a script and then use task scheduler then have a look at this. It will get you where you need:
http://www.eggheadcafe.com/forumarchives/windowsterminal_services/May2005/post23161245.asp
HTH
You can use the Qwinsta and Rwinsta commands. If you want to use a script and then use task scheduler then have a look at this. It will get you where you need:
http://www.eggheadcafe.com/forumarchives/windowsterminal_services/May2005/post23161245.asp
HTH
ASKER
Thanks for the quick response. I just checked the auto-disconnect setting here...
\System\CurrentControlSet\ Services\L anmanServe r\Paramete rs
...and realized it is set to 15 minutes. The way I'm determining Idle Time is by opening Computer Management and selecting Sessions, which shows Connected Time and Idle Time. Maybe I'm not thinking of Idle Time correctly. For example, I have one PC that shows a Connected Time of 4:29:22 and an Idle Time of 1:10:49. Should this PC have been disconnected due to the 15 minute auto-disconnect setting?
Thanks!
\System\CurrentControlSet\
...and realized it is set to 15 minutes. The way I'm determining Idle Time is by opening Computer Management and selecting Sessions, which shows Connected Time and Idle Time. Maybe I'm not thinking of Idle Time correctly. For example, I have one PC that shows a Connected Time of 4:29:22 and an Idle Time of 1:10:49. Should this PC have been disconnected due to the 15 minute auto-disconnect setting?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Isn't the original question related to SMB Sessions? They mentioned being in Computer Management and looking in Sessions (which I assume is under Shared Folders). How is the timeout settings of the Terminal Service protocol related to SMB/File Sharing? Sorry to pry, just having the same problem.
Where 3 is the time in minutes.....