remote dos prompt

Posted on 2012-09-06
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

    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 95

    Assisted Solution

    by:Lee W, MVP
    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

    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.
    LVL 1

    Accepted Solution

    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 68

    Assisted Solution

    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).
    LVL 1

    Author Closing Comment

    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

    Why do you need to run the shutsown command remotely?
    What wrong with

    shutdown \\computername /s

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    2nd desktop keeps emptying 11 43
    Check version 13 47
    Windows Server Backup Destination Size Limitation 8 19
    DVD burning software 5 8
    Several part series to implement Internet Explorer 11 Enterprise Mode
    The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
    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). …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now