Command line for removing registry keys

tistou77

Member
Hello

I would like to remove all "Print" entries in the context menu (right click)
Is there a command line to delete all at once ?

I have already found these entries for notepad

HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\Print
HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\PrintTo

Thanks
 
Syntax for removing subkeys:
Code:
[-HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\Print]
[-HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\PrintTo]

W10/11 desktop apps are UWP, which means you can't delete these keys until AFTER your account is created. Otherwise, they will reinstall the same context menu keys.
 
Syntax for removing subkeys:
Code:
[-HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\Print]
[-HKEY_CLASSES_ROOT\AppX4ztfk9wxr86nxmzzq47px0nh0e58b8fw\Shell\PrintTo]

W10/11 desktop apps are UWP, which means you can't delete these keys until AFTER your account is created. Otherwise, they will reinstall the same context menu keys.
I was able to delete these registry keys in Live, and they did not reappear ;)

Ok thanks I'll try
 
You also need to block WU from updating Store (UWP) apps, because Notepad is one. Otherwise a new version will reinstall menus.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore]
"AutoDownload"=dword:00000002
 
Back
Top