Windows 10: How to change file type association in Windows 11 using PowerShell

Discus and support How to change file type association in Windows 11 using PowerShell in Windows 10 Gaming to solve the problem; Basing my question off this link. So, Windows no longer allows the use of ftype, nor assoc, ok. What now? How do I programmatically change the file... Discussion in 'Windows 10 Gaming' started by AbrahamAlaniz, Jul 30, 2022.

  1. How to change file type association in Windows 11 using PowerShell


    Basing my question off this link. So, Windows no longer allows the use of ftype, nor assoc, ok. What now? How do I programmatically change the file type of a program to another?Referencing the link, attempting to do what the OP explains, there is no key matching "UserChoice". Creating it doesn't have an effect on the file type neither.

    :)
     
    AbrahamAlaniz, Jul 30, 2022
    #1

  2. File type / program association

    1. Start globe
    2. Default programs
    3. Associate a file type
    4. Find jpg in the list
    5. Change the default to your desired program
     
    Canadian Tech, Jul 30, 2022
    #2
  3. CherylA Win User
    Restore Default File Type Associations in Windows 10  


    Not to pester you, but it is inconvenient to "open with" every single time, and I remain quite perplexed why every other possible file extension appears to be listed in "Settings/System/Default apps/CHOOSE DEFAULT APPS BY FILE TYPE" but not .zip. It has always been possible prior to Windows 10 to associate ANY file extension with a default program. I'm not sure what you mean by ".zip is not listed by default." How else would one permanently associate a program with a file extension? The link I gave you, provided again below, as well as others I could find - indicates that that other people have .zip listed in their file type listings. Have you checked your listings available at location I've specified above? I have ... .yps, .z, .z96... and no .zip. Do you not see a .zip extension either but see essentially all others? Link: unable to Extract Zip files in Windows 10 - Microsoft Community.

     
    CherylA, Jul 30, 2022
    #3
  4. WilN937 Win User

    How to change file type association in Windows 11 using PowerShell

    How do I associate file types with non Microsoft programs?

    Thank you for your suggestion. I had already reinstalled the program but did not restart. The restart did not change anything but I did learn a few things later.

    • Installation does set the associations for types that are unassigned but it does not change the association for known types at least in many cases.
    • It does not add the new executable to the list of possibilities that File Explorer displays if you click "Open with...". This is not a good thing so I will submit a Feedback.
    • If you select properties for a file you can select change "Opens with:" which will let you browse for a program and it will then change it for all files of that type.
     
    WilN937, Jul 30, 2022
    #4
Thema:

How to change file type association in Windows 11 using PowerShell

Loading...
  1. How to change file type association in Windows 11 using PowerShell - Similar Threads - change file type

  2. File Type Associations on Windows 11 23H2

    in Windows 10 Gaming
    File Type Associations on Windows 11 23H2: HelloFor our product support we would like to associate the file type .log to a special program. Actually a trivial story.Our approach works on Windows 10, but not on Windows 11. This I didn't understand, because underlying the technology has not changed in Windows 11!?As you...
  3. File Type Associations on Windows 11 23H2

    in Windows 10 Software and Apps
    File Type Associations on Windows 11 23H2: HelloFor our product support we would like to associate the file type .log to a special program. Actually a trivial story.Our approach works on Windows 10, but not on Windows 11. This I didn't understand, because underlying the technology has not changed in Windows 11!?As you...
  4. Continuing questions on how to set and change File Type Associations.

    in Windows 10 Gaming
    Continuing questions on how to set and change File Type Associations.: As is well known and many posts cover this setting File Type Associations is suppose to be easy and flexible. But on Windows 10 there are many behaviors that are just baffling to me. I've researched this and tried many techniques, but I'm still unable to really solve a...
  5. Continuing questions on how to set and change File Type Associations.

    in Windows 10 Software and Apps
    Continuing questions on how to set and change File Type Associations.: As is well known and many posts cover this setting File Type Associations is suppose to be easy and flexible. But on Windows 10 there are many behaviors that are just baffling to me. I've researched this and tried many techniques, but I'm still unable to really solve a...
  6. Continuing questions on how to set and change File Type Associations.

    in Windows 10 Customization
    Continuing questions on how to set and change File Type Associations.: As is well known and many posts cover this setting File Type Associations is suppose to be easy and flexible. But on Windows 10 there are many behaviors that are just baffling to me. I've researched this and tried many techniques, but I'm still unable to really solve a...
  7. How to change file type association in Windows 11 using PowerShell

    in Windows 10 Software and Apps
    How to change file type association in Windows 11 using PowerShell: Basing my question off this link. So, Windows no longer allows the use of ftype, nor assoc, ok. What now? How do I programmatically change the file type of a program to another?Referencing the link, attempting to do what the OP explains, there is no key matching "UserChoice"....
  8. How to remove File Type Associations using Registry Editor in Windows 11/10

    in Windows 10 News
    How to remove File Type Associations using Registry Editor in Windows 11/10: [ATTACH]In Windows 11 or Windows 10, you can Configure, Export, Import File Associations and even set or change file associations and extensions using GUI, but there is no option provided to delete an existing file type association. In this post, we will walk you through the...
  9. File type association

    in Windows 10 Customization
    File type association: I accidentally assigned a .laz extension to be opened automatically with Adobe. When I try to go to the default settings to remove the association I only get the option of associating with another app. How can I remove this entirely or restore it back to were I get a prompt...
  10. Cannot change file type associations in Windows 10

    in Windows 10 Customization
    Cannot change file type associations in Windows 10: Last week (09/29/2018) I was screwing around trying to fix a driver issue I was having on my Windows 7 install, long story short I screwed something up and could no longer get the OS to load. So I figured hey if I have to reinstall Windows might as well install 10. So I wiped...