Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to create a script that would allow my daughter to use the computer for a maximum of 3 hours per day during the week. I've searched the web and can't figure out how to make the User Login execute a script on Windows Vista Home Premium. I have my computer set up for 4 users.

Step by step instructions would be appreciated, pictures would be excellent.

Is there any documentation on the detailed process Windows Vista uses when logging on? (Such as which files, commands and their directories that are executed?)

share|improve this question
up vote 1 down vote accepted

Why not just use parental control? It's easy, intuitive, is built-in into Windows Vista and works like charm!

See and take a look at the section "Restricting time on the computer". You could also check out:

It allows for accounts to be limited and controlled from one or several other accounts.

If you're looking for something a bit more advanced and child-friendly, I suggest you take a look at Works pretty well.

share|improve this answer
Parental Controls only allows for time slots to be blocked or unblocked, it does not allow for duration. For example, I want to restrict the time to 3 hours duration between 3:00 p.m. until 9:00 p.m. With Parental Control, I would have to unblock 6 hours, even though I only want her to have 3 hours, but any three during the duration. – Thomas Matthews Jun 24 '10 at 15:57
@thomas Check out the last link of my answer then. – BloodPhilia Jun 24 '10 at 16:03
I can write my own software, I just want to know the login process for Windows Vista. The *nix family has this knowledge published (I've been System Administrator on Unix and Linux systems). Another reason I don't get along with Microsoft. :-( – Thomas Matthews Jun 24 '10 at 16:03
And you want to write your own software just because you can? Why re-invent the wheel? Anyway, uou can use Group Policy to set a startup script that runs at login. – BloodPhilia Jun 24 '10 at 16:31

Im not sure about the script but to make it automatically start you can use the 'startup' folder. It can be found on your programs menu. Anything in that folder will be executed on startup (i.e. scripts, shortcuts, or otherwise) also if you haven't already you might read this if you don't mind using free third party software then check this out

share|improve this answer
Thanks for the link. Many people may not want to purchase the 3rd party apps. Since I am a software engineer, I thought I could come up with my own application, provided I knew the Windows login sequence. Unix (and brethren) is sooo much easier in this arena. – Thomas Matthews Jun 24 '10 at 16:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .