Import registry and Secure Store
To import:
-
Open a command prompt at the Sophos Enterprise Console installation
directory.
Windows version
Default location
32-bit
C:\Program Files\Sophos\Enterprise Console
64-bit
C:\Program files (x86)\Sophos\Enterprise Console
-
Type the following command to import the registry values.
DataBackupRestore -Action=Restore -DataSourceType=Registry
- Confirm to continue and acknowledge any messages about files being restored.
-
Verify the Management Service database connection string value in the registry. To do this:
-
Open Registry Editor and go to the Sophos registry key:
Windows version
Default location
32-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\EE\Management Tools\
64-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\EE\Management Tools\
-
In the right pane, select the entry DatabaseConnectionMS.
Database=SOPHOS552;Provider=SQLNCLI11;
Server=(local)\SOPHOS;Trusted_Connection=Yes;
- On the Edit menu, click Modify.
-
In Value data ensure that the DataSource
field is set to point to the new server hostname and SQL instance. For example
(local)\SOPHOS;.
If the SQL server instance is hosted on a remote server, substitute (local) for the server name. Check whether the database is using an existing or new instance and modify the value if needed.
-
Open Registry Editor and go to the Sophos registry key:
-
Modify the ServerLocation registry value to have the new server hostname. To do
this.
-
Go to the Sophos registry key:
Windows version
Default location
32-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\EE\Management Tools\
64-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\EE\Management Tools\
- In the right pane, select the entry ServerLocation.
- On the Edit menu, click Modify.
- In Value data, find your old server hostname, and then replace it with the new server hostname.
-
Go to the Sophos registry key:
-
Modify the Instance registry value to have the new server hostname. To do
this:
-
Go to the Sophos registry key:
Windows version
Default location
32-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\EE\ManagementTools\Database Installer
64-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\EE\Management Tools\Database Installer
- In the right pane, select the entry Instance.
- On the Edit menu, click Modify.
- In Value data, find your old server instance name, and then replace it with the new server instance name. For example: (local)\SOPHOS;.
-
Go to the Sophos registry key:
-
If the database uses a workgroup or local account, modify the DatabaseUser
registry value to contain the new server hostname. To do this:
-
Go to the Sophos registry key:
Windows version
Default location
32-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\EE\Management Tools\DatabaseUser
64-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\EE\Management Tools\DatabaseUser
- In the right pane, select the entry DatabaseUserDomain.
- On the Edit menu, click Modify.
- In Value data, find your old server hostname, and then replace it with the new server hostname.
-
Go to the Sophos registry key:
-
Modify the PatchServerURL registry value to have the new server hostname and
port (if a different port was set during installation). To do this:
-
Go to the Sophos registry key:
Windows version
Default location
32-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\EE\Patch\
64-bit
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sophos\EE\Patch\
- In the right pane, select the entry PatchServerURL.
- On the Edit menu, click Modify.
- In Value data, find your old server hostname, and then replace it with the new server hostname and port (if using a different port).
-
Go to the Sophos registry key:
-
Restore the table_router.txt file from the old server's
Router folder to the new server at the following location:
%ALLUSERSPROFILE%\Sophos\Remote Management System\3\Router\table_router.txt
-
Restore the contents of the Envelopes from the old server's
Router folder to the new server at the following location:
%ALLUSERSPROFILE%\Sophos\Remote Management System\3\Router\EnvelopesNote The Envelopes folder will be empty if you have no outstanding messages.
- Open a command prompt at the Sophos Enterprise Console installation directory.
-
Type the following command to import Secure Store.
DataBackupRestore -Action=Restore -DataSourceType=SecureStore
Confirm by pressing y.
You have finished importing registry and Secure Store.