Run Chkntfs

Microsoft.Windows.Server.2008.LogicalDisk.Chkntfs.Task (Task)

Execute a chkntfs against the logical disk and display the results

Knowledge Base article:

Summary

This Task executes the “CHKNTFS” command line utility which displays whether automatic system checking is scheduled to be run on a file allocation table (FAT), FAT32, or NTFS volume when the computer is started.

Element properties:

TargetMicrosoft.Windows.Server.2008.LogicalDisk
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.Server.2008.LogicalDisk.Chkntfs.Task" Target="Server2008!Microsoft.Windows.Server.2008.LogicalDisk" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\chkntfs.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>"$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$"</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>