Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to automatically close a program on startup?
New Posts  All Forums:Forum Nav:

How to automatically close a program on startup?

post #1 of 5
Thread Starter 
I need logitech setpoint to initialize then close itself. Someone mentioned this command:

To do this automatically when the system starts up you may run:

SetPoint.exe /x

I'm not sure where to put that though.
post #2 of 5
You can use either the startup folder or the task scheduler for this.
post #3 of 5
Thread Starter 
How can I do this with the startup folder?
post #4 of 5
I think using the startup folder would require you to create a batch file to somewhat delay it and the command prompt will be visible.

Use the task scheduler instead.
Windows Key + r (run window) > taskschd.msc ( enter this)

In the task scheduler:
-Action > Create Basic Task
-Fill up the task Name
-Select when i log on
-Start a program
- Click browse, and point it to the SetPoint.exe location
- In tge add arguments text box, place /x as its value
-Before clicking finish, tick the checkbox below to open the properties dialog box.

In the properties dialog box: ( I added this to make sure the start of the program finishes first before this termination runs)
- Under the Triggers tab
- Edit your trigger and enable "Delay task for" (if you're using an ssd you can place "3 seconds" or even a lesser value)
- Then OK

I hope I get to instruct you correctly on this or somebody else has a better idea, I need to rest now. Good luck! biggrin.gif
post #5 of 5
Thread Starter 
Quote:
Originally Posted by ConradTP View Post

I think using the startup folder would require you to create a batch file to somewhat delay it and the command prompt will be visible.

Use the task scheduler instead.
Windows Key + r (run window) > taskschd.msc ( enter this)

In the task scheduler:
-Action > Create Basic Task
-Fill up the task Name
-Select when i log on
-Start a program
- Click browse, and point it to the SetPoint.exe location
- In tge add arguments text box, place /x as its value
-Before clicking finish, tick the checkbox below to open the properties dialog box.

In the properties dialog box: ( I added this to make sure the start of the program finishes first before this termination runs)
- Under the Triggers tab
- Edit your trigger and enable "Delay task for" (if you're using an ssd you can place "3 seconds" or even a lesser value)
- Then OK

I hope I get to instruct you correctly on this or somebody else has a better idea, I need to rest now. Good luck! biggrin.gif

Appreciate the help, thank you. I tried it out and I get an error saying the application was unstable to start correctly, but I think it's just setpoint related. I think your solution works I will play around with it some more.

Got it to work. For some reason if I browsed the exe of setpoint it would give me an error. If I chose it under the Windows start folder it worked. smile.gif Thanks again.
Edited by ranseed - 10/19/14 at 8:47am
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to automatically close a program on startup?