Powershell to delete a registry key?

Can someone help me with a powershell script that will take ownership and delete the following registry key?


This would end a multi-year headache.



I’m not well-versed in PowerShell, but if you find the script I can help with how to deploy it via BigFix.

I’m guessing you’ve already tried https://developer.bigfix.com/action-script/reference/registry/regdelete.html and/or the method described in the Notes section to delete non-empty registry keys (and all sub-keys)?

Given that BigFix runs as LOCAL SYSTEM on Windows, I wouldn’t expect taking ownership of the key would be a requirement?

Thanks, I think the Trusted Installer has lost ownership and I’m trying to get control of this key again.