How to turn an executable-file into a service in Windows 7?
12,726
Solution 1
Perhaps you could look at Servify This
Should do what you;re asking for.
Solution 2
I use three methods:
1.- SC command, just related above.
2.- SrvAny
from Windows Resource Kit.
3.- AlwaysUp (not free :-( ). The best until now.
In order to not repeat posts, here are the details:
Related videos on Youtube
Author by
Hedge
Updated on September 18, 2022Comments
-
Hedge over 1 year
I want to use an executable-file (which sports only a command-line interface) as a service in Windows 7.
I added it to successfully via:
sc MySVC binPath= "C:\Windows\System32\MyProgram.exe"
but once I try to start it, it times out with an 1053 error.
What am I doing wrong?
-
mwfearnley about 4 yearsShould this be
sc CREATE MySVC binPath=...
?
-
-
Hedge almost 13 yearsThat does the trick perfectly <3
-
Hedge almost 13 yearsI found out the problem was that Windows didn't get any response from it (it awaits a special response from services). So I had to wrap it with a tool like Servify This which makes the necessary calls for me.