Hello all, I've build a local site which manages and organises local assets. While this works fine on my local machine I want to extend this over a local network (intranet). To simplify the example let's say I want a remote machine to allow the apache server on another machine to launch a notepad window as a background process. So far I've done the following: I've setup an apache2 server & php5 on a windows machine, i've opened up the tpc port on my standard home router so other machines on the network are allowed to access the server, on the windows apache service I've set the log on settings to "Local System account" and enabled service to interact with desktop. Finnaly I've made a php script which creates a COM object which runs the notepad.exe command. The php code looks like this: $WshShell = new COM("WScript.shell"); $oExec = $WshShell->Run($cmd, 1, false); Code (markup): When this php file is accessed on the server machine notepad launches fine. When I access this page on a remote machine notepad is launched on the server machine instead of the remote machine. PHP documantation says that the second argument of the COM object constructor is the server name for which the COM object will act upon. So I've tried this code: $WshShell = new COM("WScript.shell", $_SERVER['REMOTE_ADDR']); $oExec = $WshShell->Run($cmd, 1, false); Code (markup): but I'm getting this error msg on all machines: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `WScript.shell': Class not registered ' in C:\server\www\index.php:10 Stack trace: #0 C:\server\www\index.php(10): com->com('WScript.shell', '192.168.1.3') #1 {main} thrown in C:\server\www\index.php on line 10 Code (markup): Any help on this would be highly appreciated. Thanks in advance