Solved

Executing WIndows Commands for Remote PCs

Posted on 2011-09-26
4
184 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Martian Packets Unix 5 54
nexus filter logs 3 45
Incredibly slow speeds while testing on server in China? 5 68
Can't ping New Linux Servers 40 68
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

832 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