A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Log out everyone at a certain time



 
 
Thread Tools Display Modes
  #1  
Old January 7th 04, 11:32 AM
©®
external usenet poster
 
Posts: n/a
Default Log out everyone at a certain time

PC setup at work as follows:
5 or 6 of us each login on the same PC with XP Pro.
Normally we all leave by about 5:30pm.
Is there a way to make to force the PC to log everyone off at a certain
time or by a certain time e.g. 7pm?
Thanks


Ads
  #2  
Old January 7th 04, 11:34 AM
Anando [MS-MVP]
external usenet poster
 
Posts: n/a
Default Log out everyone at a certain time

Hi,
Open up the command promt (Start Run... and type CMD ) At the command
prompt, type NET HELP USER and press enter. You will get help on how to use
the net user command. Scroll down and look up the option parameter '/TIMES'.
That will do exactly what you want.

Anando
Microsoft MVP for Windows XP
http://www.microsoft.com/mvp

"©®" wrote in message
...
PC setup at work as follows:
5 or 6 of us each login on the same PC with XP Pro.
Normally we all leave by about 5:30pm.
Is there a way to make to force the PC to log everyone off at a certain
time or by a certain time e.g. 7pm?
Thanks




  #3  
Old January 7th 04, 11:34 AM
Ramesh
external usenet poster
 
Posts: n/a
Default Log out everyone at a certain time

Anando,

That won't do exactly what he wants.

Net User Times will allow a user only to logon within the set time but will
not force them to be logged off. At this point there is no function built
into Windows XP that will force logoff when you are not part of a domain.

http://www.mvps.org/marksxp/windowsxp/logon.htm

--
Regards,
Ramesh
AOL: SRamesh2k

«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«.............. Ramesh ...............»
«·´`·.(¸.·´(¸.·* *·.¸)`·.¸).·´`·»

~ Please reply to newsgroup ~


"Anando [MS-MVP]" wrote in message
...
Hi,
Open up the command promt (Start Run... and type CMD ) At the command
prompt, type NET HELP USER and press enter. You will get help on how to use
the net user command. Scroll down and look up the option parameter '/TIMES'.
That will do exactly what you want.

Anando
Microsoft MVP for Windows XP
http://www.microsoft.com/mvp

"©®" wrote in message
...
PC setup at work as follows:
5 or 6 of us each login on the same PC with XP Pro.
Normally we all leave by about 5:30pm.
Is there a way to make to force the PC to log everyone off at a certain
time or by a certain time e.g. 7pm?
Thanks




  #4  
Old January 7th 04, 11:37 AM
Anando [MS-MVP]
external usenet poster
 
Posts: n/a
Default Log out everyone at a certain time

Ramesh,
My mistake, but that can be achived through the shutdown.exe command.

Example: we want the computer to log-off the user at 7:00pm. So we set a
schedule task to run at 7:00 pm and the schedule task being :

shutdown.exe -l

I hope that will achieve the desired task (since i cannot test this theory
as i am on a public machine)

Anando
Microsoft MVP for Windows XP
www.microsoft.com/mvp

"Ramesh" wrote in message
...
Anando,

That won't do exactly what he wants.

Net User Times will allow a user only to logon within the set time but

will
not force them to be logged off. At this point there is no function built
into Windows XP that will force logoff when you are not part of a domain.

http://www.mvps.org/marksxp/windowsxp/logon.htm

--
Regards,
Ramesh
AOL: SRamesh2k

«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«.............. Ramesh ...............»
«·´`·.(¸.·´(¸.·* *·.¸)`·.¸).·´`·»

~ Please reply to newsgroup ~


"Anando [MS-MVP]" wrote in message
...
Hi,
Open up the command promt (Start Run... and type CMD ) At the command
prompt, type NET HELP USER and press enter. You will get help on how to

use
the net user command. Scroll down and look up the option parameter

'/TIMES'.
That will do exactly what you want.

Anando
Microsoft MVP for Windows XP
http://www.microsoft.com/mvp

"©®" wrote in message
...
PC setup at work as follows:
5 or 6 of us each login on the same PC with XP Pro.
Normally we all leave by about 5:30pm.
Is there a way to make to force the PC to log everyone off at a certain
time or by a certain time e.g. 7pm?
Thanks






  #5  
Old January 7th 04, 11:37 AM
©®
external usenet poster
 
Posts: n/a
Default Log out everyone at a certain time

Example: we want the computer to log-off the user at 7:00pm. So we set
a
schedule task to run at 7:00 pm and the schedule task being :


Will this task run (shutdown.exe -u -f 0 - i.e. Shutdown the computer)
if it is a Scheduled Task and all users are logged off.
Or... does one user need to be logged in for the task to run?
BTW - I am admin on the PC.
Thanks


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 07:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.