Our print server is being flakey lately and looses all the printers. The quick fix for this is to go into services stop (if running usually they are down) Print Spooler, TCP/IP Print Sever, and Print Server for MAC - then restarting all three services. Not elegant but it works.
Anyway I want to setup a .cmd which will do those things rather than have to go to services, right click...blah, blah, blah.
I have the easy part
[stopping]
net stop spooler /y
[starting]
net start spooler /y
However I am wondering what the names of TCP/IP Print Server and Print Server for MAC are in the command line world. After all in the services list "spooler" is "Print Spooler" so I assume the others are similarly shortened.
Stopping spooler will stop the other two but I doubt starting it again will restart them. So does anyone know what the names are so I can write
net start "TCP/IP Print Server" and
net start "Print Server for Macintosh"?
Thanks
Anyway I want to setup a .cmd which will do those things rather than have to go to services, right click...blah, blah, blah.
I have the easy part
[stopping]
net stop spooler /y
[starting]
net start spooler /y
However I am wondering what the names of TCP/IP Print Server and Print Server for MAC are in the command line world. After all in the services list "spooler" is "Print Spooler" so I assume the others are similarly shortened.
Stopping spooler will stop the other two but I doubt starting it again will restart them. So does anyone know what the names are so I can write
net start "TCP/IP Print Server" and
net start "Print Server for Macintosh"?
Thanks