Christoph Mages
09/02/2026, 7:20 AMsql
SELECT spid, loginame, hostname, program_name, DB_NAME(dbid) AS DatabaseName
FROM sys.sysprocesses
WHERE program_name LIKE 'Citrix%';
There was a successor article, CTX558936, but it has been unavailable for some time as well. We still have the PowerShell script Citrix shipped with it — VuS isn't in there either, so that article would have had the same gap.
Two gaps to watch for if you follow CTX280675:
1. Missing service — add Set-VusDBConnection as described above.
2. Wrong order — old SQL server shut down too early. Step 3 says to shut down the old SQL server, but the connection strings are only cleared in step 7. That asks the services to release a connection to a server that no longer exists. Set-*DBConnection ... -DBConnection $null -Force then fails with Citrix.XDPowerShell.Status.DatabaseError, and Set-LogSite -State Disabled throws a NullReferenceException because the logging service can no longer read its site object. Correct order: keep the old SQL server online until all connections on all DDCs have been cleared and repointed to the new server. Only then shut it down.