[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


remote dos prompt

Posted on 2012-09-06
Medium Priority
Last Modified: 2012-09-06
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.
Question by:JeffBeall
LVL 17

Assisted Solution

JohnGerhardt earned 400 total points
ID: 38373034
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.
LVL 97

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 400 total points
ID: 38373039
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.
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 400 total points
ID: 38373066
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.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Accepted Solution

KevzJD earned 400 total points
ID: 38373411
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"
LVL 71

Assisted Solution

Qlemo earned 400 total points
ID: 38373498
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).

Author Closing Comment

ID: 38374611
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
LVL 37

Expert Comment

by:Neil Russell
ID: 38375243
Why do you need to run the shutsown command remotely?
What wrong with

shutdown \\computername /s

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

834 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