none
Use group policy to change open with file associations S2012

    Question

  • I am trying to setup default program for different types for extensions like pdf, .docx using GPO.
    Created a GPO, Linked that GPO to the relevant server. 

    I found the instructions from:
    http://www.grouppolicy.biz/2011/09/how-to-use-group-policy-to-change-open-with-file-associations/

    When I login as a new user from that server where GPO has been applied default file type extension is still not working, i am not sure what i am doing wrong here. Can someone help?
    or suggest me a better way of doing this. 

    Update: I have uploaded the GPUpdate report here :
    http://www.megafileupload.com/6vqt/GPReport.html


    • Edited by JatinGupta Thursday, April 14, 2016 1:42 AM Added more information
    Thursday, April 14, 2016 12:10 AM

All replies

  • Hi JatinGupta,

    Would you run GPresult /h <filepath> and take a screen shot to us for further research?

    Best Regards,

    Jay


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, April 14, 2016 4:25 AM
    Moderator
  • http://www.megafileupload.com/j6co/GPresult.html
    Thursday, April 14, 2016 8:32 PM
  • http://www.megafileupload.com/j6co/GPresult.html

    Saturday, April 16, 2016 9:02 AM
  • It looks ok, assuming this is applying to a 64bit Windows machine, which has the specified 32bit program installed?
    Which OS is the client machine? Win7, or ??

    Control Panel Settings
    Folder Options
    Open With (Extension: csv, Program: C:\Program Files (x86)\LibreOffice 5\program\scalc.exe)
    The following settings have applied to this object. Within this category, settings nearest the top of the report are the prevailing settings when resolving conflicts.
    csv
    Winning GPO Defaults App
    Result: Success
    General
    Action Update
    Properties
    File Extension csv
    Associated Program C:\Program Files (x86)\LibreOffice 5\program\scalc.exe
    Set as default Enabled


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    Saturday, April 16, 2016 10:15 AM
  • It is installed on RDServer 2012 Std R2. So weird that it says applied successfully but when i try to open any of the file type related to this policy it ask me to choose other program mmm....
    Sunday, April 17, 2016 4:07 AM
  • Hmm, WS2012R2...

    check on the server, by use of the cmd-line tools: "assoc" and "ftype" - what do those reveal?

    example: CMD

    Microsoft Windows [Version 10.0.10586]
    (c) 2015 Microsoft Corporation. All rights reserved.
    C:\Users\Test>assoc .csv
    .csv=Excel.CSV
    C:\Users\Test>ftype Excel.CSV
    Excel.CSV="C:\Program Files (x86)\Microsoft Office\Office16\EXCEL.EXE" /dde
    C:\Users\Test>


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    Sunday, April 17, 2016 7:09 AM
  •  
    This only works for extensions that are not registered already. Starting
    with Win8, the user himself has a "deny" ACL for "write value" on
    fileexts\.xyz\UserChoice - I don't know why...
     
    Monday, April 18, 2016 8:41 AM
  • result attached

    http://www.megafileupload.com/6xw0/docx.JPG

    http://www.megafileupload.com/6xw1/jpg.JPG

    Hmm, WS2012R2...

    check on the server, by use of the cmd-line tools: "assoc" and "ftype" - what do those reveal?

    example: CMD

    Microsoft Windows [Version 10.0.10586]
    (c) 2015 Microsoft Corporation. All rights reserved.
    C:\Users\Test>assoc .csv
    .csv=Excel.CSV
    C:\Users\Test>ftype Excel.CSV
    Excel.CSV="C:\Program Files (x86)\Microsoft Office\Office16\EXCEL.EXE" /dde
    C:\Users\Test>


    Don [doesn't work for MSFT, and they're probably glad about that ;]


    Tuesday, April 19, 2016 4:55 AM
  • result attached

    http://www.megafileupload.com/6xw0/docx.JPG

    http://www.megafileupload.com/6xw1/jpg.JPG

    can't dload those files, not sure why, can you put them in your onedrive and share the link here?

    sdrv.ms


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    Tuesday, April 19, 2016 6:47 AM