Start Print Spooler

Microsoft.Windows.Server.10.0.PrintServer.Start.Print.Spooler.Task (Task)

Starts the print spooler service.

Knowledge Base article:

Summary

This task will start the Print Spooler service.

Element properties:

TargetMicrosoft.Windows.Server.10.0.PrintServerRole
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA WriteAction System.CommandExecuter Microsoft.Windows.Server.PrintServer.Library.ActionAccount

Source Code:

<Task ID="Microsoft.Windows.Server.10.0.PrintServer.Start.Print.Spooler.Task" Accessibility="Internal" Enabled="true" Target="Microsoft.Windows.Server.10.0.PrintServerRole" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="PA" RunAs="PSLIB!Microsoft.Windows.Server.PrintServer.Library.ActionAccount" TypeID="System!System.CommandExecuter">
<ApplicationName>%WINDIR%\System32\NET.EXE</ApplicationName>
<WorkingDirectory>%WINDIR%\system32</WorkingDirectory>
<CommandLine>START SPOOLER</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</Task>