Execute the following command at the command promt. You need to have Windows Resource Kit installed on the box. ‘C:\Program Files\Resource Kit\Instsrv.exe <my Service> C:\Program Files\Resource Kit\Srvany.exe’
- Open Registry editor and go to the following key. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<my service>
- From the Edit menu, click Add Key. Type the following and click OK:
Key Name: Parameters
Class : <leave blank> - Select the Parameters key and from the Edit menu, click Add Value. Type the following and click OK
Value Name: Application
Data Type : REG_SZ
String : <path>\<application.ext>
where <path>\<application.ext> is the drive and full path to the application executable including the extension (i.e., C:\WinNT\Notepad.exe)
-------------- End of Document -----------------
Tags: Windows XP, Windows Server 2000, Windows Server 2003
Published Date: 20071025
No comments:
Post a Comment