Following a vulnerability test recommendation, I enabled the Powershell execution policy on a Windows 2012 server that had had Automox running fine for ages. Now Automox can no longer communicate with the server and it seems this is because the Powershell scripts it tries to run are being stopped by the execution policy. So I disabled the execution policy but this hasn’t resolved the issue. running a Get-ExecutionPolicy - List command shows that at the machine level, the policy is still set to require signed scripts. However, in the local group policy editor and in the registry, the policy has been disabled.
I need to find a way to set the execution policy to run all local and signed remote scripts, so that I can have Automox running but still secure the server.
Any help will be most welcome! Thanks.