rejetto forum

Run HFS as a Windows Service

ledufe · 31 · 79881

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
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, 07:05:06 AM by That_Stevens_Guy »
<<LeDuFe>>


Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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
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
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
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
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
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
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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
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
The program is reported to be a spyware??!
Trojan.NTsvc


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile

Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
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
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

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
hmm, I have heard that AVG quite often reports false positives.