Home > database >  What is the earliest ADM (ADOM) templates version with the 'ByPass' option for the PowerSh
What is the earliest ADM (ADOM) templates version with the 'ByPass' option for the PowerSh

Time:06-14

Our client's Active Directory domain still only has 2008 templates while running servers all the way up to Windows 2022 (DCs at 2016)enter image description here

These are the only OPTIONS available in 2008 templates (no 'ByPass' there): enter image description here

..but we need 'Bypass"

Set-ExecutionPolicy Bypass

What is the earliest ADM (ADOM) templates version with the 'ByPass' option for the PowerShell 'Execution Policy? If they apply the 2022 ADM templates is that back compatible to Windows 2012R2? I think 2016 should be good enough for now, until all the 2012R2 are rotated out; what do you all think?

CodePudding user response:

No support for Bypass directly in the ADMX other than to edit the registry Using GPO Preferences>Windows Settings>Registry Add/Edit an REG_SZ entry to the registry in the GPO of Bypass HKLM>Software>Microsoft>PowerShell>1>ShellIds>Microsoft.PowerShell>Executionpolicy

enter image description here

enter image description here

  • Related