I want to delete all the subkeys of this path
HKEY_CURRENT_USERSoftwareMicrosoftWorkspacesFeeds
Here I have {E3CA8511-C9A2-4B55-A008-E2823464A6C0}
which needs to be deleted.
But I could have something else as a name
When I type:
Get-Item -Path "HKCU:SoftwareMicrosoftWorkspacesFeeds*"
or the following
Remove-Item -Path "HKCU:SoftwareMicrosoftWorkspacesFeeds*" -Recurse
I don’t get anything in return. It seems like it’s not existent from powershell’s point of view.
And when I type:
Remove-Item -Path "HKCU:SoftwareMicrosoftWorkspacesFeeds{E3CA8511-C9A2-4B55-A008-E2823464A6C0}"
It says that the path doesn’t exist, although it actually exists.
I’ve searched this article:
and also this article about recreating the key, and it actually recreates the key in powershell but still doesn’t delete it in the registery:
Here the example:
New-Item -Path "HKCU:SoftwareMicrosoftWorkspacesFeeds{E3CA8511-C9A2-4B55-A008-E2823464A6C0}" -Force
Remove-Item -Path "HKEY_CURRENT_USERSoftwareMicrosoftWorkspacesFeeds{E3CA8511-C9A2-4B55-A008-E2823464A6C0}" -Recurse
Any ideas why this is happening and how to solve it?