Stop Windows Internet Information Services FTP Server (MSFTPSVC) Service

Microsoft.Windows.InternetInformationServices.2000.FTPServer.StopFTPServerService.Task (Task)

This task will stop the Windows Internet Information Services FTP Server (MSFTPSVC) Service when it is currently started.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2000.FTPServer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA1 WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.2000.FTPServer.StopFTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2000.FTPServer" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA1" TypeID="System!System.CommandExecuter">
<ApplicationName>%WINDIR%\SYSTEM32\NET.EXE</ApplicationName>
<WorkingDirectory>%WINDIR%\SYSTEM32</WorkingDirectory>
<CommandLine>stop MSFTPSVC</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>