remote dos prompt

is there a way in windows 7 to get to the dos prompt remotely - similar to how you can open regedit on a different machine over the network.
LVL 1
JeffBeallAsked:
Who is Participating?
 
KevzJDConnect With a Mentor Commented:
What are you trying to do via command prompt on remote machine? I know a few of the DOS commands can be executed for a remote machine, but I'm not sure about actually launching a "Remote Command Prompt"
0
 
JohnGerhardtConnect With a Mentor Commented:
Have you tried using PSEXEC on a remote machine.

To be honest I have never tested it but I have heard you can run

psexec \\RemoteComputer cmd.exe

and you get a command prompt that will run on the remote machine.

I have often used it to get the ipconfig of a remote machine

psexec \\RemoteComputer ipconfig

this works great.
0
 
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
You can use logMeIn Pro.  You can execute commands remotely through PSExec (Sysinternals/Microsoft free download).

I'm sure there are other things out there that can do it as well.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Neil RussellConnect With a Mentor Technical Development LeadCommented:
Just telnet in to the remote machine. Will be enough for most simple admin tasks.
You will need to enable telnet server on the windows 7 clients first though.
0
 
QlemoConnect With a Mentor Batchelor, Developer and EE Topic AdvisorCommented:
I can confirm that PsExec, as stated by JohnGerhardt, is well suited to do many tasks in a remote cmd prompt. But be aware that certain restrictions apply - like no GUI, no output from commands started with start, and many more.
PowerShell Remoting has a few restrictions less, but requires some setup and basic PowerShell knowledge (though both is not difficult to do/get).
0
 
JeffBeallAuthor Commented:
thanks for the help - I mostly need to run the shutdown command remotely - and PSExec is perfect for the job
although i will look into powershell as well
0
 
Neil RussellTechnical Development LeadCommented:
Why do you need to run the shutsown command remotely?
What wrong with

shutdown \\computername /s
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.