Windows 8 and 8.1 Forums


Win8 File Association Type

  1. #11


    Posts : 35
    windows 8


    hello Vadikan ,

    That's what I want. Thanks a lot. But I need time to digest and test. But I'm sure yours is the right way.

    Actually , I don't install Win8 singlely in any computer. I preinstall (Sysprep) Win8 in Audit Mode in my own computer and use ADK to generate an unattend.xml which is <CopyProfile=True> . This Win8 I've installed all the programs I want , when everything ready , I sysprep the Win8 with unattend.xml. At this time I use Acronis to back it up as an recovery image for any computer.

    Even I've pre-modified all the program's File Association , unfortunately when deploy the image to any computer , Microsoft will reset all the File Association to default. So I've to redefine all the File Association myself manually. I takes time and effort to watch very carefully to the monitor , as I don't want to miss any files relatives.

    Should I modify the File Association in the Win8 Audit Mode ? And in the Win8 Deploy , how can I avoid Microsoft reset File Association ?

    Thanks a lot

      My System SpecsSystem Spec

  2. #12


    Posts : 35
    windows 8


    hello Vadikan ,

    That's what I want. Thanks.

    Actually I don't install Win8 individually. I install Win8 in Preinstall Audit Mode in my own computer. I've modify the File Association at that time. Then sysprep with <Copy Profile=True> in unattended.xml. When deploy to other computer , Microsoft will reset all the File Association to default.

    Should I use dism in Preinstall Audit Mode or after Syspre deployment ?

    Thanks.
      My System SpecsSystem Spec

  3. #13


    Posts : 480
    Windows 8 Pro x64


    Hi allgames71,

    I'm pretty sure you can do it in audit mode (configure -> export -> import) as well as after capturing the image, as described above. sysprep and CopyProfile is certainly something to consider, since it essentially updates the Default account. But I imagine MSFT has taken it into account.

    Quote Originally Posted by allgames71 View Post
    Should I use dism in Preinstall Audit Mode or after Syspre deployment ?

    I don't think it matters. Profile copy occurs at deployment time anyway (specialize). Technically, when you use sysprep with the answer file the latter gets cached. But I prefer to use the answer file with CopyProfile at deployment time to mitigate possible issues.

    Give it a whirl and post the results please. I'm sure it shouldn't be a problem, if you have a sysprepped image and VM at hand.
      My System SpecsSystem Spec

  4. #14


    Posts : 35
    windows 8


    hello Vadikan ,

    I've tried "dism /online /Export-DefaultAppAssociations:C:\temp\AppAssoc.xml" and
    "dism /online /Import-DefaultAppAssociations:C:\temp\AppAssoc.xml" whcih apply the other users created thereafter.

    But the File Association remain unchanged.
      My System SpecsSystem Spec

  5. #15


    Posts : 480
    Windows 8 Pro x64


    Hey!

    I tested it in December, when I wrote a blog post about the feature, and it worked for me back then. Please test as follows:

    1. In the Control Panel, make Windows Photo Viewer default for all file types (instead of the modern viewer).
    2. Export, import.
    3. Create a new user, open any JPEG or PNG.

    What program opens it? Attach your XML, if it's modern viewer.
      My System SpecsSystem Spec

  6. #16


    Posts : 35
    windows 8


    hello Vadikan ,

    I've no doubt with your test in December. And I know it works.

    But did you find that in the "Set your default programs" , there would only have Windows's own program , can also have WinRAR , Google Chrome , Firefox. But the thing is , after I've installed Faststone Image Viewer and set it to default program to open pictures like Jpg , Bmp ...... , also set it picture File Association , it would never appear in the list of "Set your default programs". When you try to open a Jpg photo with double click , it also will be opened with Metro program.

    So, the point is , if the program I've installed would appear in the "Set your default program" , I can handle it with some pictures association. But if it's not appear there , nothing can be done !! And the only thing you can do is go to the "Nake a file type always open in a specific program" , then to change one picture format by the other , until you change all the pictures format that should be open by Faststone Image Viewer , Jpg , Gif , Bmp , Tif , Tiff ........... That takes a lot of time !!

    Besides , File Associations have to be changed is not only for pictures , there's still a lot of other ext to change like rm , rmvb , m2ts ...

    The thing is how can I add the installed program to "Set your default program". Then I can do something.

    Thanks
      My System SpecsSystem Spec

  7. #17


    Posts : 480
    Windows 8 Pro x64


    allgames71, I hear you. Let's break down the problem in two pieces.

    1. DISM association method
    I took JPEG/PNG and two Windows viewers as an example. The method is designed to work with all programs that you find in "Set your default programs". If the program doesn't register there, that brings us to the point 2.

    2. File type association model
    It has changed in Windows 8. This means that when the program isn't on the list of default programs, it's incompatible with Windows 8. And it's not just words (see the my point in bold in the referenced post). Therefore, there's no supported method to import/export file associations.

    You can do what the program developer should've done: register the program in "Set your default programs". But there's no silver bullet, and you'll have to spend a lot of time on each program. Start here.
      My System SpecsSystem Spec

  8. #18


    Posts : 35
    windows 8


    hello Vadikan ,

    I understand now. Most of application are not registered in "Set your default program". If this is it , I've to return to my start point , to change the File Association in "Make a file type always open in a specific program" one by one each time. I doesn't matter.

    Thanks for caring all along. Thanks
      My System SpecsSystem Spec

  9. #19


    Posts : 480
    Windows 8 Pro x64


    I'd say that the most popular applications do register in default programs now. When I wrote about this in December, some pretty popular software was not compatible (e.g. Opera browser installer was deceptive in that respect). But developers get the point gradually and the situation improves every day.

    It reminds me the UAC case when it was introduced in Vista. It took developers some time to make their software UAC-compatible, albeit it's far more challenging than register in default programs.

    And you're totally correct that the only good way to go is to associate programs individually (e.g. in the Control Panel or using Open with), then use the DISM export/import approach.

    I think you can mark the thread is solved now
      My System SpecsSystem Spec

Page 2 of 2 FirstFirst 12
Win8 File Association Type
Related Threads
I work at a company and we just went through an internal network change which required a transfer of my user settings to a new account. Everything seemed fine after the switch but now I can't set my .txt default program. It used to be notepad++. It's now set to "Not selected" and if I change it, it...
Hello 8Forums Community, I'm having file association issues. I've have tried troubleshooting this for hours without any avail. I'm coming here as a last resort....now that I think of it, maybe I should have come here first. On to my issue: I recently lost file association capabilities...
Hi all, First of all, I thank the people who give answers here. I had a lot of ease from it. Keep up the good work:party: My problem: When I try to open a PDF file, I always/still gets the question "How do you want to open this type of file (pdf) ?" I tried the usual ways: + to set...
I recently found many application would not save to correct type. Some software icons would come out to a blank or white block, but those software actually there. For example, realrecorder is running, it would come out a white block on taskbar on bottom. I tried use 'access and program default'...
Solved Change File Type Association? in General Support
On my new Windows 8 machine, every time I put an audio CD into the disk drive, the Power DVD program starts. THis is MOST ANNOYING! I want audio CDs to launch Windows Media Player so that I can rip them to the hard drive. If I go to Control Panel -> Default Programs -> Associate a File Type with a...
file association in General Support
I'm having a pickle with file associations. For example, 7zip has file associations built in to its options, yet it has no effect. I get a perameter error when trying. also, VLC media player won't take over certain file types(AVI) for axample for me either. This is the only problem I've had...
Hi I have accidently changed the default file association for cursor files. Can you recommend a solution please? I am running Windows 8 Steve C
Eight Forums Android App Eight Forums IOS App Follow us on Facebook