restrict a users logon time fo windows xp pro

D

dava006

I had posted a request earlier about how to restrict the
logon times of my son from the computer in his room. I
have recieved serveral responses recommending 3rd party
software and another response recommending the net user
time command from the command. I have looked up this
command to see what parameters I need but I don't know
how to implement this. Could someone please give me some
ideas on how and where I need to put this command to make
it affective.
 
A

Anando [MS-MVP]

Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a user can never log on.
Separate day and time entries with a comma, and separate multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect
 
D

dave006

but were do I use the command? in a scrip? a batch file?
I don't know where to put the command to be affective


-----Original Message-----
Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a user can never log on.
Separate day and time entries with a comma, and separate multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect


dava006 said:
I had posted a request earlier about how to restrict the
logon times of my son from the computer in his room. I
have recieved serveral responses recommending 3rd party
software and another response recommending the net user
time command from the command. I have looked up this
command to see what parameters I need but I don't know
how to implement this. Could someone please give me some
ideas on how and where I need to put this command to make
it affective.


.
 
A

Anando [MS-MVP]

Hi,

Click on Start >> Run and type CMD. Use the command appropriately at the
command prompt.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect


dave006 said:
but were do I use the command? in a scrip? a batch file?
I don't know where to put the command to be affective


-----Original Message-----
Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a user can never log on.
Separate day and time entries with a comma, and separate multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect


dava006 said:
I had posted a request earlier about how to restrict the
logon times of my son from the computer in his room. I
have recieved serveral responses recommending 3rd party
software and another response recommending the net user
time command from the command. I have looked up this
command to see what parameters I need but I don't know
how to implement this. Could someone please give me some
ideas on how and where I need to put this command to make
it affective.


.
 
R

Ramesh [MVP]

This must explain clearly.

Restrict User Logon Hours:
http://www.dougknox.com/xp/tips/xp_restrict_users.htm

--
Ramesh - Microsoft MVP
www.mvps.org/sramesh2k

Free Online Virus Scanners and Security Tests:
http://www.mvps.org/sramesh2k/Scanners.htm



but were do I use the command? in a scrip? a batch file?
I don't know where to put the command to be affective


-----Original Message-----
Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a user can never log on.
Separate day and time entries with a comma, and separate multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect


dava006 said:
I had posted a request earlier about how to restrict the
logon times of my son from the computer in his room. I
have recieved serveral responses recommending 3rd party
software and another response recommending the net user
time command from the command. I have looked up this
command to see what parameters I need but I don't know
how to implement this. Could someone please give me some
ideas on how and where I need to put this command to make
it affective.


.
 
D

dave006

Thanks very helpful

-----Original Message-----
This must explain clearly.

Restrict User Logon Hours:
http://www.dougknox.com/xp/tips/xp_restrict_users.htm

--
Ramesh - Microsoft MVP
www.mvps.org/sramesh2k

Free Online Virus Scanners and Security Tests:
http://www.mvps.org/sramesh2k/Scanners.htm



but were do I use the command? in a scrip? a batch file?
I don't know where to put the command to be affective


-----Original Message-----
Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a
user
can never log on.
Separate day and time entries with a comma, and
separate
multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect





.
.
 
R

Ramesh [MVP]

You're welcome.

--
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k



Thanks very helpful

-----Original Message-----
This must explain clearly.

Restrict User Logon Hours:
http://www.dougknox.com/xp/tips/xp_restrict_users.htm

--
Ramesh - Microsoft MVP
www.mvps.org/sramesh2k

Free Online Virus Scanners and Security Tests:
http://www.mvps.org/sramesh2k/Scanners.htm



but were do I use the command? in a scrip? a batch file?
I don't know where to put the command to be affective


-----Original Message-----
Hi,

NET USER /TIMES

/TIMES:{times | ALL} Is the logon hours. TIMES is expressed as
day[-day][,day[-day]],time[-time][,time [-time]], limited to 1-hour
increments. Days can be spelled out or abbreviated. Hours can be 12- or
24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. ALL means
a user can always log on, and a blank value means a
user
can never log on.
Separate day and time entries with a comma, and
separate
multiple day and
time entries with a semicolon.

--

Regards,
Anando
Microsoft MVP- Windows Shell/User
http://www.microsoft.com/mvp
http://www.mvps.org

Folder Customisations
http://newdelhi.sancharnet.in/minku

Get Secure !!
http://www.microsoft.com/protect





.
.
 

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