Unable to update local group policy status to “Not Configured” in Powershell

With powershell , by updating corresponding registry keys we can toggle the local gpo status to “Enabled” and “disabled” , but i have a specific requirement to make sure that certain local gpos are set to “Not configured” . Tried deleting corresponding registry keys but didn’t help .

Is there any way to achieve this in powershell ?

Nothing straight forward with PowerShell to set it to Not Configured. You could try using LGPO.exe for this.

https://techcommunity.microsoft.com/t5/microsoft-security-baselines/lgpo-exe-local-group-policy-object-utility-v1-0/ba-p/701045