Take a look at dada's perl lab. He has done alot of work with Perl and Win32. On his site he has a script that lets you remotely control win32 services with a cgi interface. Maybe it's what you need or maybe it's just a good example of how to control services with perl.