pijush has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!
Usually any windows service run on Local system account. But I want to run it on a user account. I can set it manually from Services utility of windows. How can I set this feature automatically through a perl script?
Any help really appreciated.
Thanks in advance.
Regards
-Pijush
  • Comment on How can I run windows service on a user account?

Replies are listed 'Best First'.
Re: How can I run windows service on a user account?
by tachyon (Chancellor) on Dec 30, 2003 at 13:16 UTC

    You want Dave Roth's Win32::Daemon which does all that and more. You will probably want most of the Win32 libraries on his site +/- a copy of his latest book {plug}

    cheers

    tachyon