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 for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.