All Changes Revert Back After Reboot/Shutdown And BSOD (CtxMcsWbc.sys) in XenApp 7.11
book
Article ID: CTX222825
calendar_today
Updated On:
Description
- VDA will randomly crash with BSOD.
- All changes in master image machine (with local HDD) will revert back after reboot/shutdown.
Environment
Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
Resolution
Cause 1:
"PvsVmBoot" is missing from below mentioned registry location
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
Name: BootExecute
Type: REG_MULTI_SZ
Solution 1:
- Shutdown the VM.
- Boot the VM with Hiren’s Boot ISO (http://www.hirensbootcd.org/download/)
- Launch Mini XP
- Edit registry with Registry Editor PE (Step 3: https://www.wintips.org/how-to-edit-and-modify-registry-offline/)
- Expand below mentioned registry location and edit "BootExecute" registry string HKEY_LOCAL_MACHINE\REMOTE_SYSTEM\ControlSet001\Control\Session Manager

- Verify the same under HKEY_LOCAL_MACHINE\REMOTE_SYSTEM\ControlSet002\Control\Session Manager
- Close Registry Editor
- Remove Hiren's Boot CD from boot order and reboot the VM.
Cause 2:
CtxMcsWbc.sys Driver is not behaving as expected
NOTE: The workaround provided below with effectively disable this driver and leave the VDA in a state that is inconsistent.
This workaround may be used for troubleshooting, but will leave the VDA in an inconsistent state. This driver controls the MCS I/O Optimization feature The full effect of disabling this driver is not clear at this point.
Workaround
- Shutdown the VM.
- Boot the VM with Hiren’s Boot ISO (http://www.hirensbootcd.org/download/)
- Edit registry with Registry Editor PE
- Disable the Citrix MCS cache service by changing the Start value from 0 to 4 from the following sub key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CtxMcsWbc - Delete the "CtxMcsWbc" entry in the "UpperFilters" value in the following sub key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318} - Unload the System hive from the mounted VHD.
- Detach the mounted VHD.
- Start the VM normally.
Recommendation
Upgrade to XenDekstop 7.15
Problem Cause
Issue with CtxMcsWbc.sys Driver.
Issue/Introduction
1) VDA will randomly crash with BSOD
2) All changes in standalone machine (with local HDD) will revert back after reboot/shutdown
Additional Information
This is a known issue and has been fix in XenDesktop 7.14 [LC6488]
Affected version: XenDekstop 7.9 & 7.11
Was this article helpful?
thumb_up
Yes
thumb_down
No