Solved

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

Posted on 2011-09-22
6
318 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
The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

895 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

12 Experts available now in Live!

Get 1:1 Help Now