Adjustment of Windows Booster Settings via Scripting
Description
Boosters running on Windows systems may be configured with a SuperPrefs Fileset: Creating a Superprefs Fileset
Alternatively, it is possible to script Booster settings using a script. The following script may be used to change booster settings of multiple clients preferences:
Directions
@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 this script to a text editor. This script can change the names of all boosters, from booster1 through booster5. Add and remove lines according to requirements. Edit each entry per Booster, replacing:
- 'no.booster.set' with the name of the Booster
- Booster port to the required port; set as 20013 if Booster uses default settings
Leave as 'no.booster.set
' where there is no Booster required.
Always use Fully Qualified Domain Names for the Booster name
Save the script with the .bat extension. Ensure the script is configured for 'Execute once when activated' from the 'Get Info' > 'Executables' tab.
Example
Modify Booster 1 as:
- 'booster1.filewave.com'
- 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
No Comments