Skip to content

Instantly share code, notes, and snippets.

@twobob
Created October 7, 2024 17:41
Show Gist options
  • Save twobob/fb3fa5616513468094a23054d0e06f27 to your computer and use it in GitHub Desktop.
Save twobob/fb3fa5616513468094a23054d0e06f27 to your computer and use it in GitHub Desktop.
enable WAV file preview in the Windows 11 sidebar by associating WAV files with a specific shell extension handler and defining the preview handler in the Windows registry
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.wav\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers]
"{031EE060-67BC-460d-8847-E4A7C5E45A27}"=-
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.wav\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{031EE060-67BC-460d-8847-E4A7C5E45A27}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers]
"{031EE060-67BC-460d-8847-E4A7C5E45A27}"="Windows Media Player Rich Preview Handler"
@twobob
Copy link
Author

twobob commented Oct 23, 2024

For mp3:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.mp3\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{031EE060-67BC-460d-8847-E4A7C5E45A27}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PreviewHandlers]
"{031EE060-67BC-460d-8847-E4A7C5E45A27}"="Windows Media Player Rich Preview Handler"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment