User Account Restriction in XP Pro

  • Thread starter Thread starter frameman
  • Start date Start date
F

frameman

Is there anyway to enable a time restriction of user
accounts in XP Pro? I want to limit a certain user to
either a number of hours a day or to specific time-frames.
Thanks.
 
Hi,

Set Logon restrictions:
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.

NOTE: In a standalone environment, you cannot force logoff when logon hours
expire. Alternately, use shutdown.exe command and set a Task (scheduler)

--
Regards,

Ramesh (MS-MVP)
(e-mail address removed)
http://www.mvps.org/sramesh2k

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com

~ Please reply to newsgroup ~


Is there anyway to enable a time restriction of user
accounts in XP Pro? I want to limit a certain user to
either a number of hours a day or to specific time-frames.
Thanks.
 
Back
Top