Step 4: Edit Ipswitch Registry Settings on Both Nodes

After installing WS_FTP Server, you must copy Ipswitch registry entries from Node 1 to Node 2. Ipswitch provides a script that backs up the registry on Node 1, writes the logging directory UNC path to the registry, and exports the registry entries to import to Node 2.

To Copy Registry Entries from Node 1 to Node 2:

  1. On both nodes, open the WS_FTP Server Manager and stop Ipswitch Services.
  2. On Node 1, open the Command Prompt in the WS_FTP Server Utilities directory:
    • 32-bit: C:\Program Files\Ipswitch\WS_FTP Server\Utilities
    • 64-bit: C:\Program Files (x86)\Ipswitch\WS_FTP Server\Utilities
  3. To run the registry copy script, type this command and press Enter:

    cscript wssregcopy.vbs "\\<hostname>\<sharename>"

    \\<hostname>\<logdirectory> is the UNC path of the log directory.

Registry copy script run

Be sure to save WS_FTP_Server_RegBackup_<date>.reg in a safe place. (<date> is the current date in the format YYYYMMDD.) This is the Ipswitch registry backup for Node 1.

  1. Copy WS_FTP_Server_Failover_Settings_<date>.reg from Node 1 to Node 2. (<date> is the current date in the format YYYYMMDD.)

    Be sure to save a copy of WS_FTP_Server_Failover_Settings_<date>.reg in a safe place.

  2. On Node 2, backup the Ipswitch registry entries.
    1. Open the Windows registry and navigate to the Ipswitch registry key:
      • 32-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Ipswitch\
      • 64-bit: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ipswitch
    2. Right-click the Ipswitch key and select Export.
    3. Save the .reg file. This is the Ipswitch registry backup for Node 2.

      Be sure to save the .reg file in a safe place. This is the Ipswitch registry backup for Node 2.

  3. On Node 2, right-click the WS_FTP_Server_Failover_Settings_<date>.reg file that you copied from Node 1and select Merge. A dialogue window opens asking you to confirm the action.
  4. Click Yes to copy the registry entries. A dialogue window opens informing you that the action was successful.
  5. Click OK to close the dialogue.
  6. On both Node 1 and Node 2, open the WS_FTP Server Manager, and restart the Ipswitch Services.

Be sure that you clearly name and save the registry backups for each node. If something happens to your failover deployment, you can always roll back the registries on each node to a fresh installation of WS_FTP Server. You will also need them to replace any nodes that fail.