View Single Post
Old 2022-05-12, 08:27   #3
S485122
 
S485122's Avatar
 
"Jacob"
Sep 2006
Brussels, Belgium

22·33·17 Posts
Default

Prime95 uses the registry to "Start at logon". It will use the "Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" location to store a "Prime95" entry with the path to the executable to ensure the program is run at logon.

For instance if Prime95 is running from the C:\MyPrograms\Prime95 folder the "Prime95" entry would have the value :
"C:\MyPrograms\Prime95\prime95.exe"

But these keys are ignored when the computer is started in Safe Mode (unless one prefixes the string with an asterisk "*" but that might only apply to the "runonce" keys.)

Another thing : the run keys can only store commands that are less than 280 characters.

You don't need the registry to verify if a program is set to start at logon : use Task Manager; if needed click on "More Details" and check the "Startup" tab. If Prime95 is set to start at logon you should have one "PRIME95 Application" line.

If everything seems correctly set and the program still doesn't run at logon, you might expect to find the reason in one of the hundreds of event logs, but AFAIK there will be nothing : the logon process doesn't log that kind of events.

Another way to ensure a program starts at logon is to use the TaskScheduler which will result in logs or the startup folder : C:\Users\User\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup ...
S485122 is offline   Reply With Quote