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 |
---|---|
|
Success |
|
Remote Drive |
|
Removable Drive |
|
Drive Not Root Directory |
|
Unknown Drive |
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|