Solved

wrapper to have a script (.cmd) running "as" a service

Posted on 2011-09-22
6
319 Views
Last Modified: 2012-05-12
I know there exists a little executable that can be used to run a script as a service
That executable is indeed a service and will simply invoke the script
I don't remember where to find it
0
Comment
Question by:LeTay
6 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 36584180
It is srvany.exe - http://support.microsoft.com/kb/137890

a how-to here: http://www.tacktech.com/display.cfm?ttid=197

Or you could just run the batch file using a scheduled task, from the "run" key in the registry to start when the computer starts?
0
 
LVL 26

Expert Comment

by:MidnightOne
ID: 36584219
Are you looking for SRVANY? It's here: http://support.microsoft.com/kb/137890
0
 
LVL 83

Expert Comment

by:oBdA
ID: 36584914
I prefer this one over SrvAny; it has more options and a 64bit version as well:
NSSM - the Non-Sucking Service Manager
https://iain.cx/src/nssm/
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Closing Comment

by:LeTay
ID: 36585432
That's the program I was looking for !
Many thanks
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 36585697
No problem, it is OLD though :-)
0
 

Author Comment

by:LeTay
ID: 36585721
But the most important is that ... it works !
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
An article on effective troubleshooting
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question