Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DiskRunChkDsk

Determines whether the operating system runs chkdsk on a physical disk before attempting to mount the disk. The following table summarizes the attributes of the DiskRunChkDsk property.

AttributeValue

Data type

DWORD

Access

Read/write

Status

Optional

Structure

CLUSPROP_DWORD

Minimum

0

Maximum

6

Default

0

 

Remarks

Forcing a disk to mount despite errors can result in loss of data. Use caution when changing these properties.

Note  The chkdsk tool cannot be run on a cluster shared volume (CSV) that is operating in redirected mode.

Examples

The property value portion of a property list entry for DiskRunChkDsk can be set with the following example code.



DWORD          DiskRunChkdskData = 5;
CLUSPROP_DWORD DiskRunChkdskValue;

DiskRunChkdskValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
DiskRunChkdskValue.cbLength  = sizeof(DWORD);
DiskRunChkdskValue.dw        = DiskRunChkdskData;


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

See also

Physical Disk Private Properties
ConditionalMount
SkipChkdsk

 

 

Show:
© 2015 Microsoft