Stop Windows Internet Information Services NNTP Server (NNTPSVC) Service

Microsoft.Windows.InternetInformationServices.2000.NNTPServer.StopNNTPServerService.Task (Task)

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

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2000.NNTPServer
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.NNTPServer.StopNNTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2000.NNTPServer" 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 NNTPSVC</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>