?
Solved

load services on another computer using a command line

Posted on 2006-07-07
10
Medium Priority
?
426 Views
Last Modified: 2008-03-17
Hi

How do i load services on another computer using a command line eg: "services.msc \\printserver01". It's actually on W2K Server.

All I actually want to do is to be able to check the status of the printer spooler on the other server & maybe restart it.

Regards

Tim
0
Comment
Question by:tima26
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 25

Expert Comment

by:mikeleebrla
ID: 17059372
>>All I actually want to do is to be able to check the status of the printer spooler on the other server & maybe restart it.

go to start>run>services.msc to open the services MMC (microsoft management console
rightclick on "services" and choose 'connect to another computer"
now you will be seeing the services MMC of whichever remote computer you choose.
0
 

Author Comment

by:tima26
ID: 17059397
Sorry I should have added that I want to do it in 1 command without any user interaction. I thought "services.msc \\printserver01" would work, but it just runs Services locally.
0
 
LVL 25

Accepted Solution

by:
mikeleebrla earned 172 total points
ID: 17059449
then just do what i said, and when you exit save the MMC wherever you would like. Then whenever you open that saved MMC the remote computer's services will be right there. I'm not sure what you mean by NO user interaction, but doubleclicking on a saved MMC is about as easy as i can make... OR you could simply schedule it to open if the user is too lazy to double-click.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:tima26
ID: 17059522
Many thanks.

Is there any reason on a W2K Server when I launch services.msc and right click on "Services (Local)" select All Tasks I only get Send Console Message and not connect to another computer ?
0
 
LVL 9

Assisted Solution

by:binary_1001010
binary_1001010 earned 164 total points
ID: 17059557
you can use pstool to run service remotely :

http://www.sysinternals.com/Utilities/PsTools.html
0
 
LVL 25

Expert Comment

by:mikeleebrla
ID: 17059637
>>Is there any reason on a W2K Server when I launch services.msc and right click on "Services (Local)" select All Tasks I only get Send Console Message and not connect to another computer ?

b/c that isn't a feature if you are doing it FROM a windows 2000 machine (you didn't say which type of machine you where doing it FROM) but that is available if you are on an XP box.

but you can still do it no problem, the steps are just different

1.  start>run>MMC>OK to start a blank MMC
2.  File>add/remove snap in>click add>scroll down to services, click ok and then it will ask you if you want to look at services on the local computer, or another computer, choose another computer and OK out of everything.
3. when you exit, save the MMC like i mentioned before.
0
 
LVL 33

Assisted Solution

by:NJComputerNetworks
NJComputerNetworks earned 164 total points
ID: 17059759
0
 
LVL 33

Expert Comment

by:NJComputerNetworks
ID: 17059804
Query to see is spooler service running:
sc \\remoteservername query spooler

Start Spooler Service
sc \\remoteservername start spooler

Stop Spooler Service
sc \\remoteservername stop spooler
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question