PDA

View Full Version : Windows 7 Startup Program Question


Banacek
12-19-2010, 04:02 PM
Hey, so I'm running Windows 7 on my HTPC, and I have an application that runs at startup for the IR receiver. The problem is that when I log in with any other user remotely, the application starts again, so then I have multiple processes running at the same time. I would like it so that it only runs on startup.

Now the way that I think I can do this is:

1) Remove the startup item from the registry.
2) Add the application to the startup items for the user the logs in automatically.

Is this the best way to do it, or am I forgetting something? Thanks!

GrenMag
12-19-2010, 04:13 PM
If you want to make sure you only have one instance running no matter who logs in and it doesn't need to live on the desktop, here's what I'd do:

1) Remove it from all startup folders
2) Add an REG_SZ entry containing the command to run to the registry at:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Run

Banacek
12-19-2010, 04:30 PM
Sweet, let me try that. Thanks!

Banacek
12-19-2010, 05:01 PM
Hmm, that is where it is, so that won't work.

Banacek
12-19-2010, 05:22 PM
Moving it from HKEY_LOCAL_MACHINE\... to HKEY_CURRENT_USER\... did the trick.