restrict logon times

You want to restrict a users ability to login to specific time This restricts the times a user can logon to the system.

C>:net user (username) /time:(day to start)-(day to end),(time to start)-(time to end)

The days are m/t/w/th/f/s/su.

It will not restrict users from using a computer they have already logged into.

examples net user /time:M-F,08:00-17:00 net user /time:M-F,8am-5pm net user /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00 net user /time:all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Image links from G2 are formatted for use with Lightbox2

More information about formatting options