Sign in to follow this  
Followers 0
Juvigy

Exe as service issue

4 posts in this topic

I have a compiled script with the following script:

While 1
If ProcessExists("test1.exe") = 0 then ShellExecute("C:\Music\test1.exe")
Sleep(2000)
WEnd

I installed it as a service using:

sc create myservice binpath= c:\myfile.exe

But i cant start the service - i get some error 1053

sc start testservice
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion

Any idea how to fix this ?

Share this post


Link to post
Share on other sites



Check this link out...

jfcby


Determined -- Devoted -- Delivered Make your mind up -- to seriously apply yourself -- accomplishing the desired results. **** A soft answer turneth away wrath: but grievous words stir up anger. Proverbs 15:1 KJB ****

Share this post


Link to post
Share on other sites

I know that but it relies on Srvany.exe which i cant use.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0