Register autostart entry for the NetBird UI from within the app #2263

Open
opened 2025-11-20 07:06:43 -05:00 by saavagebueno · 5 comments
Owner

Originally created by @nazarewk on GitHub (Sep 10, 2025).

Is your feature request related to a problem? Please describe.
from the public Slack:

Settings > Connect on Startup in the Windows client (v0.56.1) works as intended after a reboot, but the NetBird GUI isn't active/launched in the system tray icons. Feature request to create a Settings checkbox that does Start NetBird at Login

Windows apps were/are commonly registering their own autostart entries, sounds reasonable to have something similar for NetBird UI process.

Describe the solution you'd like

N/A

Describe alternatives you've considered

N/A

Additional context
was somewhat mentioned as a part of https://github.com/netbirdio/netbird/issues/3634

Originally created by @nazarewk on GitHub (Sep 10, 2025). **Is your feature request related to a problem? Please describe.** from the public Slack: > Settings > Connect on Startup in the Windows client (v0.56.1) works as intended after a reboot, but the NetBird GUI isn't active/launched in the system tray icons. Feature request to create a Settings checkbox that does Start NetBird at Login Windows apps were/are commonly registering their own autostart entries, sounds reasonable to have something similar for NetBird UI process. **Describe the solution you'd like** N/A **Describe alternatives you've considered** N/A **Additional context** was somewhat mentioned as a part of https://github.com/netbirdio/netbird/issues/3634
saavagebueno added the feature-requestUXclient-uigui labels 2025-11-20 07:06:43 -05:00
Author
Owner

@austin-rh commented on GitHub (Sep 10, 2025):

This was mentioned in https://github.com/netbirdio/netbird/issues/2692, but the issue was closed. Is there any update to include this option in the MSI installer?
Image

@austin-rh commented on GitHub (Sep 10, 2025): This was mentioned in https://github.com/netbirdio/netbird/issues/2692, but the issue was closed. Is there any update to include this option in the MSI installer? <img width="499" height="388" alt="Image" src="https://github.com/user-attachments/assets/56191e80-5e28-4742-afe6-ce4493a79db3" />
Author
Owner

@2-click commented on GitHub (Oct 1, 2025):

Really sad that there's no such option in the MSI :(

@2-click commented on GitHub (Oct 1, 2025): Really sad that there's no such option in the MSI :(
Author
Owner

@lixmal commented on GitHub (Oct 1, 2025):

You can run

New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" -Name "Netbird" -Value "C:\Program Files\Netbird\Netbird-ui.exe" -PropertyType String -Force

to make it autostart

@lixmal commented on GitHub (Oct 1, 2025): You can run ```ps1 New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run" -Name "Netbird" -Value "C:\Program Files\Netbird\Netbird-ui.exe" -PropertyType String -Force ``` to make it autostart
Author
Owner

@2-click commented on GitHub (Oct 2, 2025):

The MSI gets installed as system for all users, so this command would be a better workaround:

New-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run" `
  -Name "Netbird" `
  -Value "C:\Program Files\Netbird\Netbird-ui.exe" `
  -PropertyType String `
  -Force

Still, a native solution would be better since lots of admins deploy NetBird as an MSI because it's easy to upload in MDMs like Intune, but you can't specify additional commands. So in this case you need to deploy an MSI-App in intune together with a platform script. Or bundle it as a win32 app. Would be way easier if the MSI would create the autorun entry automatically. Bonus points for providing a MSI paramter to disable autorun registration.

@2-click commented on GitHub (Oct 2, 2025): The MSI gets installed as system for all users, so this command would be a better workaround: ``` New-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run" ` -Name "Netbird" ` -Value "C:\Program Files\Netbird\Netbird-ui.exe" ` -PropertyType String ` -Force ``` Still, a native solution would be better since lots of admins deploy NetBird as an MSI because it's easy to upload in MDMs like Intune, but you can't specify additional commands. So in this case you need to deploy an MSI-App in intune together with a platform script. Or bundle it as a win32 app. Would be way easier if the MSI would create the autorun entry automatically. Bonus points for providing a MSI paramter to disable autorun registration.
Author
Owner

@flotpg commented on GitHub (Nov 7, 2025):

@lixmal
7be2c2bb61
I have a question: Can you please clarify if this available as a silent / unattended switch?
Is this still only available for the setup.exe?
Whats the difference between setup.exe and MSI?

Thank you very much.

@flotpg commented on GitHub (Nov 7, 2025): @lixmal https://github.com/netbirdio/netbird/pull/3469/commits/7be2c2bb613189a1e1e3b00f7507def7b35e78d9 I have a question: Can you please clarify if this available as a silent / unattended switch? Is this still only available for the setup.exe? Whats the difference between setup.exe and MSI? Thank you very much.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2263