?
Solved

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

Posted on 2011-09-22
6
Medium Priority
?
332 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 2000 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 86

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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
LVL 1

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
 
LVL 1

Author Comment

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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A simple method to resolve a "keyboard not working" problem by modifying the Windows registry. This issue can often be encountered after using the VMware vCenter Converter Standalone Agent to perform a Physical-to-Virtual (P2V) conversion process.
Take advantage of one of the most useful technologies available - virtualization!
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

589 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