Skip to main content

Configure Windows Client Booster Settings with a Script

What this script configures

Windows clients can receive up to five Booster addresses and ports through a Superprefs Fileset or the batch script below.

Use the script when you need a Fileset to write explicit Booster entries into the FileWave WinClient Registry settings. It stops the client service, updates the entries, and starts the service again.

Batch script

@echo off
NET STOP "FileWave WinClient">NUL
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1port /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster2 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster2port /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster3 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster3port /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster4 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster4port /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster5 /t REG_SZ /d no.booster.set /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster5port /t REG_DWORD /d 0 /f
NET START "FileWave WinClient"

exit

Copy the script into a text editor and adjust the booster1 through booster5 entries for your environment:

  • Replace no.booster.set with the Booster's fully qualified domain name for each slot you use.
  • Set the matching port to the configured Booster port. The default is 20013.
  • For an unused slot, keep no.booster.set and port 0.

Do not use a short host name when the client must resolve the Booster across DNS domains.

Save the file with a .bat extension.

In the Fileset's Get Info > Executables tab, add the batch file and configure it to Execute once when activated.

Example

This example configures Booster 1 as booster1.filewave.com on the default port 20013:

REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1 /t REG_SZ /d booster1.filewave.com /f
REG ADD HKLM\SOFTWARE\WOW6432Node\FileWave\WinClient /v booster1port /t REG_DWORD /d 20013 /f