XP: Limit Login Access to Specific Times and Days
By using this technique you can limit when your children or employees are able to use a system.
I have used this multiple times. Two examples…
My children have personal accounts on our home box and log-in to the internet from these accounts. Using this technique I can make sure that they can only log-in during certain times of the day (as in when I can supervise them.)
Several computers at my office had been getting crazy stuff installed on them at night. Some employees were staying all night surfing and absorbing bandwidth. This technique limits their use to more appropriate hours.
Here are the steps to activate limitations:
1. Click on the Start Menu
2. Click Run
3. Type CMD in the Open textbox and click OK
4. In the command window type:
- net user accountname /times:M-F,8am-8pm; Sa,8am-5pm;Su,8am-1pm
Replace accountname with the name of the account you wish to limit. The time command is a bit tricky, but the above example is easy to replace with the appropriate values. Here’s microsoft’s further information regarding the format of the time command:
- Specifies the times that users are allowed to use the computer. Time is limited to 1-hour increments. For the day values, you can spell out or use abbreviations (that is, M,T,W,Th,F,Sa,Su). You can use 12-hour or 24-hour notation for hours. If you use 12-hour notation, use AM and PM, or A.M. and P.M. The value all means a user can always log on. A null value (blank) means a user can never log on. Separate day and time with commas, and units of day and time with semicolons (for example, M,4AM-5PM;T,1PM-3PM). Do not use spaces when designating times.
Here are the steps to turn off limitations:
1. Click on the Start Menu
2. Click Run
3. Type CMD in the Open textbox and click OK
4. In the command window type:
net user accountname /times:all
Once again, replace accountname with the name of the account you wish to change.






alecks said on December 29, 2008
i have problem i dont know if this tool will fix it or not
i have domain on windows 2003 .. users can double log … for example
Test1 logged on pc1
and Test1 also logged on pc2
so 2 ppl use the same user … how can i disable this ?
Niklas said on August 25, 2009
Hier ist eine gute Alternative zu PC time limit. Mit Windows Board eigenen Mitteln!
Anonymous said on October 29, 2009
WinXP does not force the user off no matter how you configure the “net user” command. The only functionality provided by this command is that it prevents users from logging on to the computer outside of the time given. Windows Vista and Windows 7 have parental controls that will in fact boot the user off the computer however there are no warning messages at all!
You may want to try a product such as Piranha Designs Time Monitor which not only prevents users from logging on when you don’t want them to but also limits the amount of hours they can use the computer.
The website is http://www.time-monitor.com
Anonymous said on November 17, 2009
well, how to put specific times in would help
ex: M-T,11-13,15-17 etc
should military time be 1100-1300 then?
Anonymous said on April 27, 2010
Can’t make it work..
Any ideas or am I that dumb?
P7003 said on June 29, 2010
thats clever
Eesa:) said on July 31, 2010
Jazakallah! a million!
Joey said on December 10, 2010
I have wireless running and have about 3 computers connect to it!.
I want a way to restrict each computer to a cretain size of data.ANy suggestions?