ScheduleAutoChk method of the Win32_Volume class

The ScheduleAutoChk method schedules AutoChk to be run at the next reboot if the volume's dirty bit has been set. The method is only applicable to those volume instances that represent a physical disk. It is not applicable to mapped logical drives.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax

uint32 ScheduleAutoChk(
  [in] string Volume[]
);

Parameters

Volume [in]

List of volumes scheduled for AutoChk at the next reboot. The string consists of the drive letter, mount point name, or volume globally unique identifier (GUID) name.

Return value

Return code Description
0
Success
1
Remote Drive
2
Removable Drive
3
Drive Not Root Directory
4
Unknown Drive

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
MOF
Vds.mof
DLL
Vdswmi.dll

See also

Win32_Volume