Free equivalent of Windows "srvany" program for turning any Windows program or script into a service
C Makefile M4 Batchfile
Latest commit 8e07b4d Aug 9, 2016 @rvka rvka add a tool to wait for PnP installations to complete
Windows PnP manager may start driver installations asynchronously upon
receiving notifications from kernel mode PnP system about discovery of
new devices.

Those installations may interact destructively with other
installation/uninstallation activities, either initiated by a user or
started from another service.

Add a tool which can wait until the installations initiated by the PnP
manager are finished (or the timeout elapses), which allows to serialize
them with user- or script- initiated ones.

A foreseen user of this tool is libguestfs/v2v.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>

README

When you need to run some program or batch script as a Windows
service, you either have to modify the program so it calls the Windows
service APIs (impossible for a batch script), or you use "SrvAny" to
turn the program/script into a service.

Unfortunately SrvAny is a proprietary program.  This is a free
software equivalent.

For more information, see:

http://rwmj.wordpress.com/2010/04/29/tip-install-a-service-in-a-windows-vm/#content

Please send patches etc to the virt-tools mailing list:

http://www.redhat.com/mailman/listinfo/virt-tools-list

This program was originally written by Yuval Kashtan as part of the
Qumranet / RHEV-M / oVirt project, and released as free software by
Red Hat.

-- Richard W.M. Jones, 2014-07-08 --