Normal Executeable as a Windows Service

I am having a executeable which i want to run as a Windows Service. The Executeable is not compiled as a Windows Service, but should be used as one.

What are the possible ways and what you suggest to do in that matter?
woiglAsked:
Who is Participating?
 
johnb6767Connect With a Mentor Commented:
How to create a Windows service by using Sc.exe
http://support.microsoft.com/kb/251192
0
 
ZoppoConnect With a Mentor Commented:
Hi woigl,

there exists a tool 'srvany' from Microsoft which can start any normal application as service.

You can find more info about this and how to use it here: http://support.microsoft.com/kb/137890

Hope that helps,

ZOPPO
0
 
evilrixSenior Software Engineer (Avast)Commented:
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
woiglAuthor Commented:
Does this even works with Windows Server 2003, Windows Server 2008 and Windows Vista?
0
 
Smart_ManCommented:
change the log on option in teh service as  , local system , network service , ...

http://support.microsoft.com/kb/137890


waiting for your reply
0
 
ZoppoCommented:
Hi woigl,

sorry, I'm not sure about this - I guess you have to try it. I found nothing in Internet saying explicitly it does or it does not ...

But I think it should work since I guess the way services are handled should not have changed too much in newer Windows versions ...

ZOPPO
0
 
Smart_ManCommented:
i guess the link i have provided , had the sameway or a way close to the accepted and assisted answers.
0
 
johnb6767Commented:
Yes, but you posted the link that was already posted by another member, which if done Intentionally, it is a violation of the TOS.

In your case, it was the EXACT same KB article.....
0
 
Smart_ManCommented:
i would not comment if i copied the article from a previous answer. unfortunatly the pages do not autoupdate upon posts.i open few pages and circle among them writing the answers in my mozilla. it hurts to be accused of stealing other posts whilke youa re trying to get credit for what you posted. thanks anyway.
0
 
evilrixSenior Software Engineer (Avast)Commented:
Wow, there was 17 mins between Zoppo originally posting it and your own post! That's a lot of circling :)
I'm sure it was a mistake, it happens -- lord knows I've done it (mistake that is, not intentionally break EE rules).
0
 
johnb6767Commented:
I never stated I thought you did it intentionally, If that was the case I would have requested a Mod come by for a visit. Cause that's one thing I cant stand is when someone comes behind and reposts the same thing.....

But I am sure it was not intentional....I have gotten sidetracked before hitting submit, and didnt refresh a page, but usually it gets pointed out, or I catch it after rereading a Q....

I think the correct answers were accepted in this case.....
0
 
Smart_ManCommented:
thanks john for teh classy attitude. i dunno if the author loose more points if he/she choosed more than one solution or gave the same points for more than a post. usually you can see such repetitve posts within fewer time separations in the excell/office zone.

thank you all
0
 
johnb6767Commented:
They dont. They only use the amount of the total points for the question. Normally though, duplicate posts, intentional or not, are usually awarded to the one who posted first. At least in the zones I frequent (which is about 20).

Just depends on the asker....

0
All Courses

From novice to tech pro — start learning today.