How do I move the CurrentWare Server to another computer?

#1 Back up your existing cwServer Database

Before you migrate your server, back up your existing CurrentWare database.

  1. From the CurrentWare Web Console go to Tools > Database Backup Scheduler 
  2. Click the Run Backup Now button at the bottom
  3. By Default it will place the backup in the C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\Backup folder.
    NOTE: This is the default location if you installed SQLEXPRESS 2017 fresh as part of the CurrentWare installer. This may change based on what SQL server version you are using. Please be sure to examine your path.
  1. Tools > Database Backup Scheduler > Enable database backup scheduler
  2. Select a path to store the database backup
  3. Select the Run Backup Now option to push out a backup
image-17

From your CurrentWare server path to:

C:\Program Files(x86)\CurrentWare\cwServer\CWNPFB.cwd

Make a copy of the CWNPFB.cwd file and place it in the CurrentWare Backups folder

#2 Change your cwClient passwords (optional)

It is very important that you have the correct CurrentWare Client password before you move your server. Having the correct password will avoid many configuration issues during the client redirect and save you a lot of time.

For this reason, it is recommended that you change the client password from your cwConsole (you don’t need your old password to change the new password). This way, you will have the correct cwClient password during the redirect. Learn how to change your CurrentWare Client Password on this page

#3 Install the cwServer on the new computer

It is time to perform a fresh install of the Server and Console on the new machine. Download the latest CurrentWare setup file from this link. If you running and older version of CurrentWare it is suggested to update the old location first, or install the same version onto the new location.

Run the CurrentWare.exe setup file on the new server to proceed with the installation

#4 Moving the cwServer Database

Microsoft SQL Server Management Studio is required for moving your SQL database. Download the setup file from this Microsoft link.

Place the .bak backup file into your new computers SQL Backup folder

  1. From your newly installed PC/Server navigate to – C:\Program Files\Microsoft SQL Server\MSSQL14.MYPROD\MSSQL\Backup
    NOTE: This is the default location if you installed SQLEXPRESS 2017 fresh as part of the CurrentWare installer. This may change based on what SQL server version you are using.
  2. Take your backed up CurrentWare Database (CWNPSQL.bak is the usual name) and paste it into the …\Backup folder.

Restore a backed up CurrentWare SQL database

  1. Turn off CurrentWare Server Services
  2. Run Microsoft SQL Server Management Studio
  3. Right-click on your CurrentWare SQL database
  4. Select Tasks then Restore
  5. Select the backup set you want to restore then select OK
  6. Under Destination: If your Database name is CWNPSQL name it CWNPSQL1
  7. Start the CurrentWare Console or CurrentWare Server Services again.
This image has an empty alt attribute; its file name is image-18.png

Once the installation is completed, copy the existing database from the old computer to the new computer. You will need to stop the CurrentWare Server service before you can overwrite the database file.

Go to start menu > run > services.msc > stop the CurrentWare Server and Firebird Server

stop-currentware-server-service

Copy the CWNPFB.CWD file into the C:\Program Files(x86)\CurrentWare\cwServer\ folder. After the databases are put in place, start the CurrentWare Server service. Your new cwServer and console are now ready.

Version Conflict: If the CurrentWare Server service won’t start, there’s a chance that this is caused by a version conflict. Your CurrentWare database is older than the cwServer. Learn how to upgrade your CurrentWare database on this page

#5 Moving your Screenshots

Copy all this directory from the old server to the new server:

C:\Program Files (x86)\CurrentWare\cwWebConsole\WebConsole\assets\ScreenCapture\

#6 Making sure the proper database is connected

Open the CurrentWare Server Manager (CWSM). You can search it through Windows by searching “CWSM” or go to C:\Program Files(x86)\CurrentWare\cwServer and run the CWSM.exe utility.

Check the database tab to ensure that your CurrentWare Server is pointing to the Correct SQL Server location and the correct database (If renamed it will be CWNPSQL1).

#7 Redirect the cwClients to the new cwServer

There are four methods to redirect the cwClients to the new cwServer.

Method 1 – Redirect Clients from the Existing CurrentWare Server (Recommended)

Currently this feature is not available within the Web Console. You will need to open the CurrentWare Desktop Console to run a redirect. We are looking to add this feature into the Web Console in the next version update.

The desktop console can be found here: C:\Program Files (x86)\CurrentWare\cwConsole
Run the cwConsole.exe to open the CurrentWare Desktop Console and run the redirect.

  1. Launch the CurrentWare Desktop Console.
  2. Go to Tools > Redirect Clients.
  3. Select “Redirect CurrentWare Clients from this server to another server”.
  4. Enter server name and client password (default password is Admin).
  5. Choose which computers to redirect or “Select all computers”.
redirect-currentware-client-to-the-new-server

Method 2 – Redirect Clients from the New CurrentWare Server

Currently this feature is not available within the Web Console. You will need to open the CurrentWare Desktop Console to run a redirect. We are looking to add this feature into the Web Console in the next version update.

The desktop console can be found here: C:\Program Files (x86)\CurrentWare\cwConsole
Run the cwConsole.exe to open the CurrentWare Desktop Console and run the redirect.

  1. Launch the CurrentWare Desktop Console.
  2. Go to Tools > Redirect Clients.
  3. Type in the Client password (default password is Admin) and select redirect all clients.
  4. After you press Ok, your clients will start to connect to the console within the next few seconds.
  5. Your connected cwClients will now be redirected to the new cwServer.
redirect-currentware-client-to-the-new-server

Method 3 – From the cwClients

If your clients are not connecting to the console even after you redirected them in the previous steps, you can try to manually connect them to the server.

  1. Go to the client workstation.
  2. Browse to C:\Windows\SysWOW64\wcsystck\.
  3. Double click on cwAgent.exe (not cwAgent64.exe).
  4. Put in the client password (default password is Admin).
  5. Click on Server Settings and modify the Server name to the IP address (or computer name) of the new cwServer.
cwclient-configuration-server-settings

Method 4 – Run a Command Line

This is the command line that allows you to reconfigure the CurrentWare Client to connect to another CurrentWare Server. The command line can be made into a batch file. It can be run from your remote control tools. It can be made into a log on script for your group policy.

In the following example, replace “Admin” with your CurrentWare Client password and swap the IP address with your CurrentWare Server.

On 64-bit client computers:

C:\Windows\SysWOW64\wcsystck\cwClient.exe -p Admin -ds 192.168.1.11

On 32-bit client computers:

C:\Windows\system32\wcsystck\cwClient.exe -p Admin -ds 192.168.1.11

New to CurrentWare? Get Started Today!

“I chose CurrentWare for the solid product that gave more options with a lower price tag, high accuracy, and solid customer support.” -Vincent Pecoreno Network Administrator, Viking Yachts