PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

PowerRename has two entries in Explorer context menu

Open PaulCoddington opened this issue 3 years ago • 3 comments
trafficstars

Microsoft PowerToys version

0.64.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

PowerRename

Steps to reproduce

Allow PowerToys auto-update to update previous version to v0.64.0.

✔️ Expected Behavior

PowerRename should only appear in each context menu level once.

❌ Actual Behavior

PowerRename appears in the legacy context menu twice.

contextmenu

It appears that when PowerRename is registered with the new Windows 11 context menu, it automatically propagates to the legacy context menu as well.

Problem seems to be resolved by deleting the now redundant legacy context menu registry key: [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\PowerRenameExt]

Other Software

No response

PaulCoddington avatar Nov 04 '22 03:11 PaulCoddington

You just beat me to it. I see this too on my computer. Both work, by the way

LocalJoost avatar Nov 04 '22 05:11 LocalJoost

Same for the Resize Pictures addin. Screenshot 2022-11-04 081431

TheAndyMac avatar Nov 04 '22 08:11 TheAndyMac

same issue here, thought it was caused by a context menu mod I installed, but it happened with that disabled too

brine-egg avatar Nov 08 '22 09:11 brine-egg

Same for the Resize Pictures addin. Screenshot 2022-11-04 081431

You can fix it by deleting all entries of ImageResizer in HKEY_CLASSES_ROOT\SystemFileAssociations
Find it with Ctrl+F

JKilbeyn avatar Feb 22 '23 17:02 JKilbeyn

I did everything listed above but couldn't delete the second entry and so I dug through the registry and found another key that solved the issue for me. Under Computer\HKEY_CLASSES_ROOT\CLSID\ run a find (Ctrl + F) and search for PowerRenameExt and mine personally looked like this HKEY_CLASSES_ROOT\CLSID{0440049F-D1DC-4E46-B27B-98393D79486B}. Delete the entire key (export first in case it doesn't work). There was a subkey titled InprocServer32 which I believe just holds the UID for the com class object but I could be wrong. Regardless it fixed the issue.

image Image of the simplified structure.

here's a command that might delete it assuming the 0440049F... is the same reg delete HKEY_CLASSES_ROOT\CLSID{0440049F-D1DC-4E46-B27B-98393D79486B}

Dgamefinisher avatar Jul 08 '23 19:07 Dgamefinisher

@Dgamefinisher: Thanks, you saved my day! 👍🏼

brain246 avatar Jul 19 '23 15:07 brain246

Update: When updating powertoys to version 0.72.0 power rename may disappear from the windows modern context menu. For anyone who used this fix, upon updating to this version of powertoys, should the issue occur, revert the registry change with the reg file below (remove .txt first). [powerrename_remediation.reg.txt]

(https://github.com/microsoft/PowerToys/files/12252932/powerrename_remediation.reg.txt)

https://github.com/microsoft/PowerToys/issues/27808

Dgamefinisher avatar Aug 03 '23 16:08 Dgamefinisher

/dup #25361

cinnamon-msft avatar Aug 11 '23 17:08 cinnamon-msft

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

I did everything listed above but couldn't delete the second entry and so I dug through the registry and found another key that solved the issue for me. Under Computer\HKEY_CLASSES_ROOT\CLSID\ run a find (Ctrl + F) and search for PowerRenameExt and mine personally looked like this HKEY_CLASSES_ROOT\CLSID{0440049F-D1DC-4E46-B27B-98393D79486B}. Delete the entire key (export first in case it doesn't work). There was a subkey titled InprocServer32 which I believe just holds the UID for the com class object but I could be wrong. Regardless it fixed the issue.

image Image of the simplified structure.

here's a command that might delete it assuming the 0440049F... is the same reg delete HKEY_CLASSES_ROOT\CLSID{0440049F-D1DC-4E46-B27B-98393D79486B}

Also whit recent 0.78 it's present double entries. remove this (after backup) fix the issue.

DjDiabolik avatar Feb 24 '24 03:02 DjDiabolik