Tuesday, June 26, 2007

Ever want to enforce logon hours on a workgroup PC?

Click Start, Run and enter GPEDIT.MSC Go to Computer
Configuration, Windows Settings, Security Settings, Local Policies, Security
Options. In the right pane, locate the entry for Network Security: Force
logoff when logon hours expire.

Examples of setting the logon hours would be: You can set them for 24 hours

Or go to Start/Run/CMD and type in: (use as an example and modify)

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

For Sat/Sun use SA/SU

To cancel and/or clear: Go to Start/Run/CMD and type in: (Use as an
example) net user Kelly /time:all

0 Comments:

Post a Comment

<< Home