Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

HowTo Remove Context Menu Handler with powershell

$
0
0

Hi,

I'm trying to remove some Context Menu Items with a Powershell script. Therfore I'd like to delete the following registry Key:

HKLM\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\7-Zip

Remove-Item -Path "HKLM:\Software\Classes\*\shellex\ContextMenuHandlers\7-Zip" doesn't work at all. I think that the "*" recognized as a wild card and will be implemented accordingly instead of yust a Registry Key with Name "*".

Does someone has experience with this kind problem? Is there a way to  temporary disable the Wildcard Function?

Thanks for Your Help,

Patrick



Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>