Quantcast
Channel: How to create a service running a .bat file on Windows 2008 Server? - Server Fault
Browsing all 11 articles
Browse latest View live
↧

Answer by Yit Ming for How to create a service running a .bat file on Windows...

i used Windows schtasks.you can refer to this.https://technet.microsoft.com/en-us/library/cc725744.aspx#BKMK_hours

View Article


Answer by Kushal Gangan for How to create a service running a .bat file on...

try this... it worked for me..sc create ServiceTest binpath= "C:\Windows\System32\cmd.exe /C C:\ServiceTest\Jenkins-Slave.bat"

View Article


Answer by Ilya for How to create a service running a .bat file on Windows...

I stumbled upon this thing. Here is the tool called Bat_To_Exe_Converter.It's very very easy to convert any .bat files to .exe files.Try it. Download downloader first and it will download the...

View Article

Answer by user1977194 for How to create a service running a .bat file on...

from: this post on technet forums: http://social.technet.microsoft.com/Forums/en-US/winserverMigration/thread/98a97aee-c62b-4683-94ab-3777899cf7de/Here's what to do ...At the time of this posting,...

View Article

Answer by Korayem for How to create a service running a .bat file on Windows...

We use Task Scheduler to run task whenever the computer starts (regardless a user is logged in or not)

View Article


Answer by databyte for How to create a service running a .bat file on Windows...

I found two other options that won't have you reaching for your wallet.You can have sc launch srvany which then points to your program. (there's a forum post that I can't link to because I don't have...

View Article

Answer by Matthew Blackford for How to create a service running a .bat file...

Use NSSM to run a .BAT or any old .EXE file as a service. It is almost a replacement for SRVANY and is a no frill no fuss application.http://iain.cx/src/nssm/I had the same problem as you, and NSSM was...

View Article

Answer by Evan Anderson for How to create a service running a .bat file on...

You can't just run a .BAT file or any old .EXE file as a service. Windows services don't work that you. You can use a utility like the non-Sucking Service Manager (NSSM) or Microsoft's non-free SRVANY...

View Article


Answer by Whisk for How to create a service running a .bat file on Windows...

The SC command just adds the required registry entries for a service - if the file you specify isn't a valid service exe it won't turn it into one.

View Article


Answer by shylent for How to create a service running a .bat file on Windows...

Of course you can't run a service like that. Did you try using srvany in server 2008? As far as I know there is no 'official' version of srvany for s2k8, but you can always try, can you not?EDIT: Oh, I...

View Article

How to create a service running a .bat file on Windows 2008 Server?

I've created the service usingsc create myService binpath=myservice.batBut when I start it, it fails with the following error message:[SC] StartService FAILED 1053: The service did not respond to the...

View Article
Browsing all 11 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>