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
-
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 hours, 30 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 hours, 38 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
1 hour, 25 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
12 hours, 28 minutes ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
2 hours, 53 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
15 hours, 8 minutes ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
7 hours, 23 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
3 hours, 4 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
9 hours, 20 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day ago -
Sometimes I wonder about these bots
by
Susan Bradley
20 hours, 55 minutes ago -
Does windows update component store “self heal”?
by
Mike Cross
10 hours, 57 minutes ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
1 day, 14 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 day, 14 hours ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
2 hours, 12 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
1 day, 17 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
1 day, 17 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 5 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 1 hour ago -
0Patch, where to begin
by
cassel23
1 day, 19 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
2 days, 15 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 2 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
2 days, 23 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
2 days, 14 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
2 days, 1 hour ago -
Installer program can’t read my registry
by
Peobody
18 hours, 30 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
2 days, 12 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
2 days, 19 hours ago -
False error message from eMClient
by
WSSebastian42
3 days, 10 hours ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
3 days, 19 hours 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.