Windows: What should I set my Execution Policy to for the Automox Agent to work?
The following settings currently DO allow the Automox Agent to function properly:
Bypass. Nothing is blocked and there are no warnings or prompts.
RemoteSigned. Requires that all scripts and configuration files downloaded from the Internet are signed by a trusted publisher. The default execution policy for Windows server computers.
Unrestricted. Beginning in PowerShell 6.0, this is the default execution policy for non-Windows computers and can't be changed. Loads all configuration files and runs all scripts. If you run an unsigned script that was downloaded from the internet, you're prompted for permission before it runs.
However, these settings do NOT currently allow the Automox Agent to function as expected:
AllSigned. Requires that all scripts and configuration files are signed by a trusted publisher, including scripts written on the local computer.
Restricted. Doesn't load configuration files or run scripts. The default execution policy for Windows client computers.
Undefined. No execution policy is set for the scope. Removes an assigned execution policy from a scope that is not set by a Group Policy. If the execution policy in all scopes is Undefined, the effective execution policy is Restricted.
Run this command to display the current setting:
Get-ExecutionPolicy
Run this command to change this setting. For example:
Set-ExecutionPolicy RemoteSigned