BSOD WDF_VIOLATION - Unable to Boot Target Device After Promoting VDisk Version to Production
book
Article ID: CTX261891
calendar_today
Updated On:
Description
When booting a target device after promoting its vDisk from maintenance to production, it will bluescreen and stay on a BSOD/reboot loop, displaying the following screen:

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
Uninstalling the Machine Identity Services Agent from the VDA, will remove the MCSIO driver. In order to do that, the application GUID is needed, which is unique to each installation and will vary between VDA versions.
To find the GUID for the Machine Identity Services Agent, open the registry:
1. HKLM\SOFTWARE\Microsoft\CurrentVersion\Uninstall
2. Expand \Uninstall and click on each string in the left hand pane
3. On the right hand pane look for “Machine Identity Services Agent” in the display field
4. Copy the GUID for that installation
To remove the MCSIO driver:
1. Create a maintenance version (read/write) and boot one target device in a vDisk maintenance version.
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\<look for the GUID on step 4 of previous instructions >{4d36e967-e325-11ce-bfc1-08002be10318}, find UpperFilters key with CtxMcsWbc in it. Remove *only* CtxMcsWbc line from UpperFilters and keep other lines.
3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CtxMcsWbc, set Start=4.
4. Shutdown target.
5. Promote the vDisk maintenance version to production version.
6. Boot target device from new production version and verify if it resolves the problem.
Problem Cause
PVS provisioned VDAs should not have CVAD's MCSIO driver installed, as the MCSIO writeback cache conflicts with PVS writecache.
Was this article helpful?
thumb_up
Yes
thumb_down
No