Computing.Net > Forums > Networking > Network Session Timer?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Network Session Timer?

Reply to Message Icon

Name: Frankie566
Date: January 26, 2007 at 07:52:27 Pacific
OS: Win2003Server/XP & Win2KP
CPU/Ram: P4/P3
Product: HP/Dell
Comment:

I work at a public library where we have 16 PCs for Public Access. Normally at 7:30 we announce the Lab is closing at 7:45PM and then at 7:45 that the Library is closing in 15 min. There are times when at 7:55 we are still trying to get people off the computers. It's a pain.
I know that in AD you can control what hours a user can log on, say 9:30AM - 7:30PM However, if they still on when the time Logon Hours expires, they can still use the PCs.
Is there any way I can completely kick them off the computers from the server? I had thought of (not sure what it’s called) Right click My Computer, click Manage then from Computer Management right click it and Connect to another computer. Once connected to that then under properties remotely reboot their PCs. But then I would have to do it on by one.
There’s got to be a better way. Screen savers a re no good because they work once it goes idle.
Any ideas, or suggestions? PLEASE!!!!!

Who knows, knows and who doesn't know, dosen't know jack!
El que sabe, sabe y el que no sabe, no sabe nada!



Sponsored Link
Ads by Google

Response Number 1
Name: Beachcoffee
Date: January 26, 2007 at 08:50:28 Pacific
Reply:

This is about using the "remote shutdown tool" in windows xp

http://support.microsoft.com/?kbid=...

The following page explains how to use task scheduler to shut down a pc at a certain time:

http://www.winxptutor.com/schsd.htm

Compaq Presario SR1720NX Desktop Computer
AT&T SBC Yahoo DSL Home
Linksys Router/2 computers


0

Response Number 2
Name: Frankie566
Date: January 26, 2007 at 09:27:00 Pacific
Reply:

Beachcoffe,
I'll try your suggestions and will post back with results. Thank you for the links.
Frankie

Who knows, knows and who doesn't know, dosen't know jack!
El que sabe, sabe y el que no sabe, no sabe nada!


0

Response Number 3
Name: Frankie566
Date: January 26, 2007 at 12:40:29 Pacific
Reply:

OK I tried this Remote Shutdown you suggested and I'm on the right track now. Going by what the article says, at first it didn't work, but after checking for the parameters on the Shutdown help menu (C:>shutdown /?) I saw, that terms and letters used are differently. I tried combining the article instructions and the help menu and it worked fine. I used: (C:>shutdown -m \\ComputerName -s -t 30 -c "my comment" -f) and it worked. I can replace the -s for -r to reboot instead of shutting down works fine.

I could not set it ahead of time so when the time arrived it would do it at a certain time say, (at 19:45 shutdown -m \\ComputerName...) but I think if I create a batch file and have task manager do it at set time it will work.

That’s my next question. How do I create a batch file that can do this task. I don’t know what the correct syntax for a batch file would be. I don’t know anything about how to use that ECHO ON or OFF stuff or the like. And could I create one file for multiple PCs like for example:

shutdown -m \\Computer1 -s -t 30 -c "my comment" -f
shutdown -m \\Computer2 -s -t 30 -c "my comment" -f
shutdown -m \\Computer3 -s -t 30 -c "my comment" -f
shutdown -m \\Computer4 -s -t 30 -c "my comment" –f

I only know how to do it from the command line, but that would mean doing all 16 PCs one by one.

Thanks to your help at least I learned how to do that. Thank You for you help.

Who knows, knows and who doesn't know, dosen't know jack!
El que sabe, sabe y el que no sabe, no sabe nada!


0

Response Number 4
Name: Beachcoffee
Date: January 26, 2007 at 13:57:40 Pacific
Reply:

well a batch file is a simple text file with a " *.BAT " extension. You create one with say Notepad then type in your shutdown commands, one per line. Save the file and it is ready to go.

Compaq Presario SR1720NX Desktop Computer
AT&T SBC Yahoo DSL Home
Linksys Router/2 computers


0

Response Number 5
Name: Frankie566
Date: February 11, 2007 at 16:43:40 Pacific
Reply:

Hi again,
I have tried creating a batch file I think is right for what I want.

@echo off
rem
shutdown -m \\Computer1 -s -t 300 -c "my comment" -f
shutdown -m \\Computer2 -s -t 300 -c "my comment" -f
shutdown -m \\Computer3 -s -t 300 -c "my comment" -f
shutdown -m \\Computer4 -s -t 300 -c "my comment" –f
...and so on.

Typed in in Notepad saved it as "testshtdwn.bat"

However, I tried running the batch file from the server and on the 8 PCs with W2K the batch file works fine, but the other 8 PCs with WinXP, it doesn't work at all. Why?

All 16 Lab PCs are logged on under the same user name (all), a restricted user. I am running the file from the server under Admin (Server/LAN admin rights.) So why would it not work on the XP machines?

Or should I create individualized batch files for each and everyone of those Lab PCs, a file that would work only on that local PC, (instead of as a group file and from the server.) Then, save the file to each of the PCs, and use task manager to run it at a certain time? Or save all them files on the server and have task manager on each LabPC go fetch it and run the file from the server?...

It would probly work like that too, but I realy would like to do them as a group, or maybe two groups...Hum... Maybe shtdwnwinxp.bat and shutdwnwin2k.bat?
Are the parameters on the shutdown command different in W2K than on WinXP? ...Arrrrg! This is driving me nuts! No, wait a minute I am nuts already. What am I talking about. They should make OSs Backwards Compatible like gaming consoles. Where I can still play my PSX (PS1) games on the PS2.

Who knows, knows and who doesn't know, dosen't know jack!
El que sabe, sabe y el que no sabe, no sabe nada!


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Weird problem with DNS bu... How to view files of the ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Network Session Timer?

network or dsl? www.computing.net/answers/networking/network-or-dsl/20548.html

DOS Networking www.computing.net/answers/networking/dos-networking/19940.html

wan connection www.computing.net/answers/networking/wan-connection/11894.html