A chkntfs parancs futtatása a logikai lemezen, és az eredmények megjelenítése.
Ez a feladat a „CHKNTFS” parancssori segédprogramot hajtja végre, amely megjeleníti, hogy ütemezve van-e a számítógép indításakor a fájlallokációs tábla (FAT), FAT32- vagy NTFS-kötetének automatikus rendszerellenőrzése.
Target | Microsoft.Windows.Server.10.0.LogicalDisk |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.10.0.LogicalDisk.Chkntfs.Task" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\CMD.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>/c $file/checkntfs.cmd$</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files>
<File>
<Name>checkntfs.cmd</Name>
<Contents>
@echo off
if exist %WINDIR%\System32\chkntfs.exe (
%WINDIR%\System32\chkntfs.exe "$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$"
goto end
)
echo chkntfs is not supported on this Operating System.
:end
</Contents>
<Unicode>false</Unicode>
</File>
</Files>
</ProbeAction>
</Task>