Registry keys


Pablo56

Member
Local time
7:04 PM
Posts
19
OS
Windows 11
Hi. I downloaded an email app canary mail. I could not get it to run at bootup so I manualy created a registry key.

Value Name: Canary
Value data: C:\Program Files\Canary Mail\Canary.exe

I decided to export the registry in case I needed it later. What I got was more than I expected. Is all this nessessary?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]

"SecurityHealth"=hex(2):25,00,77,00,69,00,6e,00,64,00,69,00,72,00,25,00,5c,00,\
73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,65,00,63,00,75,\
00,72,00,69,00,74,00,79,00,48,00,65,00,61,00,6c,00,74,00,68,00,53,00,79,00,\
73,00,74,00,72,00,61,00,79,00,2e,00,65,00,78,00,65,00,00,00
"AVGUI.exe"="\"C:\\Program Files\\AVG\\Antivirus\\AvLaunch.exe\" /gui"
"Canary"="C:\\Program Files\\Canary Mail\\Canary.exe"

Could it not be simply...

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
“C:\Program Files\\Canary Mail\\Canary.exe"
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i3 12100 CPU
    Motherboard
    ASRock H610-M-HVS/M.2 (rev 2.0)
    Memory
    2x 8GB Team DDR4
    Graphics Card(s)
    On Board Intel UHD Graphics 730?
    Sound Card
    On Board Realtek
    Monitor(s) Displays
    LG
    Screen Resolution
    1920 * 1080
    Hard Drives
    500GB Team NVMe drive + 2x 500GB Team GX2 SATA SSD
The Run key makes the program run every time the user logs on

here is yours

runkey.jpg
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Sorry. Didn't realise that was the entire content of Run. My entry is only
"Canary"="C:\\Program Files\\Canary Mail\\Canary.exe"

So all i need is to add it with
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Canary"="C:\\Program Files\\Canary Mail\\Canary.exe"

Is that correct? Or will it remove the other keys?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i3 12100 CPU
    Motherboard
    ASRock H610-M-HVS/M.2 (rev 2.0)
    Memory
    2x 8GB Team DDR4
    Graphics Card(s)
    On Board Intel UHD Graphics 730?
    Sound Card
    On Board Realtek
    Monitor(s) Displays
    LG
    Screen Resolution
    1920 * 1080
    Hard Drives
    500GB Team NVMe drive + 2x 500GB Team GX2 SATA SSD
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Canary"="C:\\Program Files\\Canary Mail\\Canary.exe"

it wont remove the others
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Could it not be simply...

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
“C:\Program Files\\Canary Mail\\Canary.exe"

You need to keep the initial line that was in your export .reg file
Windows Registry Editor Version 5.00
and a second, blank line used to be compulsory as well,
so your .reg file would be
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"C:\\Program Files\\Canary Mail\\Canary.exe"

Check that your quotation marks are the standard ones, as shown in my recommended syntax.
Your post included
“C
which was probably changed by the word processor you read the file in.
Curly quotation marks such as that have historically not been accepted in .reg files, cmd prompt windows, ...

You also dropped a \ that I have corrected for.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Yes that is what I have done. You seem to need \\ as a C++ escape charecter sequence.

I also noticed an extra \ at the start of an AVG one = \"C:\\...
"AVGUI.exe"="\"C:\\Program Files\\AVG\\Antivirus\\AvLaunch.exe\" /gui"
and it needs a "Canary"= to asign the key name.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i3 12100 CPU
    Motherboard
    ASRock H610-M-HVS/M.2 (rev 2.0)
    Memory
    2x 8GB Team DDR4
    Graphics Card(s)
    On Board Intel UHD Graphics 730?
    Sound Card
    On Board Realtek
    Monitor(s) Displays
    LG
    Screen Resolution
    1920 * 1080
    Hard Drives
    500GB Team NVMe drive + 2x 500GB Team GX2 SATA SSD
I also noticed an extra \ at the start of an AVG one
Yes, that's because it has to cope with a space in the path. It's to escape the " that is needed.

Your Canary does not have a space in its path so it does not need that extra \ at the start.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
I downloaded an email app canary mail. I could not get it to run at bootup so I manualy created a registry key.
Just as an FYI, you don't have to create a registry entry to run a program on login. You can simply create a shortcut to the exe (Canary.exe in this case) and drop that shortcut into your Startup folder. You can find the Startup folder by entering shell:startup in the Run box.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Ok thanks shell:startup dosn't work in the run (W11) but startup does/ shell:startup brings up a web browser.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    N/A
    CPU
    Intel i3 12100 CPU
    Motherboard
    ASRock H610-M-HVS/M.2 (rev 2.0)
    Memory
    2x 8GB Team DDR4
    Graphics Card(s)
    On Board Intel UHD Graphics 730?
    Sound Card
    On Board Realtek
    Monitor(s) Displays
    LG
    Screen Resolution
    1920 * 1080
    Hard Drives
    500GB Team NVMe drive + 2x 500GB Team GX2 SATA SSD
you can also browse to “shell:startup” in explorer (by typing it into the top address bar) and drop any shortcuts you want to launch during startup there
 

My Computer

System One

  • OS
    PE
Ok thanks shell:startup dosn't work in the run (W11) but startup does/ shell:startup brings up a web browser.
I think you typed the command into the taskbar Search box instead of the Run box.

To get to the Run box, right-click the Windows icon 1713447855122.png and select Run or press +R.
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer

Latest Support Threads

Back
Top Bottom