Aw, c’mon Dad, staying awake all night in front of the glow of a monitor is a hallmark of geekdom. Seriously, though, you may want to check the system BIOS – many modern BIOSes allow for scheduled on/off times. Otherwise, you’ll be looking at the group policies (in XP Pro) to restrict logon hours or perhaps a third party program. I’m not aware of any but that doesn’t mean they don’t exist.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Controlling on/off time of PC (Win XP)
Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » Controlling on/off time of PC (Win XP)
- This topic has 19 replies, 9 voices, and was last updated 22 years, 5 months ago.
AuthorTopicWSWyllyWylly
AskWoody LoungerDecember 18, 2002 at 1:07 pm #380862Viewing 0 reply threadsAuthorReplies-
WSbonalymac
AskWoody LoungerDecember 18, 2002 at 1:07 pm #639497I’m planning to give my daughter her own PC for Xmas. Till now, she’s used the family one.
To prevent her spending all night on the PC, I’d like to try and control when the PC can be switched on. I know that a program like CyberPatrol will let me control the hours for internet access, but I’m looking to see what I can do to control PC use generally, ie games, off-line readers etc. I know that with boot disks or whatever, anyone can get round this, but she’s not capable of that (yet!!!) I think (or is that hope).
Does anyone know of a Win XP based program that would let me do this?
Thanks
-
WScarbonnb
AskWoody LoungerDecember 18, 2002 at 1:09 pm #639503 -
WSWyllyWylly
AskWoody Lounger
-
-
joep517
AskWoody MVPDecember 18, 2002 at 1:10 pm #639504Colin, Here’s a couple to check out. See SafeLogon here http://www.gemiscorp.com/english/main.html%5B/url%5D and 1st Security Officer here
http://www.1securitycenter.com/sc/index.html%5B/url%5D. I don’t know if either is any good and I’m sure there are plenty of others available.hth,
Joe--Joe
-
WShlewton
AskWoody Plus
-
-
WSbigaldoc
AskWoody LoungerDecember 18, 2002 at 8:15 pm #639639I have experience of ONE (only son) but you’ve got a big question on your hands, Colin! My comments are probably a mixture of coming close to what the others have said already. Your daughter sounds like a TEEN with some computing experience under her belt. Giving her a PC and then telling her you’re going to lock it during night hours or put it in the living room would be a blow to how she perceives your trust in her. It would be fairly easy to “teach” her the potential dangers of chat rooms, viruses, porn sites, spam and all the other dangers on the ‘Net – the media is full of example stories. Then, it comes down to TRUST. On the other hand, if she’s a pre-teen, I think I would opt for the physical location, rather than the locking or special software. Good luck, Dad, with your decision! And Merry Christmas to HER, however you decide to go. She should be a happy camper…..
-
WSbonalymac
AskWoody LoungerDecember 19, 2002 at 9:48 am #639773If some of you had READ the original post, they would have seen that I wanted to restrict the Hours she spend on the PC, not what she does on it. What she visits is a matter of trust.
However she is in final 2 years of school, and I want her (as does she) passing exams as well as passing computer games. So it is sensible parenting to agree a timescale that can be enforced. Otherwise, she will spend an unreasonable number of hours on line, and she and I will suffer in the end.
I’m afraid this is one area where parenting has to be a bit stricter than kids would appreciate. She’ll still get plenty of time on-line, and as late as we agree is sensible, but then she’ll have to have a rest.
-
WSbonalymac
AskWoody Lounger -
WSWyllyWylly
AskWoody LoungerDecember 19, 2002 at 3:17 pm #639862Gang, let’s remember what Colin asked for….which wasn’t parenting advice.
Colin, you may want to keep in mind that software can be defeated, so make sure you set up user profiles and use them appropriately if you want to keep SafeLogon, erm, safe. If your daughter has administrative access it won’t do any good to install it.
-
WSbonalymac
AskWoody Lounger
-
-
-
-
WSBruce K
AskWoody LoungerDecember 19, 2002 at 10:03 am #639776Colin ~
If you have XP Pro you can use the Local Security Policy to force your daughter off the computer and allow her to log on to the computer only at the times you determine.
First, set Log On hours. Open the command prompt by going to “Start” >”Run…” > then type cmd. Type in a net user command to set the user’s hours.
Example:
net user colin /time:M-F,18:00-20:00
net user sarah /time:M-F,6pm-8pm
net user edward /time:M,6pm-8pm;T,5pm-6pm;W-F,20:00-21:00Notice that the user name is listed after the net user command. After the /time: switch you enter the day of the week and time frame they can log onto the computer. Please note the appropriate spaces.
Now you need to configure the Local Security Policy to log users off when they go past their logon hours. Go to “Run…” and type gpedit.msc.
Go to the following location:
Local Computer PolicyComputer ConfigurationWindows SettingsSecurity SettingsLocal Policies
Look in the right pane for Network Security: Force Logoff when logon hours expire. Double click on it and set it to enable. Restart the computer. Bada-bing-bada-boom! Your daughter will only be able to log on when you want her to & the machine will force her to log off when it’s time to get off the computer and into bed.
-
WSbonalymac
AskWoody Lounger -
WSTimOz
AskWoody LoungerDecember 20, 2002 at 1:00 am #639979Edited by WyllyWylly to clean up markup code.[/size]
I’m a homie too, unfortunately
. I believed the salesmen, and PR material, that said Pro had a few extra security features useful only for networkng
.
But, it seems it’s not quite as crippled as it appears
I just tried out the NET command, as suggested by Bruce, and it seems to work. I set up a new limited user, timetest, and made sure it worked OK (log on/off). Then, as admin, used the command:
net user timetest /times:M-F,06:00-07:00
When I tried to log on as timetest I was asked for a password (it doesn’t have one!), effectively preventing a logon. As admin I then used the command:
net user timetest /times:ALL
Now timetest was back to normal, able to log on/off.
So, you can define logon times. However, without gpedit
, the forced log off needs another solution. In your situation, maybe just a scheduled task to pop up a reminder to go
at the appropriate time.
Another potentially useful
command that’s available is cacls, to fiddle with file access control lists.
NB Either net, and cacls, could cause similar grief as playing with the registry, so tread carefully.
-
WSWyllyWylly
AskWoody LoungerDecember 20, 2002 at 1:04 am #639983[indent]
Another potentially useful command that’s available is cacls, to fiddle with file access control lists.
[/indent]It’s worth mentioning that CACLS will only work with the NTFS file system – and personally, I’d avoid fooling with access control lists as it relates to Colin’s original request. That would prevent access to certain resources, but it won’t lock out the workstation at an appropriate time. Besides, why use the command line when the GUI is there to make it simpler? I say that even though I am a command-line commando.
The NET commands should work in all iterations of XP, though, as it’s part of NT’s original design (from which XP is borne). Great example!
-
WSTimOz
AskWoody LoungerDecember 20, 2002 at 1:29 am #639986Quite right. cacls won’t help with the original request.
I intended it as an example of how Home has a bit more scope than at first appears. Also forgot to say that a likely use for cacls may be when the “simple file sharing” proves too simple.
Unfortunately, I don’t know of any GUI options to cacls with Home, but if there are any, I’d love to know about them. I grew up with the DOS prompt, and it’s predecessors, but prefer to keep life simple where possible.
-
WSWyllyWylly
AskWoody LoungerDecember 20, 2002 at 5:08 am #640006 -
WSTimOz
AskWoody LoungerDecember 20, 2002 at 8:34 am #640032Maybe you’re thinking of XP Pro, the Security tab is absent in Home?
As you can see from the screen shot (under NTFS), the options are somewhat limited. You get to this screen only after braving the warnings about sharing the root of a drive on your PC.
That’s why I like the idea of cacls being there as a 2nd last resort. The last resort is all users as admin
.
-
WSkaplinb
AskWoody Lounger -
WSTimOz
AskWoody Lounger
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
You can’t handle me
by
Susan Bradley
54 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
1 hour, 52 minutes ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
2 hours, 59 minutes ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
3 hours, 11 minutes ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
3 hours, 23 minutes ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
3 hours, 28 minutes ago -
Lumma malware takedown
by
EyesOnWindows
10 hours, 42 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
12 hours, 16 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
12 hours, 10 minutes ago -
Meet Gemini in Chrome
by
Alex5723
16 hours, 15 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
16 hours, 24 minutes ago -
Trump signs Take It Down Act
by
Alex5723
1 day ago -
Do you have a maintenance window?
by
Susan Bradley
11 hours, 32 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 hours, 35 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
1 day, 3 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
1 day, 8 hours ago -
hibernate activation
by
e_belmont
1 day, 12 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 16 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day, 19 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day, 19 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
15 hours, 36 minutes ago -
Out of band for Windows 10
by
Susan Bradley
2 days ago -
Giving UniGetUi a test run.
by
RetiredGeek
2 days, 7 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 14 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
10 hours, 36 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days, 19 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 16 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
16 hours, 27 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
1 day, 10 hours ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
10 hours, 5 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.