Home > Print Spooler > Remotely Restart Print Spooler

Remotely Restart Print Spooler


Thanks Jan 7, 2011 at 5:58 PM #2 Kreij Senior Monkey Moderator Staff Member Joined: Feb 6, 2007 Messages: 13,881 (3.87/day) Thanks Received: 5,632 Location: Cheeseland (Wisconsin, USA) System Specs This is because with Vista, Windows 7, and 2008 the print spooler folder is restricted. Would I use "sc" to communicate with the NT service controler and services, or am I barking up the wrong tree?Other suggestions are welcome, too, thanks. Privacy statement  © 2016 Microsoft. http://newsocialweb.org/print-spooler/restart-the-print-spooler.html

Posted by: mynag In: Computer|Solution & tips The following command shows you how you can start and stop a print spooler on another computer remotely on the same network. At least once a week I have to remote desktop into our print server to reset the spooler like this. I don't want to have to switch user login to run this. Question 0 Sign in to vote hello, I am looking for script or batch file or vbs script where i can do the following. 1. http://arstechnica.com/civis/viewtopic.php?t=1113094

Clear Print Queue Remotely

By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. I got a question from Lewis this week: "I hope this email finds you well. Let me know if you don't get it 5 John Dun December 23, 2011 at 5:10 pm Hi guys. You will find numerous posts on this problem when typing the string "The RPC server is unavailable" into the text box of a search engine.

Eg... @ECHO OFF sc \\server1.mydomain.msft stop "Spooler" ECHO "Spooler stopped" sc \\server1.mydomain.msft start "Spooler" ECHO "Spooler started" sc \\server1.mydomain.msft query "Spooler" 0 osaddict London, UK Apr 2007 edited Apr 2007 Hey Jan 10, 2011 at 8:58 AM #4 Akumos Joined: Nov 30, 2008 Messages: 552 (0.19/day) Thanks Received: 28 Location: Birmingham, England... First time setting up a server - I think I'm doing well at winging it xD Send PM 5th March 2013,02:10 PM #4 ricki Join Date Jul 2005 Location uk Net Spooler Stop It will remotely execute the script in the system account context.

Thanks! 11 Steve Wiseman December 24, 2011 at 3:56 am Thank you for the kind words. View Remote Print Queue With my very limited knowledge, the first one looks like it may require the password of the machine to be in the script? To make it a smoother experience, we created a plugin that will handle everything for you: You can also tell it if you want to delete all the pending jobs: This https://social.technet.microsoft.com/Forums/scriptcenter/en-US/d39e6a20-abc0-4eb2-b060-04e535645569/script-to-restart-the-services-local-or-on-remote-machine?forum=ITCG PsExec Richard Send PM 5th March 2013,02:21 PM #5 Garacesh Join Date Jan 2012 Posts 9,935 Thank Post 5,212 Thanked 2,348 Times in 1,516 Posts Rep Power 1036 Seems no

Telnet Restart-Service: A nice touch by the creator's of PowerShell; this cmdlet removes the need to explicitly stop then start the service. Net Start Spooler A topic for another day.3. What change i need to do, suppose i need torestartthe service on a remote machine, from my local machine so what can i include. Email outage Avoid the Windows 10 Anniversary Update!

View Remote Print Queue

Google tells me everything from 'It's a virus' to 'Ensure File and Printer sharing is enabled' (it is) and I'm a little stuck as to where I go from here. Wudan Master Ars Legatus Legionis Tribus: Liverpool Registered: Feb 27, 2001Posts: 13333 Posted: Thu Jun 10, 2010 4:02 pm Rather than doing just this you should also address the root cause Clear Print Queue Remotely Example 4: How to Stop a Service In real life, you may want a script which ensures that services such as: Telnet, Messenger and Routing and Remote Access are Stopped. Net Print Command Description Remotely restart your Print Spooler.

Now I can stay up here and enjoy my Christmas party instead of going down two floors to reset the printer spooler! http://newsocialweb.org/print-spooler/repair-print-spooler-xp.html Direct Support Forums Technical Windows Server 2008 R2 Remotely restart print spooler (+ other services) + Post New Thread Results 1 to 5 of 5 Windows Server 2008 R2 Thread, Remotely JRod "Exclusively cybersocial" Ars Tribunus Militum Tribus: The great white north Registered: Jun 16, 2005Posts: 1501 Posted: Thu Jun 10, 2010 6:22 pm Cool never knew the jobs were stored here....Quote:del Not so bad for servers.2. Clear Print Spooler Windows 7

b) To some extent, these learning scripts leave traces of my thinking process. Second, you just saved me hours of time. It has been a great community-building tool, allowing Icrontians a… Howdy, Stranger! http://newsocialweb.org/print-spooler/restart-dell-print-spooler.html This makes it a piece of cake. 6 Steve Wiseman December 23, 2011 at 5:12 pm Thanks for the order John, we really appreciate it.

All rights reserved. Spooler Service Either way, here is a script which stops the service defined by $srvName. # PowerShell cmdlet to stop the Plug & Play service$srvName = "PLA"$servicePrior = Get-Service $srvName"$srvName is now " Join the IT Network or Login.

NET STOP "print spooler" 2.

Marked as answer by Bill_StewartModerator Wednesday, December 28, 2011 3:46 PM Wednesday, December 28, 2011 12:14 PM Reply | Quote All replies 0 Sign in to vote This particular wheel has Start by running CMD or command.com in Windows. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.Would you like to participate? %windir%\system32\spool\printers Will we be getting this as an update? 3 Johnny E December 23, 2011 at 4:56 pm Woh.

No, create an account now. Preliminary ScriptLet us check the service's status, and also let us 'warm up' with Get-Service before we employ other members of the service family. # PowerShell cmdlet to check a service's Sign In Become an Icrontian Sign In · Register All Discussions Categories Categories All Discussions Activity Best Of... http://newsocialweb.org/print-spooler/restart-print-spooler-error-1053.html First you will need to know the name of the remote computer.

If you like this page then please share it with your friends See more PowerShell examples of process and service • PowerShell Home • Get-Process • Stop-Process • PowerShell Start-Process On the other hand, for a production script you could take a much more ruthless approach and simplify the script thus: Set-Service PLA -startuptype manualStart-Service PLA Monitor Your Network with the Icrontic › All Discussions › Internet & Media Talk to Us Twitter @icrontic Facebook Page IRC Channel Steam Group The 5¢ Tour About Us Our Epic History Team Fortress 2 Battlefield However, since it's been removed from Windows 7 and Server 2008 does I have chosen PLA (Performance Logs and Alerts) to test PowerShell's service cmdlets.

Team Macrumors.com is going down. Just make sure that you have permissions to stop and start the print spooler and were the strComputer="." you naturally enter the computer name in. at the command prompt to see the many switches for this command. Home Forum iSpy New Posts Today's Posts Calendar Community Groups Albums Member List Forum Actions Mark Forums Read Quick Links Today's Posts View Site Leaders Blogs Wiki What's New?

Not a fan, especially if it's a workstation as I'll interrupt the user's day. These little plugins all add up to one great tool. 8 Steve Wiseman December 23, 2011 at 6:54 pm Thanks for the kind words Abdul. Powered by vBulletin Copyright © 2016 vBulletin Solutions, Inc.