Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

SkipChkdsk

[The SkipChkdsk property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the DiskRunChkDsk property.]

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 SkipChkdsk property.

AttributeValue
Data typeDWORD
Access Read/write
StatusOptional
Structure CLUSPROP_DWORD
MinimumFALSE (run Chkdsk)
MaximumTRUE (skip Chkdsk)
DefaultFALSE

 

Remarks

Setting SkipChkdsk to TRUE causes the operating system to mount the disk without running chkdsk. With SkipChkdsk set to FALSE (the default), the operating system runs chkdsk first and, if errors are found, takes action based on the ConditionalMount property. The following table summarizes the interaction between SkipChkdsk and ConditionalMount.

SkipChkdsk value ConditionalMount valueChkdsk runs?Disk mounted?
FALSETRUEyesIf chkdsk reports errors, no. Otherwise, yes.
FALSEFALSEyesyes
TRUETRUEnoyes
TRUEFALSEnoyes

 

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

Examples

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


DWORD          SkipChkdskData = FALSE;
CLUSPROP_DWORD SkipChkdskValue;

SkipChkdskValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_DWORD;
SkipChkdskValue.cbLength  = sizeof(DWORD);
SkipChkdskValue.dw        = SkipChkdskData;


Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Enterprise, Windows Server 2003 Datacenter

End of server support

Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

See also

Physical Disk Private Properties
ConditionalMount

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.