Highlighted
VMware Employee
VMware Employee

Dynamic Environment Manager 9.10 has been released

We're happy to announce that Dynamic Environment Manager 9.10 has been released, with the following new features:

  • Support for Windows 10 Version 1909
  • Improved roaming of default applications (FTAs and protocols)
    There's a new Windows Common Setting to roam default application configuration:
    pastedImage_0.png
    With this new setting, you no longer need additional scripts and third-party tools to correctly this information.
  • Horizon Smart Policy computer environment settings
    DEM can now apply certain computer policy settings for Horizon:
    pastedImage_5.png
Tags (2)
28 Replies
Highlighted
Contributor
Contributor

Hello DEMdev,

Good added functionality !

Alas, it does not work for me. I have an error message, which I use "Fully Enforced Settings" or "Files and Folders", when creating the "Registry" folder.

Here is my "Default Applications.xml" file :

<?xml version='1.0' encoding='utf-8'?>

<defaultApps>

     <urlAssociations>

          <item name="FTP" progId="ChromeHTML"/>

          <item name="HTTP" progId="ChromeHTML"/>

          <item name="HTTPS" progId="ChromeHTML"/>

          <item name="IRC" progId="ChromeHTML"/>

          <item name="MAILTO" progId="ChromeHTML"/>

          <item name="MMS" progId="ChromeHTML"/>

          <item name="NEWS" progId="ChromeHTML"/>

          <item name="NNTP" progId="ChromeHTML"/>

          <item name="SMS" progId="ChromeHTML"/>

          <item name="SMSTO" progId="ChromeHTML"/>

          <item name="TEL" progId="ChromeHTML"/>

          <item name="URN" progId="ChromeHTML"/>

     </urlAssociations>

<defaultApps>

I have an error message when the file wants to run :

2020-05-14 09:37:19.163 [INFO ] Importing DEM settings 'test.zip' (\\domain.local\UEM\Configuration\general\FlexRepository\Settings\File\test.zip)

2020-05-14 09:37:19.166 [ERROR] Error 0x00000001 loading XML document with default applications configuration

2020-05-14 09:37:19.166 [FATAL] Error importing archive '\\domain.local\UEM\Configuration\general\FlexRepository\Settings\File\test.zip'

2020-05-14 09:37:19.166 [ERROR] Error importing settings ('test.xml')

Or :

2020-05-14 09:37:14.892 [INFO ] Importing fully enforced settings 'Association de protocoles-UEM-PD-#1.zip' (\\domain.local\UEM\Configuration\general\Paramètres communs\Association de protocoles-UEM-PD-#1.zip)

2020-05-14 09:37:14.895 [ERROR] Error 0x00000001 loading XML document with default applications configuration

2020-05-14 09:37:14.895 [FATAL] Error importing archive '\\domain.local\UEM\Configuration\general\Paramètres communs\Association de protocoles-UEM-PD-#1.zip'

Each time, I have a "Registry" folder, with my "Default Applications" file only.

I happened to not have this error message, but the file associations did not work :

2020-05-14 10:16:28.073 [INFO ] Exporting profile using config file 'Association de protocoles.INI' (\\castel-freres.local\UEM\Configuration\general\Paramètres communs\Association de protocoles.INI)

2020-05-14 10:16:28.073 [INFO ] Config file has fully enforced predefined settings -- skipping export

When I go to the Windows control panel, then in "define the program associations", I see that the parameters do not apply:

pastedImage_1.png

I am on Windows Server 2016 with version 9.11 of DEM.

Thanks for your help.

0 Kudos
Highlighted
VMware Employee
VMware Employee

Hi GestInfra,

Can you share that FlexRepository\Settings\File\test.zip file? It's probably related to the character encoding, but that's easier to troubleshoot if I can play with that file Smiley Happy.

0 Kudos
Highlighted
Contributor
Contributor

Hi DEMdev

As you indicate in another message, I modified with Notepad ++ the file "Default Applications.xml". This file was generated by DEM with a test user.

You will find attached the requested file.

0 Kudos
Highlighted
VMware Employee
VMware Employee

Merci, GestInfra!

I was so sure that this was an encoding issue that I completely overlooked the missing '/' at the end of the XML fragment you included in your original post Smiley Happy.

Can you try after changing that <defaultApps> on line 17 to </defaultApps>?

0 Kudos
Highlighted
Contributor
Contributor

Error on my part, the "/" was missing, I hadn't noticed. Sorry DEMdevSmiley Sad

On Google Chrome, most protocols work, except HTTP and HTTPS, as you can see in the screenshot :

pastedImage_2.png

0 Kudos
Highlighted
VMware Employee
VMware Employee

No problem, GestInfra, I'd missed that too, the first time around. I'll see if I can get a better error message from MSXML, as "Error 0x00000001 loading XML document" was not particularly helpful...

As for HTTP/HTTPS, can you try adding the <fileExts> element with the .htm(l) FTAs, as shown in my original post?

0 Kudos
Highlighted
Contributor
Contributor

The error message I had from my original message disappeared when the tag was correctly filled.

I already use "File Type Associations", with the .htm, and many other file extensions for Google Chrome. Adding "<fileExts>" and ".htm" doesn't duplicate what I did ? And what does that change since "HTTP" and HTTPS "is already written ?

My goal is to reduce the "Default Applications.xml" file as much as possible in order to use "File Type Associations" as much as possible.

Like other interlocutors, I would have preferred everything to be in the same interface. Smiley Happy

0 Kudos
Highlighted
VMware Employee
VMware Employee

Hi GestInfra,

I already use "File Type Associations", with the .htm, and many other file extensions for Google Chrome. Adding "<fileExts>" and ".htm" doesn't duplicate what I did ? And what does that change since "HTTP" and HTTPS "is already written ?

Probably that will indeed override those FTA(s), but I'm wondering whether it will work better. As for the second part: to be honest, I do not know. Just suggesting to give it a try to see whether it helps.

Like other interlocutors, I would have preferred everything to be in the same interface. Smiley Happy

Noted, without any promises Smiley Happy

0 Kudos
Highlighted
Contributor
Contributor

I gave it a try, but HTTP and HTTPS still doesn't work.

On your side, it works without problem?

With Windows file associations, this works without problems. When DEM will push "Default Applications.xml", and the Windows file association is already done its work, HTTP and HTTPS become without associated program.

Suddenly, this window appears to choose the browser :

pastedImage_0.png

I tried with a test profile, where the change would have been made manually, on reboot, the problem returns.

Since there are no solutions for now, I will keep my Windows file association for HTTP and HTTPS. Smiley Happy

0 Kudos