Windows 10: Registry: Adding a new file type to HKCR\SystemFileAssociations

Discus and support Registry: Adding a new file type to HKCR\SystemFileAssociations in Windows 10 Support to solve the problem; I want to create a new context menu that is only visible on audio files. Doing this on an extension-by-extension basis is not a solution because I... Discussion in 'Windows 10 Support' started by Flummox, Jun 19, 2019.

  1. Flummox Win User

    Registry: Adding a new file type to HKCR\SystemFileAssociations


    I want to create a new context menu that is only visible on audio files.

    Doing this on an extension-by-extension basis is not a solution because I need the added context menu to be visible when selecting multiple different audio types (i.e. different extensions, such as .wav, .mp3, .flac etc.).

    I can get this to work by creating my new context menu key in HKCR\* but this adds the context menu to every file type (so it appears on non-audio files where the context menu is not wanted).

    I did some digging around in the Registry and found the key HKEY_CLASSES_ROOT\SystemFileAssociations\audio (there's also ones for documents, images and video).

    Adding my new context menu key only to SystemFileAssociations\audio (and nowhere else) works as intended: My context menu shows up on .wav, .mp3, .wma, .aiff, .au, and a few other audio file types, and it remains visible even when selecting across multiple different audio file types in Explorer.

    However, the problem is that the audio file formats over which this works is rather limited. It does not work with .flac, .ogg / .oga, .opus and .wv (which are other audio file types that I want the new context menu to show up on).

    Does anyone know how I can add these file types to the list of extensions that are already recognized as audio files? (i.e in the same way that .mp3, .aiff and .wav files etc. are being handled)

    I've checked the PerceivedType for my audio files, but that makes no difference. I then saw some suspiciously familiar extensions lists in Windows Media Player's file association and MIME type lists (which matched the extensions that had responded to my new context menu) but adding new file types to WMPs extensions and registered MIME types didn't work either.

    I even tried (in a clean OS in a virtual machine) installing a codec pack so that pretty much every audio file type could play back in WMP, then I associated all those audio file types with WMP by default to see if that would make these extra audio file types become recognized as belong to the group 'audio', but that didn't work either.

    Interestingly, my context menu also got added to .mid files even though they are not audio files (in the sense that they don't actually contain any audio). So there is some kind of music / audio classification of extensions going on somewhere, regardless of the actual content of the file. It's by designation rather than by content.

    I have seen other posts on the net mention similar problems with other file association groups (such as 'images' and 'documents' where certain basic files (such as .bmp in the case of 'images') respond and work as intended, but other file types from the same category do not.

    What's the best way to achieve the outcome I'm looking for (either by being able to add more audio file types to the existing list of files currently being affected by the 'audio' key in SystemFileAssociations, or perhaps there is another key elsewhere (that already exists, or which could be created) that allows a context menu to be visible on the specified types even when more than one of the specified file types has been selected.

    :)
     
    Flummox, Jun 19, 2019
    #1
  2. DCnewbie Win User

    Are my Registry Files all legitimate programs?

    Isn't there a web tool whereby I can check if programs listed in my REGISTRY FILES are legitimate programs?
     
    DCnewbie, Jun 19, 2019
    #2
  3. Change Default Image Editor

    Hey Ramesh, since we've got you here, can you tell us where Windows stores the list of file extensions it treats as "images" and that are affected by HKCR\SystemFileAssociations\image\ ?
     
    RobertJWin, Jun 19, 2019
    #3
  4. Registry: Adding a new file type to HKCR\SystemFileAssociations

    Custom Registry Files

    Techpowerup nor myself are in no way responsible for anything that may or may not go wrong with a users system if s/he decides to use these registry hacks. You are doing so at your own risk and agree to release me and or Techpowerup from fault that may occur. If a user decides to use these registry hacks, you must BACKUP YOUR REGISTRY FIRST!

    To backup your registry click Start>Run (or use windows search from the start menu) and type "Regedit" without quotes. Click on File>Export. Name the file whatever you wish and save it somewhere that is NOT on your Windows drive.

    Contained inside the attached RAR file you will find 13 registry hacks. They are:

    • Copy To - Adds Copy To to the right click context menu
    • Move To - Adds Move To to the right click context menu
    • Enable Balloon Notification - Self explanatory
    • Disable Balloon Notification - Self explanatory
    • Extended UI Hover Time - Despite its name it decreases the time it takes to preview a thumbnail
    • Instant Aero Peek - Self explanatory
    • Last Active Click - If you have multiple of the same program open, click the icon and it will bring to you your last open window of that program. Click again and you can cycle through.
    • Menu Show Delay - Decreases the time it takes for the start menu to appear
    • Move Kernel - Moves the Windows Kernel from the HDD to memory increasing system performance slightly.
    • Stop Snap - Disables the Windows 7 Snap feature (when you drag a window to the corner of the screen)
    • Stop Space Checking - Keeps Windows from constantly checking disk space
    • USB Write Protect - Disallows Windows to write to any USB device but will still allow the device to be read from.
    • Wait To Kill Service Timeout - Decreases the time it takes windows to wait for a program to fully close before shutting down.
    I have tested all but Move Kernel, Stop Space Checking, and USB Write Protect and they all work 100%. If you open up the registry file I provide, it will give you more information on where the key specifically is along with some information on what it does. Obviously the Aero Peek and Hover time hacks will not work on versions of Windows earlier than 7.

    I got the Copy To and Move to from How To Geek and the rest I just Googled and turned into a registry file for convenience. Not sure how many of you guys will need this but i found some new registry hacks that Ill be using now while doing this so I thought I would share with the community. Make me good for something. *Roll Eyes Registry: Adding a new file type to HKCR\SystemFileAssociations :rolleyes:

    If I come across more Ill edit this post and upload the new zip. Feel free as well to tell us any registry hacks you use and I could even add them to the list. *Smile Registry: Adding a new file type to HKCR\SystemFileAssociations :)

    Enjoy!
     
    CrAsHnBuRnXp, Jun 19, 2019
    #4
Thema:

Registry: Adding a new file type to HKCR\SystemFileAssociations

Loading...
  1. Registry: Adding a new file type to HKCR\SystemFileAssociations - Similar Threads - Registry Adding file

  2. Adding a file type for file association with IDLE

    in Windows 10 Gaming
    Adding a file type for file association with IDLE: How can I add a file type to associate a file type with IDLE from *** Email address is removed for privacy *** on Windows 11.I wish to associate .py with idle. I cannot find either the program or the file type in the settings panels.Dave...
  3. Adding a file type for file association with IDLE

    in Windows 10 Software and Apps
    Adding a file type for file association with IDLE: How can I add a file type to associate a file type with IDLE from *** Email address is removed for privacy *** on Windows 11.I wish to associate .py with idle. I cannot find either the program or the file type in the settings panels.Dave...
  4. Is It safe to create a new registry file.

    in Windows 10 Gaming
    Is It safe to create a new registry file.: Hi, I have recently added a file to registry for providing transparency to taskbar, but I am having a doubt, that, is creating a new registry file safe for my system or it can cause damage.Please share your thoughts.Thank you....
  5. The .xlsx file type is missing from the file types list and cannot be added

    in Windows 10 Gaming
    The .xlsx file type is missing from the file types list and cannot be added: Due to the subject the xlsx files are saved and treated as Internet Explorer files !! and the ways to open them in Excel is either by choosing 'Open With' and select Excel or open Excel first and then open the file through 'File Open'. If I click on the file it tries to open...
  6. The .xlsx file type is missing from the file types list and cannot be added

    in Windows 10 Software and Apps
    The .xlsx file type is missing from the file types list and cannot be added: Due to the subject the xlsx files are saved and treated as Internet Explorer files !! and the ways to open them in Excel is either by choosing 'Open With' and select Excel or open Excel first and then open the file through 'File Open'. If I click on the file it tries to open...
  7. Adding NEW file types to context menu

    in Windows 10 Support
    Adding NEW file types to context menu: Hello, I would like to add file type .FC7 to my right click (context) NEW menu so I can open a new FastCad drawing in any folder. I found one link that showed how to do this, but it did not work for me. Basically it added a key under the HK_CLASSES_ROOT tree, adding a...
  8. Trouble adding new files

    in Windows 10 Network and Sharing
    Trouble adding new files: Every time I try to add a new file folder by right clicking the mouse and selecting new file the wheel of death starts and the computer freezes up or goes blank and returns to the main screen with no results. Any ideas on what to do would be appreciated....
  9. file type/registry error

    in Windows 10 Customization
    file type/registry error: I tried to fix "exe" files so that I can download something on my pc. I believe I typed in the wrong information and now I can't even access registry editor. Is there any way to fix this problem so that I may go back into registry editor and erase what I did wrong or set it...
  10. Adding file associations using registry entries?

    in Windows 10 Support
    Adding file associations using registry entries?: I've recently upgraded from Windows XP to 10 (64-bit), and the .reg files I've crafted for adding custom file associations don't work anymore. What's changed? How do I make them work again? Sample: Code: Windows Registry Editor Version 5.00...