Re: Controling user login access to Windows XP

From: Kelly (kelly_at_mvps.org)
Date: 08/15/04


Date: Sun, 15 Aug 2004 05:04:54 -0500

Natively, sort of.....

Restrict User Logon Hours

For Pro: Click Start, Run and enter GPEDIT.MSC Go to Computer
Configuration, Windows Settings, Security Settings, Local Policies, Security
Options. In the right pane, locate the entry for Network Security: Force
logoff when logon hours expire.

Examples of setting the logon hours would be: You can set them for 24 hours

Or go to Start/Run/CMD and type in: (use as an example and modify)

net user kelly /time:M-F,08:00-17:00
net user kelly /time:M-F,8am-5pm
net user kelly /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00

To cancel and/or clear: Go to Start/Run/CMD and type in: (Use as an
example) net user Kelly /time:all

-- 
All the Best,
Kelly
Microsoft-MVP Windows® XP
2004 Windows MVP "Winny" Award
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
"Jim" <jhosten@rogers.com> wrote in message 
news:QyqTc.46$WM61.44@news04.bloor.is.net.cable.rogers.com...
>I have a standalone PC with Windows XP running on it. It is set up to use
> separate accounts for my family members. I want to control the time my 11
> year old son can access the system. Does anyone know how I can configure 
> an
> account so that it can only be logged into between 6:00am and 10:00pm? Can
> it be set to log out automatically at 10:00pm?
>
> TIA, Alan
>
> 


Relevant Pages

  • Re: LogonPrompt Under WindowsNT Registry
    ... > I am trying to use the entry Logon Prompt entry under ... The [Register Registry Values] section lists several values as a grouping for ... Welcome to Windows!" ...
    (microsoft.public.win2000.security)
  • Re: How to force a logoff in a logon script?
    ... Windows has a registry key that governs which UI will be presented ... the unauthorized user cancels the logon dialog and goes away ... system, but complains that there was no cancel button, only an OK ...
    (microsoft.public.windows.server.scripting)
  • Re: When utilizing "Switch User" the music "NEVER" Stops!
    ... 2004 Windows MVP "Winny" Award ... Switch User, changing logons and checking the top of Zone ... >logging onto the 2nd logon and then logging off and back ... >>NEVER stopped thru any of the screens ?? ...
    (microsoft.public.windowsxp.general)
  • Re: Huh? "Login failure: the user has not been granted the requested logon type at this compute
    ... I'm a pretty experienced Windows user and programmer, ... the user has not been granted the requested logon type ... on the appropriate OU to see the Group Policy for that OU]. ... > administrators' group to the domain controller. ...
    (microsoft.public.security)
  • Re: Server 2K3 Remote Desktop Access - is this right place?
    ... All roads for that particular error of 'You do not have access to logon to ... On Windows Server 2003, launch GPEDIT.MSC from Start -> Run. ... Drill down and expand the following for Local Computer Policy: ... > Strange - when I activate the Remote Desktop Terminal from the server, ...
    (microsoft.public.win2000.advanced_server)