Automatic installation and configuration on Windows machines? #1377

Open
opened 2025-11-20 05:29:16 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @mattish91 on GitHub (Oct 28, 2024).

Is your feature request related to a problem? Please describe.
Not really a problem, but a nice to have as requested in several threads before this one.

Describe the solution you'd like
MSI installer with multiple flags for automatic installation and authentication. The /s is nice for Windows, but i would also like to be able to use the equivilent of "--setup-key ID" on Windows during the installation, this is in order to manage multiple Windows servers without UI for example (SMB servers). Maybe a PowerShell script we could run with "irm https://whatever/setup.ps1 | iex"?

Something that would be nice would be that the ps1 could point to the latest .zip archive and use Expand-Archive to unpack it to the correct location like C:\Program Files\Netbird\ and setup the config trough the ID (could be either a flag for the ps1 or a modifier that one could self-host internally to make it more secure).

Describe alternatives you've considered
I have not really looked in to any alternatives right now except maybe setting up new SMB shares on a Linux host that obviously supports this type of netbird installation (a huge hasstle to move/re-assign disks tho).

If any one is a real script-monkey maybe we could get this going to solve a couple of of these points? 😊

Originally created by @mattish91 on GitHub (Oct 28, 2024). **Is your feature request related to a problem? Please describe.** Not really a problem, but a nice to have as requested in several threads before this one. **Describe the solution you'd like** MSI installer with multiple flags for automatic installation and authentication. The /s is nice for Windows, but i would also like to be able to use the equivilent of "--setup-key ID" on Windows during the installation, this is in order to manage multiple Windows servers without UI for example (SMB servers). Maybe a PowerShell script we could run with "irm https://whatever/setup.ps1 | iex"? Something that would be nice would be that the ps1 could point to the latest .zip archive and use Expand-Archive to unpack it to the correct location like C:\Program Files\Netbird\ and setup the config trough the ID (could be either a flag for the ps1 or a modifier that one could self-host internally to make it more secure). **Describe alternatives you've considered** I have not really looked in to any alternatives right now except maybe setting up new SMB shares on a Linux host that obviously supports this type of netbird installation (a huge hasstle to move/re-assign disks tho). If any one is a real script-monkey maybe we could get this going to solve a couple of of these points? 😊
saavagebueno added the feature-requestwindows labels 2025-11-20 05:29:16 -05:00
Author
Owner

@mattish91 commented on GitHub (Oct 29, 2024):

Noticed that i could ask the Netbird Guru from some other thread, which solved part of it for me, how ever i found a working solution that could be used as a base for the future if needed.

mkdir c:\TempPath
Invoke-WebRequest -Uri https://pkgs.netbird.io/windows/x64 -OutFile C:\TempPath\NetBird_Installer.exe
$installerPath = "C:\TempPath\NetBird_Installer.exe"
$setupID = "YOUR-SETUP-ID-HERE"
Start-Process -FilePath $installerPath -ArgumentList "/S", "/setup-id=$setupID" -Wait
del C:\TempPath\NetBird_Installer.exe

This have been tested with "immense/remotely" as a script that does the trick perfectly*

Any suggestions as to make this better?

@mattish91 commented on GitHub (Oct 29, 2024): Noticed that i could ask the Netbird Guru from some other thread, which solved part of it for me, how ever i found a working solution that could be used as a base for the future if needed. ``` mkdir c:\TempPath Invoke-WebRequest -Uri https://pkgs.netbird.io/windows/x64 -OutFile C:\TempPath\NetBird_Installer.exe $installerPath = "C:\TempPath\NetBird_Installer.exe" $setupID = "YOUR-SETUP-ID-HERE" Start-Process -FilePath $installerPath -ArgumentList "/S", "/setup-id=$setupID" -Wait del C:\TempPath\NetBird_Installer.exe ``` This have been tested with "immense/remotely" as a script that does the trick perfectly* Any suggestions as to make this better?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#1377