Sunday, December 10, 2006

Restricting a users Logon hours.

If you have a network system then you can restrict a users logon hours with ‘net user’ command. Pay attention to these examples, and you will know how to use it :

  1. net user john /time:M-F,08:00-17:00
  2. net user larry /time:M-F,8am-5pm
  3. net user angel /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
  4. net user mike /time:all (this one means this user can always log on)

Note:You can only restrict when a user can log on to the system. On a stand alone computer, there is no way, currently, to force a user to log off when their hours expire.

Enjoy ....

No comments: