Solved

Executing WIndows Commands for Remote PCs

Posted on 2011-09-26
4
208 Views
Last Modified: 2012-05-12

I noticed that many of the WIndows commands, allow you to give as parameter the IP address and credentials of a remote PC, in order to apply the command to a remote PC instead of the local system (i.e. to get system information or shut down a PC remotely).

What protocol/TCP port number is used in order for the local PC to connecto to the remote PC and execute the command? Is there a specific service that must be strated on the remote PC, in order for this to work?
0
Comment
Question by:Harrris
[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
  • 2
4 Comments
 
LVL 66

Expert Comment

by:johnb6767
ID: 36600148
I believe the clients receive these on 445/135... Quick Tasklist and MMC to a remote machine confirmed these.... Might be more.....

If you are trying to troubleshoot specific ports, use TCPView, and look at the Remote Port column for the name, once you have made a connection.....

http://live.sysinternals.com/tcpview.exe
0
 
LVL 2

Expert Comment

by:CSD-Tech
ID: 36601498
If you are just trying to run background processes and don't mind a little Command Line you can always use the Microsoft PSToolsMicrosoft PSTools

I use these on a daily basis. The Tools only need to be installed on the Admin Machine you are using NOT On All The Work Stations
Repeat: NOT On All The Work Stations.

If you are using a x64 system make sure you put the files in the System32 and SysWow64 Folders. This will allow you to run them from your command prompt without having to drill down to them. The Commands are simple to use and you can have multiple system run a command or batch file by having the names or IP Addresses in a Text File that you can call in the proccess.

Let me know if you need any more information,

D
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36688884
Just to clarify....

They do install a service on the remote machine, but it is seamless to the end user, and no previous installs needed.... I use them daily myself, great tools....
0
 
LVL 15

Accepted Solution

by:
Jaroslav Mraz earned 500 total points
ID: 36892591
I ts working with lot of things. Everything what is in MMC and more can be used. All ports can be found here http://support.microsoft.com/kb/832017#4 . You can enable or disable it in windows firewall settings.
0

Featured Post

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Why pager replacement is still an issue OnPage has what some might call a “hate/hate” relationship with pagers. Not much room for love. As we see it, pagers are an antiquated bit of technology. Pagers are dinosaurs which, like most dinosaurs, sho…
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, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

737 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