Solved

load services on another computer using a command line

Posted on 2006-07-07
10
419 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
  • 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 43 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
 

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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 9

Assisted Solution

by:binary_1001010
binary_1001010 earned 41 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 41 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now