How to restrict log-ons to Windows XP
If you’re looking for a way to restrict when certain users can log on to Windows XP, here’s a simple little example from Doug Knox:
1) Open Help and Support and type "logon hours" (without the quotes) in the
2) Go to Full text matches and click on "Net user". See the examples for
setting a user’s logon hours. Some examples would be:
net user johnsw /time:M-F,08:00-17:00
net user johnsw /time:M-F,8am-5pm
net user marysl /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
net user johnsw /time:all (this one means this user can always log on)
3) Open a Command Prompt window.
4) Enter the appropriate "net user" command for the user(s) you wish to restrict
Notes: This works for basic users and can be pretty effective if users are required to use a password to log on. This would be a good way to restrict children from logging on to Windows XP. Please keep in mind that this will keep a user from logging on to the system. It will not cause them to log off when their hours “expire”.
Hat tip: Restrict User Logon Hours