http://www.perlmonks.org?node_id=294934

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

Greetings, fellow Monks!

I'm writing a Perl script that will be run as a Service on a Windows machine. This service should be able to install programs on demand and for a specific user. To be able to have the installation program install itself in the right part of the registry and in the right user-directories, I need to run the Windows API-call's LogonAsUser, LoadUserProfile and CreateProcessAsUser.

To LogonAsUser and CreateProcessAsUser, I use the Win32::AdminMisc module, but I also need the LoadUserProfile function.

I want to know if there is any module that provide this functionality "easily", or do I have to do it the hard way using Win32::API?

Thanks for taking the time reading my question.