Service Stop

Microsoft_Windows_DHCP_Server_Service_Stop (Task)

This task stops the DHCP Server service.

Element properties:

TargetMicrosoft.Windows.Server.DHCP.DHCP_Class
AccessibilityInternal
CategoryOperations
EnabledTrue
RemotableFalse
Timeout300
CommentMom2005ID='{8FB2894B-3FA3-4819-BC3C-CEEDA450601B}'

Member Modules:

ID Module Type TypeId RunAs 
BatchResponse WriteAction System.Mom.BackwardCompatibility.BatchResponse Default

Source Code:

<Task ID="Microsoft_Windows_DHCP_Server_Service_Stop" Accessibility="Internal" Enabled="true" Target="Microsoft.Windows.Server.DHCP.DHCP_Class" Comment="Mom2005ID='{8FB2894B-3FA3-4819-BC3C-CEEDA450601B}'">
<Category>Operations</Category>
<WriteAction ID="BatchResponse" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.BatchResponse">
<AlertGeneration>
<GenerateAlert>false</GenerateAlert>
</AlertGeneration>
<InvokerType>1</InvokerType>
<ApplicationName>%WINDIR%\System32\net.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\SYSTEM32</WorkingDirectory>
<CommandLine>stop DHCPServer</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</Task>