🔒 Closed How to restrict users logon hours using netuser

Status
Not open for further replies.

winz001

Eternal Poster

You can easily restrict your users from logging in to your system, or allowing the users to login only for specific hours.

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

Below are some examples:

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

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

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

4 – net user chris /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.
_________________________
 
Status
Not open for further replies.

About this Thread

  • 0
    Replies
  • 84
    Views
  • 1
    Participants
Last reply from:
winz001

Online now

Members online
1,349
Guests online
2,543
Total visitors
3,892

Forum statistics

Threads
2,319,692
Posts
29,202,077
Members
1,179,818
Latest member
TAetae123
Back
Top