WinXP Logon Hour Restrictions

  • Thread starter Thread starter C. Rypkema
  • Start date Start date
C

C. Rypkema

Does anyone know how to set restrictions on the time period a user can
log on to a WinXP workstation in a non-networked environment?

As a corollary to that question, here's a question that is perhaps a
bigger challenge...do you know how to force the user off a workstation
at a set time?

Thanks in advance!
Chris
 
Use XP Pro, and this is available under the account's
properties when viewed from Administrative Tools-
 
Chris,

You might try makeing a batch file to logoff, shutdown, or restart and
schedule it to run at a certian time. They could just log back on though.

To make a batch file you right click on the desktop -> new -> text
document -> name it something like shutdown.bat -> right click on it and
choose edit -> type in "shutdown -s" (without quotes) -> save & exit.

You can then schedule the task to run at a set time.

The problem would occur if the user turns the computer back on after you
turn it off.

Hope this helps,

Jonathan
 
:Hi, Chris ...

Yes ... the 'net user /time' command from the Command Prompt allows you to
do just that. When the user gets within 2 minutes of his period end, they
receive a warning to save their files and then access shuts down.

i.e... To set johnsw's logon time (8 A.M. to 5 P.M.) using 12-hour notation,
type:
net user johnsw /time:M-F,8am-5pm

See the following MS site for full details:
http://tinyurl.com/3nf9

Complete examples of the command are at the bottom of the above page.
 
Back
Top