I prefer my version of WMIService()

Using KixForms and 2 ini files(servernames, servicenames & states) it would be a fairly simple procedure.

I suppose, you could populate the registry instead, but ini files are portable
_________________________
How to ask questions the smart way <-----------> Before you ask