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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|