Upgrading Device Registration Service

This procedure describes how to upgrade the Device Registration Service software.

TLS and certificate settings are not preserved when upgrading DRS. It is recommended to back up and restore the following files: web.config, NSi.DeviceManagement.ServiceHost.exe.config and NSi.DeviceManagement.ConfigurationTool.exe.config.

Upgrading when the user has a local database

  1. Stop the DRS service.
  2. Back up the DRS_LDB.mdf and DRS_LDB_log.ldf files by copying them from C:\Program Files x86\Nuance\Device Registration Service\Service\ to a temporary location (that is, a folder on the desktop).
  3. Copy your existing Plugins folder(s) to a temporary location (that is, a folder on the desktop).
    1. Navigate in Windows to C:\Program Files x86\Nuance\Device Registration Service\Service\Plugins.
    2. Find the folder(s) with the name NSi.DeviceManagement.Plugins.xxx.
    3. Copy these folders into the folder on the desktop.
  4. Uninstall your existing version of DRS.
  5. Install the latest DRS version as described in Device Registration Service installation overview.
    Do not start DRS. You must restart your system for changes to Microsoft SQL Server to take effect. When prompted, you can click Yes to restart immediately or No to restart manually later.
  6. Copy DRS_LDB.mdf and DRS_LDB_log.ldf files from the folder on desktop to C:\Program Files\Nuance\Device Registration Service\Service.
  7. Copy the plugin folder(s) from the folder on the desktop to C:\Program Files\Nuance\Device Registration Service\Service\Plugins.
  8. Run the DRS Database Upgrade Tool.
    Database Upgrade Tool will prompt the user to make changes to the file permissions.
    If the correct permissions have been granted and you still get a permissions error reported during the upgrade, you will need to get a system admin to grant temporary write access to the two files before the tool runs. Write access can be revoked once the upgrade tool completes.
  9. Start DRS service.
  10. Browse to DRS web page and verify that all devices, application and files are still present.