I have a few programs in my startup folder (in Windows 7) that I ONLY want to run on weekdays. (Preferably I only want to run those during office hours.) How can I do this? Is there something simple that I can check in the shortcut settings or perhaps a simple (free) program in which you can put programs and have those programs only start up at certain days?

  • I would just configure a scheduled task to run a specific program Monday through Friday at a certain time. – Ramhound Jul 24 '13 at 14:23
  • @Ramhound: What if I would set it up to run at say 6am every weekday, wouldn't it just run when I log on after that time? (like 8am or 10am) Or won't it run, since it's not 6am anymore? – Malachi Jul 25 '13 at 14:06
  • You do understand that a Scheduled Task can be configured to run every single day at a certain time right? You don't have to trigger it only when the user logs into the account. – Ramhound Jul 25 '13 at 15:11
  • @Ramhound I do understand that, yes... but I want to let it run as soon as I login. That was the intention of my question... hence my question. :-) – Malachi Jul 26 '13 at 15:54
  • You never said on login you have the impression you wanted it to happen 5 days a week daily – Ramhound Jul 26 '13 at 19:26

Unfortunately, you're not going to find an easy solution. The startup folder is rather dumb, and has no configurability.

Your best bet is to modify the shortcuts in your startup folder to run an intermediary program that would determine whether or not to execute the application... or delete them all and switch to using scheduled tasks that run at logon.

| improve this answer | |
  • thanks! I knew it wouldn't be that easy.. but I was wondering if there was something out there that would do it. I guess TaskScheduler would do, but then again, have something that would trigger TaskScheduler (see Simkill's elaboration) every time isn't that 'clean' either.. – Malachi Jul 24 '13 at 14:32

Yeah you can use the Windows Task Scheduler. Just open start and type in Task Scheduler and hit enter.

On the right you will see the Action section. Click on Create Task...

After that its quit simple, just follow the steps fill in the blanks and save. Your done!

For more info: How to schedule a task

Example: How to Create a Automated Task that Runs at a Set Time in Windows 7

Video example: Windows Task Scheduler

| improve this answer | |

To elaborate on thecompwiz's answer, create your scheduled tasks to run on logon to kick off the items usually located in startp (you'll need to move them elsewhere or they will still run on weekends), then create two batch files using the information located here http://www.howtogeek.com/51236/how-to-create-modify-and-delete-scheduled-tasks-from-the-command-line/ and here https://stackoverflow.com/questions/6370256/enable-schedule-task-using-a-batch-file to run at a set time on Friday night to disable your other tasks, then enable them again on Monday morning. Job done!

You should also create a trigger where your other tasks run when the enable task runs on a Monday otherwise they wont run on logon on Monday morning

| improve this answer | |
  • Thanks Simkill for the elaboration. As for creating jobs like that.. What if I would set it up to run at say 6am every weekday, wouldn't it just run when I log on after that time? (like 8am or 10am) Or won't it run, since it's not 6am anymore? – Malachi Jul 24 '13 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.