Remotely Execute Commands

Posted on 2004-11-12
Last Modified: 2010-04-14
I am a sysadmin on a domain, and I am looking to remotely execute a program.  I tried rsh and rexec, but each time I attempt it, I get a Connection Refused, Can't Establish Connection error.  I thought that rexec would work because it authenticates first, but it was a no go.  I know that 3rd party software can do this, so I would figure that has to be a way to do it with Windows 2000 default tools.

Any ideas?
Question by:jrbush82
    LVL 4

    Accepted Solution

    hmm i never tested that rexec but it soundz similar to psexec..
    well get yourself a copy of psexec ==>

    and try if it works with it..
    make sure that your admin$ shares are enabled on every pc you want to remote execute

    sometimes just running a net use \\ip\Admin$ helps..

    greets riotz
    LVL 10

    Expert Comment

    I think rcmd.exe from the resource kit can do i.;en-us;151519

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    737 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

    18 Experts available now in Live!

    Get 1:1 Help Now