VMware Dynamic Environment Manager 2106

Last Modified: Jul 16, 2021 @ 9:57 am

Navigation

As of version 9.9, User Environment Manager (UEM) was renamed to Dynamic Environment Manager (DEM).

This post applies to all Dynamic Environment Manager (aka User Environment Manager) versions including DEM 2106 (aka 10.3), and DEM 9.9 (ESB).

ūüí° = Recently Updated

Change Log

Upgrade

If you are performing a new installation, skip to the Installation Prerequisites section.

When upgrading an existing installation of DEM or UEM, upgrade the FlexEngine on the Horizon Agents first.

From UEM Upgrade 8.7 to 9.2.1 at VMware Communities: The newest FlexEngine (v9.2.1) can still interpret the INI files from v8.7. After your clients (FlexEngine) have been upgraded, you can upgrade the management console, which allow for new options, like elevated privileges and others, which (when enabled) can now be correctly interpreted by the upgraded clients (FlexEngine). After that update the ADMX files.

Installation Prerequisites

Before performing the procedures detailed on this page, make sure you’ve create the DEM File Shares, imported the DEM GPO ADMX templates, created the GPOs for Horizon,¬†and configured the Horizon GPOs for Dynamic Environment Manager.

VMware Tech Zone Antivirus Considerations in a VMware Horizon Environment: exclusions for Horizon View, App Volumes, User Environment Manager, ThinApp

VMware Workspace Tech Zone has an excellent¬†Quick-Start Tutorial for User Environment Manager. It’s around 130 printed pages.

Mandatory Profile

At user logon, DEM restores profile archives on top of a Windows profile, which is typically a local profile, or a mandatory profile.

If your Horizon Agent machines are single-user, non-persistent that reboot at logoff, then local profiles are essentially the same as mandatory.

If your Horizon Agent machines are multi-user machines (e.g. RDSH) that don’t reboot every day, then you might need a process to delete local profiles when the user logs off. Here are some options:

  • Schedule a delprof2.exe script that runs daily.
  • Configure mandatory profiles, which are automatically deleted a logoff.
  • A more advanced option is to add users to the local Guests group, which causes their profile to be deleted at logoff.

If you choose Mandatory profile, then here are some mandatory profile creation instructions:

DEM Console Installation

As of version 9.9, User Environment Manager (UEM) was renamed to Dynamic Environment Manager (DEM).

In Horizon 2006 (aka 8.0), DEM is available in all editions of Horizon. There are two editions of DEM, each with different downloads and different DEM capabilities.

  • Horizon 2006 Enterprise Edition and Horizon 7.13 Enterprise Edition are entitled to DEM Enterprise Edition, which has all features.
  • Horizon 2006 Standard Edition and Horizon 2006 Advanced Edition are entitled to DEM Standard Edition, which is limited primarily to Personalization features. If you are using FSLogix Profile Containers, then you don’t need DEM Standard Edition.

Horizon 7 Enterprise Edition customers can download DEM 2106 Enterprise Edition.

  1. Download Dynamic Environment Manager 2106 Enterprise Edition, Dynamic Environment Manager 2106 Standard Edition, Dynamic Environment Manager 9.9.0 (ESB).

  2. If upgrading, don’t upgrade the DEM Console until all of your DEM Agents have been upgraded.
    • DEM Agent 2106 and DEM Agent 2103 are identical. There’s no need to upgrade DEM Agent 2103 to version 2106.
  3. On your administrator machine, run the downloaded VMware Dynamic Environment Manager 2106 10.3 x64.msi, or VMware Dynamic Environment Manager 9.9 x64.msi.

  4. In the Welcome to the VMware Dynamic Environment Manager Enterprise Setup Wizard page, click Next.
  5. In the End-User License Agreement page, check the box next to I accept the terms and click Next.
  6. In the Destination Folder page, click Next.
  7. In the Choose Setup Type page, click Custom.
  8. In the Custom Setup page, change the selections so that only the console is selected and then click Next.
  9. In the Ready to install VMware Dynamic Environment Manager Enterprise page, click Install.
  10. In the Completed the VMware Dynamic Environment Manager Enterprise Setup Wizard page, click Finish.

Configure Dynamic Environment Manager

Here is a summary of the major Dynamic Environment Manager functionality:

  • Personalization (aka import/export user settings) ‚Äď saves application and Windows settings to a file share. This is the roaming profiles functionality of Dynamic Environment Manager. You configure folders and registry keys that need to be saved. The import/export can happen at logon/logoff or during application launch/exit.
    • Pre-configure application settings ‚Äď configures files and registry keys for specific applications so users don‚Äôt have to do it themselves. Some examples: disable splash screen, default folder save location, database server name, etc.
    • Selfsupport tool ‚Äď users can use this tool to restore their application settings.
    • DEM Standard Edition supports all Personalization features.
  • User Environment ‚Äď configures Windows settings like drive mappings, Explorer settings, printer mappings, etc. This is similar to group policy but offers significantly more options for conditional filtering. Dynamic Environment Manager can configure any registry setting defined in an ADMX file.
    • DEM Standard Edition only has a limited set of User Environment settings (e.g. drive mappings). Most User Environment features require DEM Enterprise Edition.
    • Most settings in DEM are only for users, not computers. DEM 2006 (aka 10.0) and newer support ADMX templates for Computer Settings. In older DEM, use Group Policy to configure Computer Settings.
    • Best practice is to not mix Dynamic Environment Manager and user group policy. Pick one tool. If the same setting is configured in both locations then group policy will win.
    • UEM 9.6 and newer support Windows Server 2019 as an Operating System condition.
  • Horizon Smart Policies – Use Horizon Conditions (e.g. client IP) to control device mappings (e.g. client printing) and PCoIP/Blast Bandwidth Profile.
  • Privilege Elevation (UEM 9.2 and newer) ¬†– allow apps to run as administrator even though user is not an administrator. Installers can also be elevated.

Links:

Initial Configuration (Easy Start)

To perform an initial configuration of Dynamic Environment Manager, do the following:

  1. Launch the DEM Management Console from the Start Menu.
  2. Enter the path to the DEMConfig share, and click OK.
  3. These Settings checkboxes define what is displayed in the management console. Leave it set to the defaults, and click OK.
  4. In the Personalization ribbon, on the far right, click Easy Start.
  5. Select your version of Office, and click OK. Office 2019 and Office 2016 are essentially the same.
  6. Click OK when prompted that configuration items have been successfully installed.
  7. Review the pre-configured settings to make sure they are acceptable. For example, on the ribbon named User Environment, under Shortcuts, Dynamic Environment Manager might create a Wordpad shortcut that says (created by VMware UEM). You can either Disable this item, or delete it.

  8. Go to the ribbon name User Environment. On the left, expand Windows Settings and click Policy Settings. On the right, if there is a setting to Remove Common Program Groups, then click Edit.

    1. Consider adding a condition so it doesn’t apply to administrators.

Common Configurations

  1. To roam the Start Menu in Windows 10 1703 and newer, see VMware 2150422 How to roam Windows 10 Start Menu layout.
    1. Go to the ribbon named Personalization, click a folder, and click Create Config File.
    2. Select Use a Windows Common Setting and click Next.
    3. Select Windows 10 Start Menu – Windows 10 Version 1703 and higher. This option is only available in newer versions of DEM. It should work with Windows Server 2019, but it doesn’t apply to Windows Server 2016, which is actually version 1607.
    4. Enter a file name. DEM will create a .zip file for each user with this name. Click Finish when done.
  2. You can run Triggered Tasks when a session is reconnected, or workstation is unlocked. This is useful for re-evaluating Smart Policies, as detailed below.

    • UEM 9.4 and newer have a new Trigger for All AppStacks Attached.
  3. UEM 9.3 and newer have a setting to store Outlook OST file on App Volumes writable volumes. Go to the ribbon named User Environment. Right-click App Volumes and create a setting. Check the box next to Store Offline Outlook Data File (.ost) on writable volume. Configure other fields as desired. Note: this setting only applies to new Outlook profiles. More info in the YouTube video VMware User Environment Manager Outlook OST on App Volumes User Writable Volume Feature Walkthrough.

Links:

Horizon Smart Policies

Horizon Smart Policies let you control (e.g. disable) Horizon functionality for external users or other conditions.

  1. In UEM 9.0 and newer, go to User Environment > Horizon Smart Policies, and create a policy.
  2. DEM 9.11 has an expanded list of settings configurable using Smart Policies.
  3. UEM 9.8 adds several new Smart Policy Settings, including Drag and drop. See VMware User Environment Management 9.8 Feature Walk-Through at YouTube.
  4. On the Conditions tab, you can use any of the available conditions, including the Horizon Client Property conditions. Note: UEM 9.2 has more conditions (e.g. Active Directory Site Name) than prior versions.

    • To detect external users, select Horizon Client Property > Client Location = External. UAG and Security Server set the session’s location to External.
  5. You can also enter a Horizon Client Property condition that¬†corresponds to the ViewClient_ registry keys.¬†In the Property field, type in a property name (remove¬†ViewClient_¬†from the property name).¬†See VMware Blog Post¬†Enhancing Your VMware Horizon 7 Implementation with Smart Policies. And the 28-page PDF Reviewer’s Guide for View in Horizon 7: Smart Policies, VMware Horizon 7.

  6. UEM 9.1 and newer has Endpoint Platform as a policy condition. Create a Policy, go to the Conditions tab, and select the Endpoint Platform condition. UEM 9.8 adds Chrome to the Platform list.
  7. UEM 9.8 adds Matches Regex to some of the conditions (e.g. Endpoint name and Horizon Client Property > Pool name).

  8. To reapply Horizon Policies when users reconnect to an existing session, go to User Environment > Triggered Tasks, and click Create. Or you can edit one of the existing Triggered Tasks settings.

    1. Change the Trigger to Session Reconnected.
    2. Change the Action to User Environment refresh. Select Horizon Smart Policies, and click Save.

Application Blocking

  1. UEM 9.0 adds an Application Blocking feature. To enable it, go to User Environment > Application Blocking, and click the Global Configuration button.
  2. Check the box to Enable Application Blocking. Specify Conditions where, if true, then App Blocking is enabled. These are the same conditions available in other policies and settings. Click OK.
  3. Then you can create an Application Blocking setting to designate the folders that users can run executables from, or what file hashes are allowed.
  4. You can add folders that allow or block apps. Any executable in these paths will be allowed or blocked. By default, executables in Windows and Program Files (including x86) are allowed.
  5. UEM 9.1 and newer allows File Hashes in addition to File Paths. Set the Type to Hash-based, click Add, browse to an executable, UEM will compute the hash, and add it to the list.
  6. UEM 9.2 and newer supports Publisher-based allow. Set the Type to Publisher-based, click Add, browse to an executable, UEM will read the certificate, and add it to the list. Note: A challenge with hash-bashed and publisher-based rules is that the policy might have to be updated whenever the app is updated.

Privilege Elevation

  1. UEM 9.2 adds a Privilege Elevation feature, which allows executables to run as administrator even if users are not administrators. To enable it, go to User Environment > Privilege Elevation, and click the Global Configuration button.
  2. Check the box to Enable Privilege Elevation. Specify Conditions where, if true, then Privilege Elevation is enabled. These are the same conditions available in other policies and settings.
  3. If you allow installers to be elevated, elevate the installer’s child processes too, check the box. This checkbox only applies to installers. Child processes of elevated applications is enabled when creating a Privilege Elevation¬†configuration setting.
  4. When an application is elevated, the user can be asked to allow it. This prompt is intended to inform the user that the application has more permissions than it should, and thus be careful with this application. Click OK.
  5. Then you can create a Privilege Elevation setting to designate the applications that should be elevated. The applications can be specified by a path, a hash, or a publisher certificate. These are essentially the same options as Application Blocking.
  6. Path-based user-installed application lets you elevate installers. The other three options elevate applications, but not installers.
  7. The child processes checkbox applies to applications.
  8. UEM 9.4 adds Argument-based elevated application, which lets you elevate specific scripts and/or Control Panel applets. For details, see the YouTube video VMware User Environment Manager 9.4 Argument Based Privilege Elevation Feature Walk-through.
  9. DEM Group Policy settings can be enabled to log both Application Blocking and Privilege Elevation to Event Viewer

Computer Settings

DEM Enterprise Edition 2006 and newer can deploy computer-based ADMX settings.

  • Domain Computers must have Read permission to the DEM Config file share.

DEM 2006 and newer Agents (FlexEngines) must be configured to enable computer settings. You can either configure registry settings on each DEM Agent machine, or in DEM Agent 2103 and newer you can use an installer command-line switch. Both are detailed at Perform Installation with Computer Environment Settings Support at VMware Docs.

  • Group Policy Preferences can push these registry keys to the Horizon Agent machines. Or you can manually modify the registry in your master images. If you use group policy, then make sure the group policy applies to your master image. The minimum registry values are Enabled and ConfigFilePath as detailed at Perform Installation with Computer Environment Settings Support at VMware Docs. For the list of additional registry values, see FlexEngine Configuration for Computer Environment Settings at VMware Docs.
  • Command line install looks something like below. The command line installer switch sets the same ConfigFilePath and Enabled registry values as shown above.
    msiexec /i "\\fs01\bin\VMware\DEM\VMware-DEM-Enterprise-2106-10.3-GA\VMware Dynamic Environment Manager Enterprise 2106 10.3 x64.msi" /qn COMPENVCONFIGFILEPATH=\\fs01\DEMConfig\general

Do the following to enable Computer Environment settings in the DEM Console:

  1. In the DEM Management Console, at the right side of any ribbon, click Configure.
  2. At the bottom of the General tab, check the box next to Computer Environment.
  3. A new Computer Environment ribbon is added. DEM 2009 and newer have Startup Tasks and Shutdown Tasks.
  4. With ADMX-based Settings highlighted on the left, click Manage Templates in the ribbon.
  5. At the bottom of the window, click Add Folder.
  6. If you have PolicyDefinitions in your SYSVOL, then browse to that. Or you can point it to C:\Windows\PolicyDefinitions. Click OK.
  7. Click OK after import is successful. DEM copied the .admx files into the DEM Config share. You can run this again any time to update templates.
  8. With ADMX-based Settings selected on the left, click Create in the ribbon.
  9. At the bottom, click Select Categories.
  10. Select a category where your setting is located and click OK.
  11. At the top of the window click Edit Policies.
  12. Only the settings for your chosen categories are shown. Configure these settings the same way you would configure them in group policy. Then close the window.
  13. DEM shows the configured settings.
  14. On the Conditions tab, you can add conditions. Obviously the user-based conditions will not be available for computer-based settings.

Personalization and DEM Templates

VMware has provided a list of Personalization Templates to simplify your configuration.

  1. To save user settings at logoff and restore at logon, you must specify the settings to save.  Easy Start created a bunch of configurations on the Personalization ribbon. Note: DEM 9.11 adds a Find box to this ribbon.
  2. You can see what settings these save. On the tab named Import / Export, on the top right, click Manage, and then click Expand.

    1. Click Yes to expand it.

    2. After reviewing the config, click a different Personalization setting, and then click No to not save your changes.
  3. To save more profile settings at logoff, on the ribbon named Personalization, select a folder (or create a new folder), and then click Create Config File.
  4. A wizard appears. You can use one of the built-in Windows Common Setting or Application Templates. Or you can create your own.


    • DEM 9.10 and newer have a Windows Common Setting named Default applications – File type associations and protocols. For details, see Ivan de Mes at Managing File Type Associations (FTA) natively using Dynamic Environment Manager.

      • Also enable the GPO setting Do not show the ‘new application installed’ notification at Computer Configuration > Policies > Administrative Templates > Windows Components > File Explorer.
      • To avoid a delay in applying FTAs after login, VMware 83679 recommends setting HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Serialize\StartupDelayInMSec (DWORD) = 0.
    • UEM 9.4 and newer have a Windows Common Setting for Windows 10 Start Menu – Windows 10 1703 and higher
  5. In UEM 9.5 and newer, the DEM Console has a button in the ribbon to Download Config Templates. You will need a My VMware account to access it. See Ivan de Mes VMware UEM 9.5 introduces the VMware Marketplace for templates.
  6. The Browse button on top lets you choose where in the tree you want to save the new Config File.
  7. DEM 9.11 and newer have a Find box.
  8. For older versions of UEM, download a template, and import it.
    1. In the DEM Console, on the Personalization tab, click the Configure button to locate your DEM Configuration file share.

    2. Extract the downloaded templates to the General\Applications folder in the DEM Config Share.

    3. The downloaded template should then show up in the¬†Personalization¬†tab under the¬†Applications folder. If you don’t see it, click the¬†Refresh Tree icon.
  9. DirectFlex – to speed up logins, enable DirectFlex whenever possible. Instead of restoring the files during logon and thus delaying the login, DirectFlex restores the settings on-demand when the user launches the application. DirectFlex can be enabled on most application configurations. However, Windows settings (e.g. Start Menu) should be loaded during login rather than on-demand after login.

Additional DEM Configuration

User Environment Manager 8.7 and newer has a UEMResult feature that lets you see what settings were applied to the user. The .xml file is only updated at logoff. To enable for a particular user, go to the user’s Logs folder and create a folder named UEMResult. At logoff, DEM will put an .xml file in this folder. More information at VMware Docs.

From VMware 2113514 Enabling debug logging for a single user in VMware User Environment Manager: To configure FlexEngine to log at debug level for a single user, create an empty FlexDebug.txt file in the same folder as the standard log file for this user. This triggers FlexEngine to switch to debug logging for this particular user.

DEM Application Profiler

This tool cannot be installed on a machine that has FlexEngine (aka DEM Agent) installed:

  1. .NET Framework 3.5 is required.
  2. In the Dynamic Environment Manager files, in the Optional Components folder, run VMware DEM Application Profiler 9.9 x64.msi. DEM 2106 10.3 includes version 9.9 of the Profiler.

  3. In the Welcome to the VMware DEM Application Profiler Setup Wizard page, click Next.
  4. In the End-User License Agreement page, check the box next to I accept the terms and click Next.
  5. In the Custom Setup page, click Next.
  6. In the Ready to install VMware DEM Application Profiler page, click Install.
  7. In the Completed the VMware DEM Application Profiler Setup Wizard page, click Finish.

You may now use the tool to determine where applications store their settings and export a default application configuration that can be pushed out using Dynamic Environment Manager.

DEM Support Tool

vDelboy – VMware UEM Helpdesk Support Tool

Do the following to configure the environment for the support tool:

  1. In the Dynamic Environment Manager Console, click the star icon on the top left, and click Configure Helpdesk Support Tool.
  2. Click Add.
  3. In the Profile archive path field, enter the user folder share (the same one configured in Dynamic Environment Manager GPO). At the end of the path, enter \[UserFolder]\Archives.
  4. Check the other two boxes. The paths should be filled in automatically. Make sure they match what you configured in the Dynamic Environment Manager group policy object. Click OK.
  5. Click Save.
  6. VMware recommends creating a new GPO for the Support Tool. This GPO should apply only to the support personnel.

  7. On the Scope tab, change the filtering so it applies to DEM Support and DEM Admins. If this GPO applies to machines with group policy loopback processing enabled, then also add Domain Computers.
  8. Edit the GPO.
  9. Go to User Configuration | Policies | Administrative Templates | VMware UEM | Helpdesk Support Tool.
  10. Double-click the setting DEM configuration share.
  11. Enable the setting, and enter the path to the DEMConfig share. Click OK.
  12. Consider enabling the remaining GPO settings. Read the Explain text or refer to the documentation.

Do the following to install the support tool.

  1. .NET Framework 3.5 is required.
  2. Some support tool functions require the FlexEngine (aka DEM Agent) to be installed on the help desk machine.
  3. In the extracted Dynamic Environment Manager files is an Optional Components folder. From inside that folder run VMware DEM Helpdesk Support Tool 2103 10.2 x64.msi or run VMware DEM Helpdesk Support Tool 9.9 x64.msi.

  4. In the Welcome to the VMware DEM Helpdesk Support Tool Setup Wizard page, click Next.
  5. In the End-User License Agreement page, check the box next to I accept the terms and click Next.
  6. In the Destination Folder page, click Next.
  7. In the Ready to install VMware DEM Helpdesk Support Tool page, click Install.
  8. In the Completed the VMware DEM Helpdesk Support Tool Setup Wizard page, click Finish.

Once the Helpdesk Support Tool is installed, you can launch it from the Start Menu, search for users, and then perform operations on the archives.

Related Pages

195 thoughts on “VMware Dynamic Environment Manager 2106”

  1. Hello Carl,I have a query with regards to DEM and FS logix . Actually both solutions are working in my setup . Fs logix is used as profile container where endusrs files, docs and applicaton setting are contained and DEM is for application Personalization and other features. So can i manage profile container through DEM so that i can discard FS logix in my environment.

    1. You usually do DEM Personalization, or FSLogix Profiles, but not both. Pick one or the other. I personally think FSLogix has faster logins and less maintenance than DEM Personalization.

  2. Hi, thanks for the article… always useful stuff.
    I’m facing an issue in RunOnce … I configured a logon task which I need it to run once only… I added RunOnceSpecial after RunOnce but still every time the user logs in it runs ūüôĀ

    can you advise

  3. Thanks for the document. Request you to help me with document for setting up “Roaming Profile’s” in DEM VMwae Horizon View.

    1. I recommend FSLogix instead of DEM Personalization since FSLogix is faster login and easier to configure. Otherwise, you configure DEM Profiles on the Personalization tab.

  4. Hi Carl, we’re looking at the option of using DEM (standard) in our environment. Am I missing something or are the “triggered tasks”, “files and folders” (and other) options not there? It has some default settings (e.g. desktop shortcuts and a locked screen triggered tasks) that I wanted to remove but can’t find the option for them.

    For example, I can only see “Drive Mappings”, “Folder Redirection”, “Logon Tasks”, “Logoff Tasks” and “Printer Mappings” in the User Environment menu – which is listed as the options available to standard users here: https://docs.vmware.com/en/VMware-Dynamic-Environment-Manager/2103/com.vmware.dynamic.environment.manager-adminguide/GUID-E6C0325B-5DC8-4CAB-955B-8CD1BD52537F.html but how do I go about removing the default options put there by DEM?

    I’m probably missing something really obvious but if you know that would be great.

    Thanks.

  5. Hi Carl

    Can I upgrade from UEM 9.6 to DEM 2103?

    I followed the sequence to first upgrade the Engine followed by Console, after that the Engine won’t run at all.

    I reverted back to snapshot and also, when I run the install wizard the second time to upgrade the Console it won’t give me an option to upgrade, what I get is ‘change’ , ‘repair’ and ‘remove’, I selected ‘change’ and enable to install the Console after which I rebooted and on the login to that machine I don’t see the Engine starting up.

    Any ideas what to do here please?

  6. Hi Carl, We are struck while doing the initial stage of config share to the UEM console, can you guide us what was the issue we followed all as per above for DEM,

    I am getting error saving configuration file message,.

  7. Hi Carl – can I upgrade from UEM 9.6.0 to DEM 2103? or has to be staged upgrade?

    is this the order:-

    1. Flex Engine
    2. Management Console
    3. and update ADMX templates

    also, would that work with Horizon 7.7

  8. Hi Carl,
    I’m using DEM 2103 and Horizon 7.12. I’m having an issue with a triggered task at session reconnect where the “Horizon Client Property – Client Location = External” is set and a batch file should be ran.
    It looks like this condition is not picked up until later in the reconnect. If my initial logon location was “Internal” and I disconnect and reconnect to my session from “External” the triggered task does not run.

    Do you know of a condition that will pickup the gateway location change at reconnect and run the triggered task?
    Thanks for your time.

    1. I saw a similar problem at a customer but I can’t remember how it was fixed. Do you have a Triggered Task to do a User Environment Refresh?

      1. I have a triggered task to refresh smart policies, but no other options are configured in that task. The other one I’m trying to run is a custom command at reconnect.

  9. I guess that the only thing the support tool for dem are doing is delete the files under the userprofile that are created for the that user?
    Correct?

  10. does the FTA configuration let the user choose what the default application be or does the admin assign which application to use? Cause maybe for broswers the user prefer to use firefox instead of chrome.

    1. DEM can save the user’s FTA preference.

      If you use SetDefaultBrowser.exe or SetUserFTA.exe, then the administrator is specifying the FTA.

      1. Thank you for the reply. So I don’t need to do this configuration to let the user pick their defaults? I was looking into that setuserfta because they were never saved when the default browser was changed by the user.

        And I noticed the dem doesn’t save all the roaming for Microsoft. The folder redirection saved a few things in the appdata\roaming\Microsoft folder but not everything in the folder? Is there something extra thing I have to do in dem to redirect the entire folder? Cause it seem to redirect all other folders in roaming directory.

  11. Hey Carl, Wondering if you have any recommendations when deploying Horizon View with DEM Shares on Nutanix HCI. Any experience with Nutanix Files or DSFR on Nutanix for the share? trying to figure out what would work best in a new deployment as we build it out.

    1. Nutanix Files has a Distributed Share feature to spread the file activity across multiple file controllers.

      My preference for roaming profiles is Microsoft FSLogix and Nutanix Files handles FSLogix very well.

  12. Hello Carl. Can you help me? I enable parameter “Show UEM logon and logoff progress information” in GPO, but when I log on as client, I don’t see any progress information. Maybe you know why?

  13. The default templates (Office, Adobe Acrobat, Notepad, etc…) are working without issues but when I try to use config templates downloaded from VMware (Firefox, Chrome, etc…) they are not working at all.

    What could be the issue? Have I to make any extra configuration with these dowloaded templates?

    Thank you!

  14. Hello,
    Thank you for your great work, very useful !
    I have a question about DEM, in particular the “Import/export” part in “Personalization”
    A path like…

    [IncludeFolderTrees]
    \AppData\LocalLow\Sun\Java\Deployment

    …doesn’t work !
    i need to roam some data from the LocalLow folder and subfolder.
    but after logoff, this mentionned data isn’t roamed in the same path than the original path ! but it’s present in the archive folder !

    The common windows settings like:
    “Taskbar” or “Start menu” in the “import/export” works very well, i find roaming data in the userprofile.

    In the FlexEngine.log everythings seems to be ok, apparently no error.

    Import status flag indicates success, so performing export
    2021-01-07 12:07:15.563 [DEBUG] Clearing import status flag for next import
    2021-01-07 12:07:15.586 [INFO ] Exporting profile using config file ‘EDV-roamAppdata.INI’ (\\LesRP.ch\vdi\UEM-config-EDV\general\EDV-roamAppdata.INI)
    2021-01-07 12:07:15.589 [INFO ] Exporting file information
    2021-01-07 12:07:15.589 [DEBUG] ExportFiles: Recursively processing folder ‘\AppData\LocalLow\Sun\Java\Deployment’
    2021-01-07 12:07:33.771 [DEBUG] ExportFiles: Processing file ‘\AppData\LocalLow\Sun\Java\Deployment\deployment.properties’
    2021-01-07 12:07:33.771 [INFO ] Exported file information successfully

    I open a case to Vmware, but no idea for this moment

    Any idea

    Thank you

    Daniel

      1. Hello,
        Yes i already tried, but doesn’t work
        Sorry in my first post i write “\AppData\LocalLow\Sun\Java\Deployment” it’s a mistake

        but i meant…

        [IncludeFolderTrees]
        \AppData\LocalLow\Sun\Java\Deployment

        [IncludeFiles]
        \AppData\LocalLow\Sun\Java\Deployment\deployment.properties

        These two paths doesn’t work !

        and for example, below these paths works !

        [IncludeFolderTrees]
        \Microsoft\Internet Explorer\Quick Launch

          1. I think WordPress treats the < and > as HTML tags. You can change the < to & lt; (without the space) to preserve them.

  15. Hi Carl,

    I have configured a DFS-N share for DEM Profile and Config files (Mesh Topology). I am not using DFS-R, since it only be used for the configuration share, and ‚Äď if used ‚Äď must be configured in hub and spoke topology.

    The storage for DFS-N is being replicated using the storage array at the backend on hourly basis (NetApp). I have two Windows files servers one at each site.

    Do you think I am missing anything? thanks for all the help

    1. Do you have two active sites? Or is this just for DR?

      For DEM Config, you can simply robocopy the files between file servers in each site.

      For DEM profiles, I prefer to pin users to specific sites and have their data only in that one site. If that site dies, then have a VM backup/restore method to restore that site’s file servers in a different site. No DFS needed.

        1. Are you doing “home sites”, which is recommended? If so, then configure the Horizon Agent machines in each site to use a file server in the local site. Then backup/replicate/restore the individual file servers instead of using DFS Replication.

          1. Wow, the plan was to have configurations done on one site replicated to the other site as active/Active.
            In this case, it looks like we have to go the HUB and Spoke model, but am new to this so still try to figure things out, and confused as DFS-R is not supported in certain DEM configurations.

          2. For DEM configurations, just use robocopy to copy them to a file server in each site. This lets you avoid DFS Replication.

            For DEM user settings, it’s important that you never allow the files to be updateable on two file servers at the same time and expect them to merge the settings. Only one file server should be writable. An easy way to ensure this is to only have one file server and rely on VM backup/replication/restore instead of DFS merge replication.

  16. Hi Carl,

    how can we prevent that DEM is working on Administrator account? In the NO-AD Mode you can configure it in the .xml file. Is there a way to do it in GPO mode?

      1. Or just target your DEM GPO in such a way that it does not apply to admins? In my understanding (but I’m a developer and not an IT pro ūüôā that’s pretty common, no?

  17. Hi Carl,

    We are using VMware Horizon 7.12 and DEM 9.11 with dedicated linked clones. We also have Microsoft FSLogix. We are seeing a strange issue where DEM does not apply any settings after a desktop is restarted. It does not create any logs as well. After a login, if we logoff from the desktop (not a reboot), it start working from the next logon onwards (it also starts creating logs). Again if we reboot, it worn’t work just after the reboot until we logoff again.

    This is the exact issue mentioned in the comments of the thread Let‚Äôs troubleshoot User Environment Manager (#UEM) 9.X: How to avoid errors during the installation ‚Äď vLenzker by TJ Derrick. He resolved it by setting the GPO “System\Logon\Wait for network” but we have installed DEM in NoAD mode, so I don’t this this setting will make any difference.

    Any thoughts on why this strange behaviour?

  18. Hi Carl,
    Thank you for your great article !

    I have a little problem with DEM 2006, in the DEM console i can’t see the “ADMX-based setings” feature in the USER ENVIRONNEMENT tab
    Any idea
    Thank you

    Daniel

      1. Hi Carl!
        Great Job!

        Is it possible that only the enterprise edition had this featuers?
        We got the the Sandard Editon and dont have the ADMX-based settings, also the Flex Config Path Option is called “VMWare DEM Agent Configuration” ?
        Is that the difference between standard and advanced?

        regards

  19. Hi Carl,
    Vmware techzone article removed the mandatory profile recommendation that they had earlier so do you have any recommendation on how profiles should be configured now ? Also, since we started using local profiles login times became went from 40 seconds to 3 minutes when login through horizon client but the weird part is when I tried to login using vsphere client it was still around 40 seconds. Not sure why such a huge difference. I couldn’t find anything like that on online blogs so I am wondering if you ever encountered something like this. Thanks.

        1. First time login seems to always takes a few minutes. Your faster login might be because the profile was already created on the machine and it didn’t revert (go away) at reboot.

    1. They’re just files. You can copy the folders/files to the other data center, share it, and point DEM console to the new path.

      In DEM Console, click the star icon to configure environments and switch environments. Many screens have an Import button where you can import a config from a different environment.

  20. Hi Carl
    thanks for the post ,
    I run into situation in our VDI environment , where user save settings on Office 2016 application , part of the setting are saved on the DEM-USER share appdata folder and some of them are saved on the local hard drive of the VDI machine (therefor erased upon logout since it an instant clone pool)
    where in the DEM manager can it be fixed

  21. Hi Carl,

    I am new to DEM. I using VDI environment. I log into my VDI and map my network printer. But when I log out and log back in the printer disappeared. I have to remap the printer again everytime. I am using Horizon 7.12.

    1. In DEM > Personalization ribbon, did you add a configuration file that saves Network Printers? If you Create a Config File, select Windows Common Setting, and Printers is an option.

  22. Hi Carl,

    Great articles, we have recently implemented Horizon 7 in our environment, most things seem to be working fine but I find that users appdata or profile for Chrome and Outlook does not save after users log out and log back in. It keeps on resetting the profile data (i.e. Outlook and Chrome would need to run initial setup / welcome page and never saves anything including bookmarks created each time you log back in). Is there a way to fix this in DEM or fslogix will need to be setup?

    Thanks!

    1. DEM requires per-app configurations of what to save at logout. It takes time to configure it, test it and fix it. There are templates in the VMware Communities for common applications.

      If you think it’s configured correctly, then enable debug logging using the FlexDebug.txt file to see if DEM is properly saving and restoring the .zip files.

      FSLogix is “set and forget” since it captures the entire profile. There’s no need to configure it for each application like you do in DEM. However, FSLogix has difficulty with concurrent access to a single profile.

  23. Hi Carl,
    We are trying to implement office 365 on windows 10 1909 with DEM. Can you help us with the sample DEM configuration by which we can activate Office 365 and also able to persist outlook profile. Thanks.

      1. Thanks Carl, But is it the recommended way to provision Office 365 to Horizon instant clones ?We are trying to install office 365 base components on the master image and appstack Viso and Project so we can assign them only to the users who need them. Thanks.

        1. I usually put all Office components on the base image to avoid licensing issues. You can use NTFS permissions to control access. Or FSLogix App Masking can hide applications.

  24. Hi Carl,I have a legacy application which requires details of VDI client session hostname to function.The application requires an ini file updated in VDI session with vdi client host machine hostname every-time I switch host machines. For example if open vdi session on “thinclient01”, C:\app.ini is updated with {hostname = thinclient01}, if I move to another office on “thinclient99”, c:\app.ini is updated with {hostname=thinclient99}. The user does not logout. Can this be archieved using DEM.

Leave a Reply to Robin Stolpe Cancel reply