9 Replies Latest reply on Jul 1, 2020 12:12 AM by ijdemes

    DEM Not Applying Default Apps

    JackBack42 Lurker

      Hello there,

       

      We have a new win 10 1909 environment we're trying to roll out and we're having extreme issues with DEM not applying/saving default apps and FTAs correctly and we cannot figure out why.

       

      I have the Default Apps and FTAs flex engine enabled with a predefined forced setting to set Internet Explorer as default browser and to set adobe reader to open PDFs.

       

      It seems to save and apply the adobe reader FTA, and it actually seems to map .http and .https files to Internet Explorer, but it only makes IE the default browser about 40-50% of the time, so when we click on a link inside of outlook it opens up in edge.

       

      I worked with support and they had me drop the .xml file in the file type association page on DEM as well and like I said that part seems to be applying correctly just not for the default application part.

       

      I'll attach several pictures and a log of my latest login to see if that will help any.

       

      I do appreciate it!

       

      Edit: I apologize, I forgot to list that we are using DEM version 9.11 as well.

        • 1. Re: DEM Not Applying Default Apps
          ijdemes Expert
          vExpert

          Hi JackBack42,

           

          As far as I can see, you have used the same approach that I have succesfully used in my recent DEM projects. Just to double check and summarize these steps.

           

          - Log on with a user

          - Configure the default apps in Settings/Control Panel

          - Logoff the user (to save the default apps/fta's in the ZIP file)

          - Use the ZIP file as a predefined setting (default (runned once) or forced, depending on your requirements)

          - Configure FTA's in User Environment

          - Have the Default Apps & FTA's config file present (based on 9.11 built-in template that contains the magic for saving/restoring default apps and fta's)

           

          Do I assume the above correctly?

           

          Do you need the (legacy) Edge browser? Otherwise, I normally just remove it from the system/golden image.

          • 2. Re: DEM Not Applying Default Apps
            JackBack42 Lurker

            Hello ijdemes,

             

            That is correct, I followed those steps to a T to get this going, which is weird, because like I said FTA's seem to apply but the default browser itself doesn't change so the end result is:

             

            - .html files on my desktop are able to open up via IE

             

            - links in applications such as Outlook are still opening up in Edge

             

            We do not need Edge, the company actually paid someone to make the image before I got here but I have been toying around the idea of just recreating the image from scratch as I'm not sure what all they have done to it.

            • 3. Re: DEM Not Applying Default Apps
              ijdemes Expert
              vExpert

              Starting from scratch is not a bad idea. That way you at least have a feeling of grip on the golden image.

               

              I have to say that I have no customers that (want to) use the "old" MS Edge browser. Therefore, I always remove it from the golden image. The latter is probably the reason I don't see the same behavior as you do.

               

              Maybe Edge hijacks some FTA's after user logon. This can be checked using the assoc and ftype commands in a command prompt (CMD).

               

              The steps for configuring FTA's I mentioned earlier always work up to now. But without having Edge in the golden image.

              2 people found this helpful
              • 4. Re: DEM Not Applying Default Apps
                JackBack42 Lurker

                That definitely makes sense and is the path that we're going to take, do most people on here recommend following the techzone optimization guide generally or what is the most popular?

                 

                I really do appreciate all the help!

                • 5. Re: DEM Not Applying Default Apps
                  ijdemes Expert
                  vExpert

                  Following the TechZone optimizations is definitely recommended. Any custom optimizations I need (for applications/services/registry/etc.) are added to OSOT in my case for single point of configuration/administration.

                   

                  Check using the SysInternals Autoruns (http://live.sysinternals.com/) utility which processes/applications are automatically executed after user logon and evaluate which processes/applications can be removed from automatic execution and add those to OSOT.

                   

                  I also remove all Active Setup keys that have a stub path configured. This speeds up the logon. Rarely an application needs those keys in my experience. If you don't want to have those keys removed, at least make sure you have the Active Setup config file template configured in DEM to save those keys after the first user logon. This prevents them from being executed every time a user logs on.

                   

                  Depending on your AV application/vendor, doing a full scan may flag (all) the files in the golden image, which prevents the files from being scanned again when the image is cloned.

                  2 people found this helpful
                  • 6. Re: DEM Not Applying Default Apps
                    JackBack42 Lurker

                    Awesome that helps tremendously thank you again!

                     

                    One last question and I promise I'll leave you alone, which method did you use to remove the old edge? I have tried the powershell remove-appxpackage as well as renaming the files in systemapps but neither seem to be working correctly for me, IDK if maybe Microsoft has updating something recently making it harder to remove.

                     

                    Again I do appreciate it!

                    • 7. Re: DEM Not Applying Default Apps
                      ijdemes Expert
                      vExpert

                      Hi JackBack42,

                       

                      No worries, we're here to help.

                       

                      I use the following PoSh code to remove (a.k.a. rename) MS Edge:

                       

                      Start-Process "taskkill" -ArgumentList "/f /im MicrosoftEdge.exe" -Wait -NoNewWindow

                      Rename-Item C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe C:\Windows\SystemApps\__RENAMED__Microsoft.MicrosoftEdge_8wekyb3d8bbwe -Force

                       

                      (The Rename-Item line ends with -Force and is a single line)

                       

                      I used the above code with Windows 10 v1809.

                      • 8. Re: DEM Not Applying Default Apps
                        pieterheijms Novice

                        Hi Ivan,

                         

                        - Log on with a user

                        - Configure the default apps in Settings/Control Panel

                        - Logoff the user (to save the default apps/fta's in the ZIP file)

                        - Use the ZIP file as a predefined setting (default (runned once) or forced, depending on your requirements)

                        - Configure FTA's in User Environment

                        - Have the Default Apps & FTA's config file present (based on 9.11 built-in template that contains the magic for saving/restoring default apps and fta's)

                         

                        Do you also use the DEM Application Profiler? Or just the steps which you mentioned?

                         

                        Thanks,

                        Pieter

                        • 9. Re: DEM Not Applying Default Apps
                          ijdemes Expert
                          vExpert

                          Hi Pieter,

                           

                          I do not use the Application Profiler in this specific case, just the steps provided. The last line "Have the Default Apps & FTA's config file present" is a requirement that needs to be in place before starting step 1 (Log on with a user).

                           

                          For most applications (settings) I do recommend using the Application Profiler with a fallback to Regshot and/or Procmon.