Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-08-2009, 11:51 AM   #1 (permalink)
Apprentice
 
ritesh.techie's Avatar
 
Join Date: Jul 2009
Location: Bhopal, India
Posts: 99
Default How To: Restrict login hours of a particular user

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.

In BTW, I don't know whether this post is being in the forum or not if it is there MODS please delete it
__________________
Get all latest tips and tricks at http://beingpc.com/
ritesh.techie is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-08-2009, 09:11 PM   #2 (permalink)
Freak Beta 1
 
Dark Core's Avatar
 
Join Date: Dec 2008
Location: Nagercoil
Posts: 208
Default Re: How To: Restrict login hours of a particular user

Gud Tutor dude
__________________
Twitter : www.twitter.com/arunselvakumar
Facebook : www.facebook.com/arunselvakumar
Dark Core is offline  
Old 08-08-2009, 11:20 PM   #3 (permalink)
Wise Old Owl
 
a_k_s_h_a_y's Avatar
 
Join Date: May 2007
Location: bangalore
Posts: 1,855
Default Re: How To: Restrict login hours of a particular user

We can log off a user after some hours.
Using the Windows Task manager. And the shutdown.exe !!
__________________
Sony Ericsson Flashing, Modding, Patching, Hacking And More !
http://www.akshayy.com/sonyericsson/
a_k_s_h_a_y is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 09:47 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2