How to configure Group Policy "Turn on script execution" for Windows 10 LTSB 2016?

Rafał Łakus 0 Reputation points
2024-05-10T07:52:08.4633333+00:00

Hello!

I am having trouble setting the "Turn on script execution" option in Group Policy -> User Configuration -> Administrative Templates on Windows 10 LTSB 2016. No matter if I choose "Disabled" or "Enabled," it has no effect. When I run Get-ExecutionPolicy -list, the setting shows as "Undefined" for several categories. It works when I set the setting in Group Policy -> Computer Configuration -> Administrative Templates instead.

I have no issues on Windows 7 x64, Windows 10 LTSB 2019, and LTSB 2021 with the "User configuration." Is this a bug in the system? Any help would be greatly appreciated. Thank you.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,868 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,188 questions
{count} votes