Jan 13, 2010

restricting users logon hours

How to restrict a User's Logon hours?
You can only restrict when a user can log on to the system. Currently, there is no way, to force a user to log off when their logon hours expire.
1) Open Help and Support and type "logon hours" (without the quotes) in the search box.
2) Go to Full text matches and click on "Net user". See the examples for setting a user's logon hours. Some examples would be:
net user steve /time:M-F,08:00-17:00
net user steve /time:M-F,8am-5pm
net user maria /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
net user steve /time:all (this one means this user can always log on)
3) Open a Command Prompt window.
4) Enter the appropriate "net user" command for the user or users you wish to restrict access for.

No comments:

Post a Comment