Solved

Executing WIndows Commands for Remote PCs

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Are client relationship the only driver of a successful MSP? While important, client relationships are only one component. Learn how else MSPs can broaden their horizon and differentiate themselves.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

808 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