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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZoppoCommented:
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
woiglAuthor Commented:
Does this even works with Windows Server 2003, Windows Server 2008 and Windows Vista?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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
johnb6767Commented:
How to create a Windows service by using Sc.exe
http://support.microsoft.com/kb/251192
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.