Starts the print spooler service.
This task will start the Print Spooler service.
Target | Microsoft.Windows.Server.10.0.PrintServerRole |
Accessibility | Internal |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | WriteAction | System.CommandExecuter | Microsoft.Windows.Server.PrintServer.Library.ActionAccount |
<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>