Remote start up

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter

    #1

    Remote start up

    Does anyone have a C# example either in managed code or using WMI on how to start a process on a remote computer?

    --
    Thanks
    -------------------
    czupet@wsinc.co m
  • Jeffrey Tan[MSFT]

    #2
    RE: Remote start up


    Hi Peter,

    Thanks for posting in this group.
    You can use "Process Class" in .Net to invoke a remote process.
    But you should have the enough permission on remote machine.
    There will be some sample code in Process class's document in MSDN, you can
    go and check it.

    If you wanted more complicated control on remote machine process, you can
    use named pipe to communicate.
    The article below use VC6.0 and Named Pipe to execute applications on
    remote systems:
    http://www.codeguru.com/network/xCmd.html

    The sample below install an application on remote machine and use remoting
    to communicate:
    http://www.codeguru.com/cs_network/R...ssManager.html

    Hope this helps,

    Best regards,
    Jeffrey Tan
    Microsoft Online Partner Support
    Get Secure! - www.microsoft.com/security
    This posting is provided "as is" with no warranties and confers no rights.

    Comment

    • Peter

      #3
      Re: Remote start up

      Thanks for your help!

      After thinking about it I think the best solution is to use Remoting since
      the App on the remote computer is a GUI application.

      ""Jeffrey Tan[MSFT]"" <v-jetan@online.mi crosoft.com> wrote in message
      news:ZWaqz7XuDH A.1396@cpmsftng xa06.phx.gbl...[color=blue]
      >
      > Hi Peter,
      >
      > Thanks for posting in this group.
      > You can use "Process Class" in .Net to invoke a remote process.
      > But you should have the enough permission on remote machine.
      > There will be some sample code in Process class's document in MSDN, you[/color]
      can[color=blue]
      > go and check it.
      >
      > If you wanted more complicated control on remote machine process, you can
      > use named pipe to communicate.
      > The article below use VC6.0 and Named Pipe to execute applications on
      > remote systems:
      > http://www.codeguru.com/network/xCmd.html
      >
      > The sample below install an application on remote machine and use remoting
      > to communicate:
      > http://www.codeguru.com/cs_network/R...ssManager.html
      >
      > Hope this helps,
      >
      > Best regards,
      > Jeffrey Tan
      > Microsoft Online Partner Support
      > Get Secure! - www.microsoft.com/security
      > This posting is provided "as is" with no warranties and confers no rights.
      >[/color]


      Comment

      Working...