This article describes how to backup and restore database connection strings in the registry.
Follow the given procedure to setup XenDesktop to use a new database or to manually point XenDesktop to a new database.
Complete the following steps on each Desktop Delivery Controller (Controller):
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Open regedit.exe and backup the following keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\XDservices
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\DesktopServer\DataStore\Connections\Controller
Right-click on each key and select Export.
To remove the connections, edit the HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\DesktopServer\DataStore\Connections\Controller\ConnectionString key to point to another server or database, or remove it to reset.
To restore the previous settings, browse to the .reg files that were previously saved, right-click on the files and select Merge.
After restoring, it points at the original database.