Contents

Recreate LHC in XenDesktop 7.12 or Later

Website Visitors:
Contents

Recreate LHC on the Delivery Controller by the following steps:

1. Download PsExec on the Delivery Controller

PsExec - Windows Sysinternals https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

2. Stop Citrix High Availability Service

3. Run PsExec on Command Prompt and switch to Network Service account

> psexec -i -u “NT AUTHORITY\NETWORK SERVICE” cmd

> whoami nt authority\network service

4. Move to the path with SqlLocalDB

> cd “C:\Program Files\Microsoft SQL Server\120\Tools\Binn”

5. Stop/delete CitrixHA (LocalDB)

> SqlLocalDB stop CitrixHA > SqlLocalDB delete CitrixHA

6. Remove the related files below in C:\Windows\ServiceProfiles\NetworkService

- HADatabaseName.* - HAImportDatabase.*

7. Start Citrix High Availability Service

8. Confirm that CitrixHA is recreated

> SqlLocalDB i CitrixHA    «« disappears just after stop/delete in step 5, and appears after start Citrix High Availability Service in step 7 MSSQLLocalDB

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: