Hello,

I have a job that uses Powershell to exec one of the build's build steps.
The job can run, without problem, on either of two Windows XP slaves.
If I attempt to run the job on a Windows 7 slave, I get the following error:
"File C:\Users\lx00057\AppData\Local\Temp\hudson9076101655905735463.ps1 cannot 
be loaded because the execution of scripts is disabled on this system."

I set the ExecutionPolicy on the problematic Windows 7 machine and am able to 
login directly to the machine and successfully execute Powershell scripts.
I have tried setting the ExecutionPolicy to "RemoteSigned", "Unrestricted", and 
"Bypass".
I have tried; restarting the slave service, restarting the Jenkins server, and 
rebooting the Windows 7 machine.

Thanks in advance for your ideas.


Reply via email to