Uruchom narzędzie Chkntfs
Microsoft.Windows.Server.10.0.LogicalDisk.Chkntfs.Task (Task)
Wykonuje polecenie chkntfs na dysku logicznym i wyświetla wyniki.
Element properties: Member Modules:
Source Code: <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><Script>
@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
</Script> </Contents>
<Unicode>false</Unicode>
</File>
</Files>
</ProbeAction>
</Task>