Problem Definition:


While booting, a Citrix XenApp Server prompts for a chkdsk.  However, when Windows attempts to run the chkdks, the chkdsk fails with the following error:

 

"Cannot open volume for direct access.  Autochk cannot run due to an error caused by a recently installed software package."

 

Event ID 98 is also logged in the Windows System Event Viewer.



Cause:


The Citrix virtual delivery agent disables chkdsk in the pre-boot environment by default.  When an chkdsk is required this registry setting RE-enables the chkdsk in the pre-boot environment for the next boot cycle.


Resolution:


On the affected Citrix Server, open the registry editor, and set the following:

 

HKLM:\System\CurrentControlSet\services\DAFSFilter

 

Name: Start

Value: 4


Restart the Citrix Server, and the chkdsk will now run.


Additional Information:

If the problem persists after this procedure has been followed, please submit a support ticket.