User Account Restriction in XP Pro

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.
 
R

Ramesh [MS-MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top