How can I run VB application at the startup and shut down after a specified time? I am developing a personal application that should run automatically at startup which takes the administrator login to give permission for a specified time i.e. 1 hr / 2 hrs etc and runs in the background. Once the time is elapsed, it should shutdown automatically. I would like to restrict my children to play/use computer for a limited time only.