Tuesday, 22 November 2011

How to Restrict Logon Hours in Windows XP

Open Start --> Run --> CMD

Syntax:

net user username /times:{day[-day][,day[-day]] ,time[-time][,time[-time]] [;…] all}

Example:

net user Kader /time:M-F,08:00-17:00 
net user Kader /time:M-F,8am-5pm 
net user Kader /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00 
net user Kader /time:all (this allows user to logon at any time, on any day)

No comments:

Post a Comment