Windows – Run programs twice in startup directory

autohotkeybootwindows 7

I run the autoruns to see the following one.

enter image description here

The thing is that the user's startup files are registered twice. I'm not sure, but this might be the cause of the AHK problem that I posted, if the programs actually run twice if they are in startup directory.

What do you think? Is this a bug of autoruns program? Or, actually, Do the programs run twice?

ADDED

With msconfig, I found that the runme.exe(the ahk script binary) is run twice. The weird thing is that when I deleted one of them, the runme.exe is removed from the startup directory.

Best Answer

Autoruns always does that: shows two entries that are linked to each other. I think it has something to do with the fact that there are two Startup locations:

C:\Documents and Settings\All Users\Start Menu\Programs\Startup vs

C:\Documents and Settings\<your-name>\Start Menu\Programs\Startup

Most programs have a feature (or option) of "don't start a second instance". Check if AHK has it.

Or my preferred way is to move most startups to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

(you know how to create a reg entry, right?) That doesn't have a "double startup" problem

Related Question