Solved

C# - Create a process on a remote machine

Posted on 2014-11-11
3
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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