|Subject:||strawberry perl for windows installer using user profile for some items rather than global profile|
|Date:||Thu, 26 Sep 2013 09:43:44 -0400|
|To:||bug-Perl-Dist-Strawberry [...] rt.cpan.org|
|From:||Michael Strout <michael.strout [...] clearstructure.com>|
Hi all, I discovered an issue with the strawberry perl for windows installer recently when I tried to run a script via the windows task manager. I had installed perl when logged in as myself and had configured the scheduled task to run as the job user for the server. After a bit of troubleshooting, even when the job user had the same credentials, group membership, and user rights assignments, the job would fail with 0x2 return code from the task scheduler when running under the job user, but would work fine when run under my user (whether I was logged in or not). At the suggestion of Mr. Kindle in response to my post in the Spiceworks community here:I logged in as the job user and used the repair option in the perl installer. This was what was ultimately necessary for the script to be run in this fashion under that user. This suggests that the installer is putting some of its items/registry entries/whatever in the logged in user's profile when it should be putting them in the global profile that all users can access. Operating system = Microsoft Windows server 2008 R2 SP1 64 bit Network environment = workgroup/isolated Perl installer = strawberry-perl-188.8.131.52-64bit.msi modules required for the script run that were not included in the installer included Email::MIME and Net::SSLGlue modules which were installed via cpan Scheduled task in windows pointed directly at the script and was configured to run whether the user was logged in or not and with highest privileges. Sincerely, - *Michael Everett Strout* -- - CONFIDENTIALITY NOTICE - This e-mail message from ClearStructure Financial Technology, LLC is intended only for the individual or entity to which it is addressed. This e-mail may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this e-mail by accident, please notify the sender immediately and destroy this e-mail and all copies of it. We take steps to protect against viruses but advise you to carry out your own checks and precautions as we accept no liability for any which remain. We may monitor emails sent to and from our server(s) to ensure regulatory compliance to protect our clients and business.