Solved

C# - Create a process on a remote machine

Posted on 2014-11-11
3
232 Views
Last Modified: 2014-11-23
Hi,

Can I please have a sample to create a remote process on a machine? I don't want to use psexec. (I believe that it can be done with WMI - but have not found a good sample.

Thanks,

Ward
0
Comment
Question by:whorsfall
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 167 total points
ID: 40438584
How's 'bout this?

Create a Remote Process using WMI in C#
http://www.codeproject.com/Articles/31113/Create-a-Remote-Process-using-WMI-in-C
0
 
LVL 23

Assisted Solution

by:Michael74
Michael74 earned 167 total points
ID: 40438892
0
 
LVL 14

Assisted Solution

by:frankhelk
frankhelk earned 166 total points
ID: 40439641
Depending on what you'll try do do on the remote machine, you'll might have a look at .NET remoting.

There are by far too many web pages on that topic, but asking Google for "C# remoting site:msdn.microsoft.com" would give you a good start about the basics and some examples - and lots of details if you want more.

Basically it's an alternative to DCOM and RPC, it allows you to execute code (in objects) on remote machines.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

912 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

17 Experts available now in Live!

Get 1:1 Help Now