• Advertisements

Assign Limited Hours To Different Users

If you want to assign limited hours to certain users then follow as below

• Go to Start > Run. Type cmd.
Enter the command net user /time:S-F,08:00-20:00. Here /time is used to specify login time. S-F denotes Saturday to Friday and the time has been specified in 24- hour format. Individual timing sets with the days of the week along with corresponding time can be defined using semi-colon separation, and AM/PM time. For example /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00.
• To reset the timing restrictions, use /time:all. Whenever timings are associated with user accounts, make sure at least one administrator (with a strong password) is there without time limitations. Note that this method is useful for implementing restrictions on logins and will not force a user to log out.

In a networked environment, usage hours can be defined in the Active Directory, but this may not be specifically applicable in your case.
• Go to Start > Programs > Accessories > System Tools >Scheduled Tasks. Double click Add Scheduled Task. When the Schedule Task wizard appears, press Next and then Browse.
Enter %windir%\system32\shutdown.exe
• Select a name for the task. Enter task frequency, for example daily and press Next.
• Enter task timings, days, date and other settings, press Next.
• Enter Windows account login information through which the task will be executed, press Next.
Check ‘open advanced properties’, press Finish.
• In the Task tab’s Run filed, ad parameters –s –t 01 after the exe file shutdown.exe. S is for shutdown, and T is for timeout for shutdown. For more information on Shutdown parameter, type Shutdown at command prompt. You can set shutdown schedule as you like using this method.

Or use an automated computer shutdown utility like PC Lock Up by Aquariussoft. But this software is not freeware you can download a trial version from the website.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: