Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Running Software on Another Machine

Thread Tools
 
Search this Thread
 
Old 16 June 2006, 11:36 AM
  #1  
jpmason33
Scooby Regular
Thread Starter
 
jpmason33's Avatar
 
Join Date: Mar 2003
Location: LA LA Land
Posts: 831
Likes: 0
Received 0 Likes on 0 Posts
Question Running Software on Another Machine

Hi

I am looking to perform an RPC like function with a couple of bits of software.


I need computer A to be able to run a program (Called from the command line) on computer B and the program should execute on Computer B (ie no load being put on computer A)

Both Machines are windows 2000 servers.

Does anyone know a way of doing this or a piece of third party software that supports this?

Cheers

J
Old 16 June 2006, 12:01 PM
  #2  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

REXEC (need the service running comp b also) should be part of std NT/XP install
Old 16 June 2006, 01:41 PM
  #3  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

sysinternals pexec.exe just requires permissions
Old 16 June 2006, 02:39 PM
  #4  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

Code:
Dim RemoteProcess, arRemote, RemotePC, strMachine


strMachine = "DavidsComputer"

Set wmiRoot = GetObject("winmgmts://" & strMachine)

RemoteProcess = "c:\windows\freecell.exe"

arRemotePCs = array(strMachine)

for Each RemotePC in arRemotePCs
	StartProcess RemoteProcess, RemotePC
Next

sub StartProcess (process, strMachine)
	dim proc
	set proc = getobject("winmgmts://" & strMachine & "/root/cimv2").get("win32_process")
	proc.create process
End Sub
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Billet
ScoobyNet General
42
14 October 2015 10:38 PM
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
lozgti1
Non Scooby Related
8
28 September 2015 03:49 AM



Quick Reply: Running Software on Another Machine



All times are GMT +1. The time now is 01:44 PM.