Back to Forums








View Full Version : Restricted Login Hours


Tinker
January 5th, 2003, 22:38 PM
I found this of interest. The source is Microsoft TechNet.....


Subject: Setting Restricted Login Hours on XP Standalone System

I recently had to contact Microsoft Tech Support for assistance on this so I wanted to post the article on the web incase someone else had this same issue.

Situation: You want to restrict the logon days / times of a user account in XP and are a standalone machine.

Reason: You may wish to restrict teens who arrive home before adult supervision from accessing your broadband always on connection, limit employees to only work hours access etc..

Steps:

To Set restrictions:

Click Start
Click Run
Type cmd in the run box and press enter.
The following is a sample of what you would type:
net user testuser /times:M-F,5pm-9pm; Sa,6am-9pm;Su,6am-9pm

Where testuser is the local account name.

To Remove Restrictions:

Click Start
Click Run
Type cmd in the run box and press enter.
The following is a sample of what you would type:
net user testuser /times:all

Where testuser is the local account name.

I hope someone else finds this useful as I did.

Ken Foster

egghead
January 6th, 2003, 00:59 AM
thanks Tinker,

i can use this info
ive saved it as a text file

cheers
egghead

btw
your sig is awesome

Tinker
January 6th, 2003, 01:34 AM
Thanks egghead.

:D