Author Topic: Run HFS as a Windows Service  (Read 28879 times)

0 Members and 1 Guest are viewing this topic.

Offline ledufe

  • Tireless poster
  • ****
  • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Run HFS as a Windows Service
« on: July 21, 2007, 10:38:01 AM »
Well, after many posts asking the same question... i sense that this topic could be put into a sticky. ;D

??? if you're looking for a way to make your HFS run at startup, but not as it usually does when the user logs in... you want your HFS to run even before you or anybody else logs into the computer, or even after a shutdown/reboot, you are in the right post.....  ;D

If you use the search button of this forum (http://www.rejetto.com/forum/index.php?action=search), you will find at least 3 pages with these words in their posts, here is a current list of threads on this topic:

Topic: Run HFS as a SERVICE - info here!  (Read 4050 times)
http://www.rejetto.com/forum/index.php?topic=2416.0
--
Topic: NewSoftware HFS2Service  (Read 1620 times)
http://www.rejetto.com/forum/index.php?topic=3755.0
--
Topic: How can I set HFS up as a service?  (Read 19 times)
http://www.rejetto.com/forum/index.php?topic=4712.0
--
Topic: hfs2service????  (Read 372 times)
http://www.rejetto.com/forum/index.php?topic=3998.0
--
Topic: Autostart HFS after reboot?  (Read 468 times)
http://www.rejetto.com/forum/index.php?topic=3050.0
--
Topic: HFS as Windows Service  (Read 497 times)
http://www.rejetto.com/forum/index.php?topic=4084.0
--
Topic: Service?!!  (Read 2808 times)
http://www.rejetto.com/forum/index.php?topic=1389
--

and these files are mentioned in all of the posts...at least the files i got here... i have attached the sources of this application i made to create and manipulate the windows process that it creates for HFS... I have attached 2 versions of it, one that makes the service, and manipulate it only, and the other which keeps monitoring the service in the system tray of windows, i must explain that these tools are experimental, and all are virus free, they are one of the my very first programing things in C#, and i'm not updating it, as it works fine to me and others..... i have also got the any2service here, but i did not attach it, i can send it to someone that can host it somewhere for me..... the size is

Any2Service.zip - 2.188kb

i guess there is many other ways to do it... but from now on lets use this sticky post to discuss this topic.
« Last Edit: July 22, 2007, 01:05:06 AM by That_Stevens_Guy »
<<LeDuFe>>

Offline TSG

  • Operator
  • Insane poster
  • *****
  • Posts: 1932
  • Country: au
    • View Profile
    • RAWR-Designs
Re: Run HFS as a Windows Service
« Reply #1 on: July 21, 2007, 11:25:50 PM »
I have made this topic sticky, i also edited your post ledufe... your english was a little off. It makes more sense now :)

Offline ledufe

  • Tireless poster
  • ****
  • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Re: Run HFS as a Windows Service
« Reply #2 on: July 22, 2007, 12:24:30 AM »
your english was a little off.
It makes more sense now :)
but i am totally nonsense!
and the funny thing is, you understand me!!!
ahuhauahauhaua
sorry, i must decrease the amount im smoking......

<<LeDuFe>>

eliza

  • Guest
Re: Run HFS as a Windows Service
« Reply #3 on: July 23, 2007, 08:40:59 AM »
log file:

07/23/2007, 16:28:37
    D:\XXX\hsf\HFS-Service.exe
07/23/2007, 16:28:37
    D:\XXX\hsf\HFS-Service.ini
07/23/2007, 16:28:37
    D:\XXX\hsf\HFS-Service.log
07/23/2007, 16:28:37
    HFS-Service
07/23/2007, 16:28:37
    Failed to start program 'HFS_FULL_PATH', error code = 2
07/23/2007, 16:28:37
    Bounced process 0

What this error can be? I'm not able to start the service.

Offline ledufe

  • Tireless poster
  • ****
  • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Re: Run HFS as a Windows Service
« Reply #4 on: July 23, 2007, 09:09:32 AM »
you was able to create the process, but not to start it? well it apears to me that you somehow have moved the executable when the process was stopped, or chage the name of the hfs.exe that the process is calling...
well, i want to help, but it would be a good idea if we could talk in some instant messaging system
im on brazil, and my msn messenger is ledufe@hotmail.com
we could talk if you preffer, my skype is ledufe
call me and i will try to help....
<<LeDuFe>>

Offline surel

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Re: Run HFS as a Windows Service
« Reply #5 on: September 14, 2007, 02:15:28 AM »
I installing program HFS and hfsservice.exe. And I want it work in service in Windows XP Professional. It work good, but when I start account Administrator, I have two alerts. First ist monoLib error and second is Acess violation at adress 0040439A in module 'hfs.exe'. Read of adress 00000001. What can I do with this alerts? Thank you for your help.

Offline ledufe

  • Tireless poster
  • ****
  • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Re: Run HFS as a Windows Service
« Reply #6 on: September 15, 2007, 06:36:00 PM »
my guess is that you must change the administrator account to be in every group(so the group of the hfservice) would be accessible to the administrator too, try to set the admin groups, the same groups of the user that installed/created the service, or try to unistall the service, and install it again as administrator...
<<LeDuFe>>

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12501
  • Country: it
    • View Profile
Re: Run HFS as a Windows Service
« Reply #7 on: September 15, 2007, 06:41:48 PM »
I installing program HFS and hfsservice.exe. And I want it work in service in Windows XP Professional. It work good, but when I start account Administrator, I have two alerts. First ist monoLib error and second is Acess violation at adress 0040439A in module 'hfs.exe'. Read of adress 00000001. What can I do with this alerts? Thank you for your help.

can you please report the build number that is giving you such error?
please also re-report the address of the access violation.

Surel78

  • Guest
Re: Run HFS as a Windows Service
« Reply #8 on: September 17, 2007, 12:01:21 AM »
It's HFS HTTP server version 2.2a build 124 and the newest version HFSservice.exe.
But this problem is only in login as Administrator. When I login as User, alerts are out.

TS

  • Guest
Re: Run HFS as a Windows Service
« Reply #9 on: January 16, 2008, 09:18:34 AM »
The program is reported to be a spyware??!
Trojan.NTsvc

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12501
  • Country: it
    • View Profile
Re: Run HFS as a Windows Service
« Reply #10 on: January 16, 2008, 09:56:36 AM »
what program are you talking about?

Offline TSG

  • Operator
  • Insane poster
  • *****
  • Posts: 1932
  • Country: au
    • View Profile
    • RAWR-Designs
Re: Run HFS as a Windows Service
« Reply #11 on: January 16, 2008, 11:46:30 AM »
I would assume he is referring to ledufe's program.

Offline ledufe

  • Tireless poster
  • ****
  • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
Re: Run HFS as a Windows Service
« Reply #12 on: January 16, 2008, 12:03:30 PM »
The program is reported to be a spyware??!
Trojan.NTsvc

who reported it as a spyware?

and the software that pointed it as spy/malware should tell wich EXE with full path like

c:\hfs-folder\hfs2service.exe or hfs.exe

and googling a little with this term(Trojan.NTsvc) that you used, i found nothing, could you point to me where i can find some reference to this kind of malware?

and my only guess is that it could be detected as a trojan becouse it CREATE A SERVICE TO ANOTHER APP and many virus or trojan act like this....

<<LeDuFe>>

TS

  • Guest
Re: Run HFS as a Windows Service
« Reply #13 on: January 17, 2008, 12:38:00 AM »
i have searched google too, nothing is found, as same as you.
The HFS2Service.exe is reported to contain that spyware, by avg spyware scanner.

Offline Foggy

  • Insane poster
  • *****
  • Posts: 806
    • View Profile
Re: Run HFS as a Windows Service
« Reply #14 on: January 17, 2008, 12:40:22 AM »
hmm, I have heard that AVG quite often reports false positives.