Solved

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

Posted on 2011-09-22
6
317 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
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now