Getting windows couldn't connect to the ulayer service

Getting windows couldn't connect to the ulayer service

book

Article ID: CTX312400

calendar_today

Updated On:

Description

image.png

Resolution

If you do not have User Personalization Layers (UPL) enabled for use in your environment, but the service was installed with the VDA, please do the following.

If you do have UPL enabled in your environment and see this error, please contact Citrix App Layering support.




Run CVAD uninstall via add/remove programs + reboot

From an elevated command prompt run Sc delete Ulayer

Use PSEXEC -I -s “cmd” then open reged32 to amend permissions on below to include local admin group and delete:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Winlogon\Notifications\Components\Ulayer

Delete: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ulayer
Delete: c:\Program Files\Unidesk

Amend: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit to be as below:
C:\Windows\system32\userinit.exe,

Following the un-install, it was set as such: C:\Windows\system32\userinit.exe,C:\Program Files\Unidesk\Layering Services\LayerInfo.exe,

But, it should It should be C:\Windows\system32\userinit.exe,

NOTE: Pay attention to that last character it’s a “,” Reboot Re-install CVAD.