Windows XP: Specify the Hours That the User is Allowed to Use the PC

Specifying the times that a user can logon to a PC can be quite helpful, especially in cases such as limiting your child’s access to the computer. Windows Vista allows you to do this via the Parental Controls. You can also do this in Windows XP by using the command line and following this Tech-Recipe.


1. Open a command prompt.

2. Execute the following command:
net user /time:M-F,9AM-9PM

where username is the name of the user you wish to limit. The days can be modified using M,T,W,Th,F,Sa and Su. The time can also be changed but must be in hourly increments.

You can also use different times for each day:
net user /time:M,-F,9AM-9PM;Sa,9AM-10PM;Su,12PM-8PM

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.