Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remote Administration of Windows XP through the Command Line

Does anyone know of a good way to do remote administration of a Windows XP machine using just the command line?

At the moment the only things it needs to do is to be able to install applications/patches, and transfer files to and from the machine, and installing registry patches would be nice as well.

Currently we use a horrible hacked together solution that uses NetMeeting, in the past I've thrown together a proof of concept using SSH for windows (at the time windows 2000) but it didn't work to my satisfaction and was pretty buggy. Which was probably the result of the SSH Daemon I was running more then anything.

I'm pretty much open to anything, however a solution using SSH would be ideal since it's already approved for installation in my organization, and it's free. I work in the Canadian Government so anything free is best, and anything that we've already got approved for installation is even better.

like image 904
CalvinR Avatar asked Mar 20 '09 15:03

CalvinR


People also ask

Can you run Command Prompt remotely?

Select the computer for which you want to use the command prompt. Click on Remote Command Prompt to bring the remote computer's command prompt. You can now execute the required command in the text box or you can also use the pre-defined commands.

What command enables you to make a new directory in a Windows XP Professional system?

Command extensions, which are enabled by default, allow you to use a single mkdir command to create intermediate directories in a specified path. This command is the same as the md command.


2 Answers

psexec will allow you to run commands remotely. Some of the other PsTools can help you kill applications, get a list of processes, etc.

like image 104
scottm Avatar answered Oct 02 '22 00:10

scottm


Why must it be

remote administration of a Windows XP machine using just the command line?

I think your very limiting yourself to what is possible by sticking to the command line. In windows environments you can easily use Group Policy to distribute most software and/or patches, and for the ones that you can't you can usually script these changes through any of the popular scripting languages such as JScript, VBScript, Kixtart, AutoIt, Powershell, etc. With these scripting languages you can easily leverage WMI to exceute and mointor processes on remotes systems, copy files, updates registry...basically everything that you're trying to accomplish....and it won't cost you anything but the cost of learning these technologies, and there many online resources and which document how to do them. Here is a link to the Microsoft Script Center, its a great start: http://www.microsoft.com/technet/scriptcenter/default.mspx

like image 22
mrTomahawk Avatar answered Oct 01 '22 23:10

mrTomahawk