Sign in to follow this  
Eminem

How To Restrict Login Hours Allowed

Recommended Posts

How To Restrict Login Hours Allowed

 

 

 

[hide]

 

To restrict a users logon hours , use the net user command. These commands are used from the Command Prompt. (Start - RUN - and type cmd)

 

Below are some examples:

 

1 - net user Joanna /time:M-F,08:00-17:00

 

2 - net user Ninja /time:M-F,8am-5pm

 

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

 

4 - net user Shine /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 to force a user to log off when their hours expire, without a third party script or software.

 

 

[/hide]

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this