Does it work if you remove the trailing "\"?
Remove-GPRegistryValue not working?
Hi,
I have an additional administrative Template registry setting named "EnableFIDODeviceLogon".
I can get more Details with Get-GPRegistryValue:
If I remove this setting via Remove-GPRegistryValue, Powershell indicates that this value cannot be found. How can I delete the Value?
I can also modify the value with Set-GPRegistryValue. But not remove it completely.
How can I delete the entry completely?
DC OS Version is Server 2016.
2 answers
Sort by: Most helpful
-
-
Ian Xue (Shanghai Wicresoft Co., Ltd.) 36,336 Reputation points Microsoft Vendor
2020-10-16T07:43:49.123+00:00 Hi,
I've tested Remove-GPRegistryValue and it works. You have to remove the last backslash \ as Rich said.
See examples here
https://learn.microsoft.com/en-us/powershell/module/grouppolicy/remove-gpregistryvalue?view=win10-psBest Regards,
Ian============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.