fahmon as a service

hacktor2

Limp Gawd
Joined
Oct 18, 2004
Messages
263
Figured since this has to do with F@H this would be an appropriate place to ask.

I have setup the web client with fahmon and because the environment i'm in it would be preperred to have this running as a service instead of just staying logged in.

I try using sc.exe but whenever I enter a command, the output is the list of options / parameters.

this is what i type
Code:
sc create fahmonservice binpath= C:\Program Files (x86)\FahMon\fahmon.exe

Anyone know how to do this correctly? Thanks!
 

Nanan

[H]ard|Gawd
Joined
Aug 29, 2007
Messages
1,230
Got me man, I have been trying to get this to work for a few hours and I am confused.

http://msdn.microsoft.com/en-us/library/ms810435.aspx

Typical output given what should work.

Code:
U:\>sc create DockService binpath= C:\Program Files\Stardock\ObjectDock\ObjectDo
ck.exe start= auto
Creates a service entry in the registry and Service Database.
SYNTAX:
sc create [service name] [binPath= ] <option1> <option2>...
CREATE OPTIONS:
NOTE: The option name includes the equal sign.
 type= <own|share|interact|kernel|filesys|rec>
       (default = own)
 start= <boot|system|auto|demand|disabled>
       (default = demand)
 error= <normal|severe|critical|ignore>
       (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
       (default = LocalSystem)
 DisplayName= <display name>
 password= <password>

U:\>sc qc DockService
[SC] OpenService FAILED 1060:
 

alan2308

[H]ard|DCer of the Month - October 2008
Joined
Dec 13, 2005
Messages
4,110
Since there is a space in your pathname, you need to put it in quotes or else it parses it as multiple parameters and gets confused.
 
Top