Starting an Application on a Remote PC ( XP sp3)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kapik
    New Member
    • Mar 2012
    • 9

    Starting an Application on a Remote PC ( XP sp3)

    Idea is to;

    start for example winword.exe on a remote PC so that the remote PC user could see it and start work immidiately.

    Solutions that I have already tried out:

    1) PSexec.exe with a batch file
    2) Basic Telnet operations.. -I am still working on it.

    Maybe some of you guys did something like this and could help me out.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Assuming you have admin access on that computer, you can use a VBScipt to make a call to WMI on that machine and create a process.

    Comment

    • kapik
      New Member
      • Mar 2012
      • 9

      #3
      Rabbit, do you have any example of such a script? :)

      Comment

      • Rabbit
        Recognized Expert MVP
        • Jan 2007
        • 12517

        #4
        Code:
        A = GetObject("winmgmts:{impersonationlevel=impersonate}!\\192.168.0.1\root\cimv2:Win32_Process").Create("C:\Program Files (x86)\Microsoft Office\Office12\Winword.exe", Null, Null, iProcID)

        Comment

        • kapik
          New Member
          • Mar 2012
          • 9

          #5
          Thanks for the hint Rabbit !
          I'll give this a try :)

          Comment

          • kapik
            New Member
            • Mar 2012
            • 9

            #6
            Ok, maybe you will find this solution of the problem a bit LAME but:
            1) I create a scheduled task @ remote control:
            schtasks.exe /create /S REMOTE_PC /RU my_domain\admin Login /RP admin_pass /SC einmal(I've got german XP :P) /TN "task_name" /TR "program_task_p ath" /ST 11:11:11

            2) then I run it:
            schtasks.exe /run /S Remote_Pc /RU my_domain\admin Login /RP admin_pass /TN "task_name"

            Ok, i know that the same might be accomplisched using VB-script but I had no time to learn the principles.

            I hope that this small and simple solution will help Ya!

            Please post your additional solutions. :)

            Best wishes from Stuttgart,
            Kapik ;)

            Comment

            Working...