Use the tool
Want to restrict one of the users of your XP computer to logging on only during certain hours (for instance, to prevent little Johnny from sneaking downstairs and firing up the computer after you go to bed)? You can use the net user command line tool to do it.
Here's how
- Click Start | Run and type cmd to open a command prompt.
- Type net user /time:, For example, to set an account named littlejohnny to log on only between 8 a.m. and 8 p.m. Mondays through Fridays, type the following: net user littlejohnny /time:M-F,8am-5pm
You can also use 24-hour time, in the following format: 08:00-20:00.
EXAMPLE FORMAT: Net user littlejohnny /time:M-F, 08:00-17:00
You can find out more about the Net User command from this knowledge base article
Update
Microsoft has introduced a GUI program called Steady State that might make this process easier for most users.
