Search found 4 matches

by Torris
12 Jul 2012 03:05
Forum: DOS Batch Forum
Topic: Restarting printer spooler on a server.
Replies: 8
Views: 8382

Re: Restarting printer spooler on a server.

What is a printer server exactly, what system does it run? We run windows server 2008, and have all the printer drivers installed on that server. if a printer stops we need to restart the printerspooler on the server. So what i was thinking was is there a way running a script from my local computer...
by Torris
12 Jul 2012 02:53
Forum: DOS Batch Forum
Topic: Restarting printer spooler on a server.
Replies: 8
Views: 8382

Re: Restarting printer spooler on a server.

I think he/she wants to do it on a remote machine. You'd probably do it with PSEXEC but there would need to be error checking too, to ensure the service stopped before restarting it. Hi, You are right. I am sitting on my personal pc. I have a printer server that i want to send this command to. My p...
by Torris
12 Jul 2012 02:46
Forum: DOS Batch Forum
Topic: Restarting printer spooler on a server.
Replies: 8
Views: 8382

Re: Restarting printer spooler on a server.

Here is the code: @Echo off Cls Echo The Print Spooler service is stopping. Net Stop spooler >nul ping localhost -n 3 >nul Echo The Print Spooler service is starting. Net Start spooler >nul Echo Service Restarted Sucessfully ping localhost -n 3 >nul Exit The Main Commands are in red and the green c...
by Torris
12 Jul 2012 01:25
Forum: DOS Batch Forum
Topic: Restarting printer spooler on a server.
Replies: 8
Views: 8382

Restarting printer spooler on a server.

Hi. im kind of new to scripting... Im trying to make a .bat script that run with my admin credentials so it access the server, and then restarting the printerspooler. Is this possible? My printer server name: s0003119 And the spooler restart service i think i got right.... Net stop "print spool...