Following an OS upgrade, MCS-provisioned VDAs leave their domain on reboot.
You may also observe computer account password resets at that time.
The expected dependencies:
Registry Path : HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation
Name : DependOnService
Type: REG_MULTI_SZ
Data : PvsVmAgent
Registry Path : HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer
Name : DependOnService
Type: REG_MULTI_SZ
Data : PvsVmAgent
reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation /v DependOnService /t REG_MULTI_SZ /d "PvsVmAgent\0Bowser\0MRxSmb20\0NSI" /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer /v DependOnService /t REG_MULTI_SZ /d "PvsVmAgent\0SamSS\0Srv2" /f
Citrix recommends that you uninstall the VDA Agent component from a VDA machine prior to upgrading its OS. If you decide to carry out the OS upgrade without uninstalling the VDA, you will notice the dependencies for PvsVmAgent missing from "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation" and "HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer". That happens because Microsoft overwrites the LanmanWorkstation and LanmanServer settings with default values during OS upgrades. There is no way to avoid this behaviour as it occurs at the OS level.