DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
 
Results 1 to 3 of 3

Thread: How to Restrict login hours of a particular user in Windows

  1. #1
    riteshtechie's Avatar
    riteshtechie is offline Software Developer
    Join Date
    Mar 2009
    Posts
    880

    Default How to Restrict login hours of a particular user in Windows

    If you want to restrict a certain user to login a computer in between certain time in case you run a business than the following trick will help you. To restrict a users logon hours , use the net user command. These commands are used from the Command Prompt.

    Go to: Start > RUN > and type cmd



    Below are some examples that you can use:

    1 - net user Naina /time:M-T,08:00-17:00 (In this case user Naina is allowed to login between Monday to Friday, in between 8 AM to 5 PM)

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

    3 - net user Gates /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. There is no way to force a user to log off when their hours expire, without any third party script or software.

    Detailed read: Set Time Limit for User Account.

  2. #2
    RoninV's Avatar
    RoninV is offline New Member
    Join Date
    Dec 2008
    Posts
    9

    Default

    ...and for those that might prefer the GUI route, and have Administrative level access, you can also restrict hours using Active Directory.

  3. #3
    nitinagarwal1988's Avatar
    nitinagarwal1988 is offline Microsoft MVP
    Join Date
    Jan 2009
    Location
    Pilani, India
    Posts
    1,570

    Default

    Well, i think Parental Controls in Windows Vista and Windows 7 will do it very easily and perfectly whether the user is currently logged in or not in the computer...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22