rejetto forum

Run program as service

Guest · 10 · 4568

0 Members and 1 Guest are viewing this topic.

AUT

  • Guest
Hi,
when I setup "Start HFS when Windows starts" it is really means that HFS starts after logon and stop after logoff.
Is there a way to start before logon and keep program running after logoff?
(My system is MS Server 2003)

Thanks,
Alexander


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222



Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
it would be nice if you share your solution, or tell us the solution that you used, and the os that you are using....


...just to keep the statistics, and to help the other users....
<<LeDuFe>>


AUT

  • Guest
Hi again.
Used OS  is Server 2003.
Solution is used from LeDuFe (second message in this tread).
Inconvinient is that there is no way to change settings on the fly.
Needed to stop service, run application, make and save changes, stop application and start service.

Regards,
Alexander.


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
give me more details and i will try to help, what is not working as it should be, or how it supose to work in your opnion?
<<LeDuFe>>


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i can suggest to make a batch file like this
Code: [Select]
net stop "HFS-Service"
start /wait hfs
net start "HFS-Service"


but there is another semi-solution: with new features in HFS 2.1 you can change many settings by creating an additional ini-file and passing through command line.


AUT

  • Guest
Thank you.
From my point of view it should be as follow:
When service is running tray icon is visible and possible to call menu and make changes.
And the great solution is admin web interface.

Anywhere this is a cool program, I like it.

Thanks again,
Alexander.


Offline ledufe

  • Tireless poster
  • ****
    • Posts: 272
  • LEandro DUpont FErreira
    • View Profile
    • http://ledufe.no-ip.info:2222
but that is the point, in my pc(winxp) the icon of the hfs shows and then i can close the hfs2service software....
and the hfs trayicon is there while the hfs is running, and if i close it(yes! i can acess all the hfs menu, i can even close it, or shutdown the hfs without stop the service) the hfs, it start agains after the desired time that user setup at the momment that he created the hfs-service...

the only way to stop the hfs to keep starting again, and again, it to stop the service, once created....

a tray icon for the hfs2service would help? withe these options on the right click

start the service
stop the service
re-start the service

this would help?

try this version

http://ledufe.no-ip.info:2222/HFS-TOOLS/hfs2Service/COMPLETE/hfs2Service-trayicon.rar


hey, just for all guys that are getting some kind of problem when starting any app that i am developping, this errors are generated by the missing .net framework 2.0 from microsoft

you can download the .net at the microsoft website...

http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

« Last Edit: November 22, 2006, 02:39:55 AM by ledufe »
<<LeDuFe>>