VMware Horizon 2209: Master Virtual Desktop

Last Modified: Nov 29, 2022 @ 6:46 am

Navigation

Use this post to build a virtual desktop that will be used as the parent image (aka source image, aka master image, aka gold image) for additional virtual desktops. There’s a separate article for RDS Session Host.

This post applies to all VMware Horizon versions 2006 (aka 8.0) and newer.

đź’ˇ = Recently Updated

Change Log

Virtual Hardware

Lieven D’hoore has a desktop VM build checklist at VMware Horizon View – Windows 10 Golden Image Creation

  1. The virtual desktop pools will use the same hardware specs (e.g., vCPUs, memory size, network label) specified on the master virtual desktop. Adjust accordingly.
  2. For New Hard disk, consider setting Thin provision.
  3. Make sure the virtual desktop is using a SCSI controller.
  4. The master virtual desktop should be configured with a VMXNET 3 network adapter.
  5. When building the master virtual desktop, you will probably boot from an ISO.
  6. Before using Horizon Administrator to create a pool based off of this master image, ensure the CD/DVD drive points to Client Device and is not Connected. The important part is to make sure ISO file is not configured.
  7. There’s no need for the Floppy drive so remove it.
  8. If you have any Serial ports, remove them.

Windows

VMware TechZone Creating an Optimized Windows Image for a VMware Horizon Virtual Desktop

Preparation

Power Options

  1. Run Power Options. Right-click the Start Menu to access Power Options.
  2. Click Additional power settings.
  3. Select Ultimate Performance, or click the arrow to show more plans, and select High performance.
  4. Next to the power plan, click Change plan settings.
  5. Change the selection for Turn off the display to Never, and click Save changes.
  6. You can also configure these setting using group policy.

System Settings

  1. Domain Join. Use sysdm.cpl to join the machine to the domain. Also see VMware 2150495 Computer-based Global Policy Objects (GPOs) that require reboot are not applied on instant clones.
  2. In System control panel applet (sysdm.cpl), on the Remote tab, enable Remote Desktop.
  3. Activate Windows with a KMS license if not already activated. Note: only KMS is supported with Instant Clones.

Install Applications

Install applications locally if you want them to be available on all virtual desktops created based on this master virtual desktop.

Or you can use a Layering product (e.g. VMware App Volumes, Microsoft MSI-X App Attach, Liquidware FlexApp) or App Streaming (e.g. ThinApp, Microsoft App-V). Note: logins are fastest if apps are installed in the master image. All app layering/streaming technologies introduce a logon delay. You can use Microsoft FSLogix App Masking to hide applications and Start Menu shortcuts that users should not see.

Antivirus

VMware Tech Zone Antivirus Considerations in a VMware Horizon Environment contains exclusions for Horizon View, App Volumes, Dynamic Environment Manager, ThinApp, etc.

Microsoft’s virus scanning recommendations (e.g., exclude group policy files) – http://support.microsoft.com/kb/822158.

Carbon Black

Interoperability of VMware Carbon Black and Horizon (79180)

Symantec

Symantec links:

Trend Micro

Trend Micro Links:

Sophos

Sophos Endpoint Security and Control: Best Practice for running Sophos on virtual systems: we’ve amassed the following practical information about how you can optimize our software to work with this technology.

Sophos Endpoint Security and Control: Installation and configuration considerations for Sophos Anti-Virus on a Remote Desktop Services server: It maybe desirable to disable the Sophos AutoUpdate shield icon

Sophos Endpoint Security and Control: How to include current version of Sophos in a disk image for cloned virtual machines: This procedure will make sure that the produced target/cloned computers:

  • Get their distinct identity with Enterprise Console, under which they can be subsequently managed.
  • Have the desired version of Sophos Anti-Virus already installed and configured on the created image.

Palo Alto Traps

  • Install Traps Agent for Windows:
    • Virtual desktop infrastructure (VDI) installation—Intended for non-persistent endpoints that replicate (also referred to as spawn) from a golden image which has Traps installed.
    • Temporary session—Intended for either physical or virtual endpoints (such as a Remote Desktop Server) that repeatedly revert to a snapshot (or image) on which Traps is not installed.

Windows Defender Antivirus

Configuring Microsoft Defender Antivirus for non-persistent VDI machines – Microsoft Blog

Deployment guide for Windows Defender Antivirus in a virtual desktop infrastructure (VDI) environment – Microsoft Docs

Onboarding and servicing non-persistent VDI machines with Microsoft Defender ATP

For Instant Clones, Defender ATP on-boarding script should run as ClonePrep post-sync script. See Tristan Tyson On-boarding VMware Horizon View Instant-Clone VDI Pools into Microsoft Defender Advanced Threat Protection.

Cylance

CTX232722 Unable to launch application with Cylance Memory Protection Enabled. Cylance must be run in compatibility mode in order to the VDA and Cylance to run on the same machine. See the article for detailed instructions.

Horizon Agent

Horizon Agent Installation/Upgrade

Install Horizon Agent on the master virtual desktop. Upgrades are performed in-place.

  1. Latency – In Horizon 2111 (8.4) and newer, maximum latency between Horizon Agent machine and Connection Server is 120ms. Older versions of Horizon have lower maximum latencies.
  2. See VMware 2149393 Supported Windows 10 Guest Operating Systems for Horizon Agent and Remote Experience, for Horizon 8 2006 and Later
  3. VMware Tools – Only install Horizon Agent after you install VMware Tools.
    1. If you need to update VMware Tools, uninstall Horizon Agent, upgrade VMware Tools, and then reinstall Horizon Agent.
    2. See VMware Product Interoperability Matrices for supported versions of VMware Tools with different versions of Horizon Agent.
    3. If VMware Tools 11.x, VMware recommends running the following: (source = VMware 78434 Performance issues for Horizon 7 when using VMware VMTools 11.x)
      C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe" config set appinfo disabled true
  4. Horizon 2111.1 is an Extended Service Branch, which is supported for three years.
  5. Download Horizon Agent 2209 (8.7) or download Horizon Agent 2111.1 (8.4.1) ESB.

  6. Run the downloaded VMware-Horizon-Agent-x86_64-2209-8.7.0.exe or VMware-Horizon-Agent-x86_64-2111.1-8.4.1.exe.
  7. If you want the URL Content Redirection feature, then you must run the Agent installer with the following switches: /v URL_FILTERING_ENABLED=1
  8. If you want the UNC Path Redirection feature in 8.7 and newer, then you must run the Agent installer with the following switches: /v ENABLE_UNC_REDIRECTION=1. You can combine the two switches.
  9. In the Welcome to the Installation Wizard for VMware Horizon Agent page, click Next.
  10. In the License Agreement page, select I accept the General terms, and click Next.
  11. In the Network protocol configuration page, select IPv4, and click Next.
  12. In the Custom Setup page, there are several features not enabled by default. Feel free to enable them.
    1. If you want USB Redirection, then enable that feature.
    2. Horizon Agent 2006 (8.0) and newer does not include Persona.
    3. If you want Scanner Redirection, then enable that feature. Note: Scanner Redirection will impact host density.
    4. Horizon Performance Tracker adds a program to the Agent that can show the user performance of the remote session. You can publish the Tracker.

    5. Horizon 2006 (8.0) and newer no longer include ThinPrint (aka Virtual Printing). VMware Integrated Printing is the replacement for ThinPrint and requires Horizon Client 4.10 or newer.
    6. In Horizon 2206 and newer, Storage Drive Redirection provides faster performance than Client Drive Redirection.
  13. Click Next when done making selections.
  14. If you see the Remote Desktop Protocol Configuration screen, then select Enable and click Next.
  15. In the Ready to Install the Program page, click Install.
  16. In the Installer Completed page, click Finish.
  17. Click Yes when asked to restart.
  18. If you want to know what features were selected during installation, look in HKLM\Software\VMware, Inc.\Installer\Features_HorizonAgent. Or look in the installation log files as detailed at Paul Grevink View Agent, what is installed?

  19. To verify installation of the URL Content Redirection feature, check for the presence of C:\Program Files\VMware\VMware View\Agent\bin\UrlRedirection.
  20. There’s also an IE add-on.
  21. URL Content Redirection is configured using group policy.
  22. To verify installation of the UNC Content Redirection feature, check for the presence of C:\Program Files\VMware\VMware View\Agent\bin\UncRedirection.

Install/Upgrade Dynamic Environment Manager (DEM) Agent

All editions of Horizon 2006 (8.0) and newer are entitled to Dynamic Environment Management (DEM).

  • Horizon Standard Edition and Horizon Advanced Edition are entitled to DEM Standard Edition, which only has personalization features that replace Persona. If you are using FSLogix Profile Containers for profiles, then you probably don’t need DEM Standard Edition.
  • Horizon Enterprise Edition is entitled to DEM Enterprise Edition, which has all DEM features, including Smart Policies, Privilege Elevation, etc.

DEM 2006 and newer Agents (FlexEngines) require additional configuration to enable DEM 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. 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-2209-10.7-GA\VMware Dynamic Environment Manager Enterprise 2209 10.7 x64.msi" /qn COMPENVCONFIGFILEPATH=\\fs01\DEMConfig\general

To install DEM Agent:

  1. Windows 10 Compatibility – See VMware 57386 VMware Dynamic Environment Manager and Windows 10 Versions Support Matrix
  2. Make sure Prevent access to registry editing tools is not enabled in any GPO since this setting prevents the FlexEngine from operating properly.
  3. Horizon 2111 (8.4) ESB release comes with DEM 2111. Horizon 2111.1 (8.4.1) ESB comes with DEM 2203.
  4. Based on your entitlement, download either DEM 2209 (10.7) Enterprise Edition, or DEM 2209 (10.7) Standard Edition. For ESB Horizon, download the DEM version included with your ESB version of Horizon.

  5. Run the extracted VMware Dynamic Environment Manager Enterprise 2209 10.7 x64.msi.
  6. In the Welcome to the VMware Dynamic Environment Manager Enterprise Setup Wizard page, click Next.
  7. In the End-User License Agreement page, check the box next to I accept the terms, and click Next.
  8. In the Destination Folder page, click Next.
  9. In Choose Setup Type page, click Custom.
  10. In the Custom Setup page, click Next. Note: the DEM Management Console is typically installed on an administrator’s machine.
  11. In DEM 2111 and older, in the Choose License File page, if installing on a Horizon Agent, then no license file is needed. DEM 2203 and newer no longer ask for licenses since DEM Console installs the DEM license in the DEM Configuration Share. Click Next.
  12. In the Ready to install VMware Dynamic Environment Manager Enterprise page, click Install.
  13. In the Completed the VMware Dynamic Environment Manager Enterprise Setup Wizard page, click Finish.
  14. If you have PCoIP Zero Clients that map USB devices (e.g. USB drives), then you might have to set the following registry value. (Source = VMware 2151440 Smart card SSO fails when you use User Environment Manager with a zero client)
    • HKLM\Software\VMware, Inc.\VMware VDM\Agent\USB
      • UemFlags (DWORD) = 1
  15. DEM is enabled using Group Policy and configured using the DEM Management Console.

Logon Monitoring

By default, in services.msc, the VMware Horizon View Logon Monitor service is not running. Set it to Automatic and start it.

The logon logs are stored at C:\programdata\VMware\VMware Logon Monitor\Logs on each Horizon Agent.

Inside each session log file are logon time statistics.

Unity Touch

With the Unity Touch feature, tablet and smart phone users can quickly navigate to a Horizon View desktop application or file from a Unity Touch sidebar. Although end users can specify which favorite applications appear in the sidebar, for added convenience, administrators can configure a default list of favorite applications.

In the Unity Touch sidebar, the favorite applications and favorite files that users specify are stored in the user’s profile. For non-persistent pools, enable Roaming Profiles.

To set the default list of favorite applications:

  1. Navigate to HKLM\Software\Wow6432Node\VMware, Inc.\VMware Unity
  2. Create a string value called FavAppList.
  3. Specify the default favorite applications using format: path-to-app-1|path-to-app-2|path-to-app-3|…. For example:
Programs/Accessories/Accessibility/Speech Recognition.lnk|Programs/VMware/VMware vSphere Client.lnk|Programs/Microsoft Office/Microsoft Office 2010 Tools/Microsoft Office 2010 Language Preferences.lnk

Unity Touch can be disabled by setting HKEY_LOCAL_MACHINE\Software\VMware,Inc.\VMware Unity\enabled to 0.

For more information, see Configure Favorite Applications Displayed by Unity Touch at VMware Docs.

ClonePrep – Rearm

By default, when Horizon creates Instant Clones, one of the tasks that ClonePrep performs is to rearm licensing. You can prevent rearm by setting the following registry key:

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\vmware-viewcomposer-ga
    • SkipLicenseActivation  (DWORD) = 0x1

Dynamic PCoIP Policies

If you wish to change PCoIP Policies (e.g., clipboard redirection, client printers, etc.) based on how the user connects, see Managing VMware Horizon View Secret Weapon with Puppet Enterprise. The article describes using Puppet to change PCoIP settings. You can also configure VMware Horizon View Script Host service to run a script to change PCoIP configuration based on the Connection Server that the user connected through.

Microsoft FSLogix

Why FSLogix?

Microsoft FSLogix has two major features:

  • Profile Container is an alternative to VMware DEM Personalization.
  • App Masking is an alternative to VMware App Volumes.

DEM has three categories of features: Personalization, User Settings, and Computer Settings. FSLogix Profile Container only replaces the Personalization feature set. You typically do FSLogix Profile Container for profiles and use DEM for User Settings and Computer Settings. Here are some advantages of DEM Profile Container over DEM Personalization:

  • FSLogix Profile Container saves the entire profile but DEM Personalization requires you to specify each setting location that you want to save. FSLogix is “set and forget” while DEM Personalization requires tweaking for each application.
  • At logon, DEM Personalization must download and unzip each application’s profile settings, which takes time. FSLogix simply mounts the user’s profile disk, which is faster than DEM Personalization.
  • FSLogix Profile Container has special support for roaming caches and search indexes produced by Microsoft Office products (e.g. Outlook .ost file).
  • FSLogix is owned, developed and supported by Microsoft.

Here are some FSLogix Challenges as compared to DEM Personalization:

  • FSLogix Profile disk consumes significant disk space. The default maximum size for a FSLogix profile disk is 30 GB per user.
  • High Availability for FSLogix Profile disks file share is challenging. The file server High Availability capability must be able to handle .vhdx files that are always open. DFS Replication is not an acceptable HA solution. One option is Microsoft Scale Out File Server (SOFS) cluster. Another option is Nutanix Files.

VMware App Volumes has some drawbacks, including the following:

  • Completely separate infrastructure that must be built, maintained, and troubleshooted.
  • Introduces delays during logon as AppStacks are mounted.
  • AppStacks can sometimes conflict with the base image or other AppStacks.

An alternative approach is to install all apps on the base image and use FSLogix App Masking to hide unauthorized apps from unauthorized users. No delays during logon.

Microsoft FSLogix is free for all Microsoft RDS CALs, Microsoft Virtual Desktop Access per-user CALs, and all Microsoft Enterprise E3/E5 per-user licenses. Notice that per-device licenses are excluded. See Licensing Requirements at Microsoft Docs.

FSLogix Installation

Do the following to install Microsoft FSLogix on the Horizon Agent machine:

  1. Go to https://docs.microsoft.com/en-us/fslogix/install-ht and click the download link.
  2. Extract the downloaded .zip file.
  3. In the FSLogix \x64\Release folder, run FSLogixAppsSetup.exe.
  4. Check the box next to I agree to the license terms and conditions and click Install.
  5. In the Setup Successful page, click Restart.
  6. Make sure the Windows Search service is set to Automatic and Running.
  7. If Office is already installed, then repair the Office installation after installing and starting the Windows Search Service.

FSLogix is configured through Group Policy or by editing registry values on each FSLogix Agent machine.

VMware OS Optimization Tool

  1. See VMware Windows Operating System Optimization Tool Guide for details on this tool.
  2. Download the VMware OS Optimization Tool.
  3. Run VMwareOSOptimizationTool-x86_64.exe.
  4. On the Optimize tab, choose a template.
  5. Then click Analyze on the bottom of the window.
  6. Near the top of the window click the Common Options button and make your selections on each of the pages. Click OK when done.

  7. The top right box named Analysis Summary shows the number of optimizations not yet applied.
  8. Review the optimizations and make changes as desired. Then on the bottom right, click Optimize.
  9. The History tab lets you rollback the optimizations.
  10. The Finalize tab contains tasks that should be run every time you seal your parent image.
  11. The Update tab lets you re-enable Windows Update so you can update the parent image.

Additional Optimizations

Additional Windows 10 Optimizations

Snapshot

  1. Make sure the master virtual desktop is configured for DHCP.
  2. If connected to the console, run ipconfig /release.
  3. Run antivirus sealing tasks. For example:
  4. Base Image Script Framework (BIS-F) automates many image sealing tasks. The script is configurable using Group Policy.

  5. Shutdown the master virtual desktop.
  6. Edit the Settings of the master virtual machine and disconnect the CD-ROM. Make sure no ISO is configured in the virtual machine.
  7. Take a snapshot of the master virtual desktop. Instant Clones requires a snapshot.

Related Pages

86 thoughts on “VMware Horizon 2209: Master Virtual Desktop”

  1. Dear Carl,

    I am trying to increase the disk size of my instant clone master image but the setting for disk is greyed out.

    I deleted all snapshots but the disk setting is still greyed out and I can’t change the disk size.

    Any idea on how to increase the disk size of an instant clone master image?

    And When I delete older snapshots, VCenter respond almost instantly that it was successful. It does remove the snapshot from the list of snapshots, however it does not really remove the vmdks for the snapshot.

    1. Are you doing VVols for your storage?

      The machine is powered off when you try to increase the disk space? You have permissions to increase disk space?

  2. We always have UWP apps that fail, there are soms fixes we applied for 20H2, but that does not seem to work anymore. Any tips for UWP apps??

    We use Calculator, Sticky Notes, Photos, Snip & Sketch (I think, I have Dutch OS) and OneNote. UWP apps randomly work for people.

    See also this post https://techcommunity.microsoft.com/t5/azure-virtual-desktop/how-do-we-install-store-apps-the-proper-way/m-p/1270907 and this one:

    https://communities.vmware.com/t5/Dynamic-Environment-Manager/Windows-Store-Apps-in-Windows-10-is-there-a-proper-method/td-p/496158

    I also have a ticket open with Microsoft but it’s a difficult issue.

    1. I have no faith in UWP apps so I instead install Old Calculator, Old Sticky Notes, Old Photo Viewer, etc.

  3. Please help and point me in the right direction. I understand that my question is a bit off topic of the article, but I don’t know what can be done. I have vSphere 6.7: two ESXi hosts of the latest build 19898906 and vCenter 19832280. Also Horizon connection server 7.0. I need to implement instant clones. I prepared a golden image based on windows 7 SP1 with the latest updates 2022. VMware Tools 12.0. and horizon agent 7.0.3634043. Performed optimization using the VMOSOT utility. Before shutdown executed ipconfig/release. Created a snapshot. During provisioning, cp-template*, cp-replica*, cp-parent* are created in sequence. But after that they are immediately deleted and the error “Initial publish failed: Fault type is VC_FAULT_FATAL – The operation is not supported on the object” is displayed on the connection server. There are no errors from the vSphere side. And since the cloned machines are deleted, I cannot use the debugging mode to analyze the logs. I saw an article on creating a golden image and followed the steps in it. But I can’t fix this error. I hope you can advise.

    1. We had this issue before and referring to correspondence with VMware support, it looks like we snapshotted the VM before shutting it down. I can’t tell if that is what you did, but if you didn’t, shut down and create a new snapshot.

      I also found another time getting this error. The vmware KB page doesn’t exist anymore so I can’t provide full context, but at that time I put the host in maintenance mode, which vacated it of all VMs and deleted the problematic cp-parent. Then took the host out of maintenance mode and it operated properly.

      1. Thank you for your quick response. I create a snapshot after the virtual machine is turned off.
        Regarding the transfer of the host to maintenance mode, I think that this option does not suit me, since all parent virtual machines are automatically deleted themselves and only folders remain.

      1. Carl, thanks for your reply. Judging by the fact that after trying to create a pool, in DHCP I see new IP addresses issued for names in the format it * .mydomain, I can assume that the parent VMs receive addresses. On the virtual machines themselves, I can’t check, as they are deleted almost immediately. There are enough free leases in the DHCP pool. On vSphere, I use a distributed switch with static port allocation.
        I am concerned about one question. Do I have to manually sysprep the golden image before shutting down and taking the snapshot? Because in the old version of VMOSOT there is only an optimization option and no generalize, finalize. And the current optimization tool versions 2111 and 2204 available for download do not work on windows 7 SP1.

  4. Using VMWare OS Optimization tool, after Generalize it always does a reboot, and then I run Finalize tasks on next reboot. But the CMID of the instant clones in Horizon 8 is always the same for all the VDI machines and the KMS server reports insufficient count and does not activate the VMs. what am I doing wrong?

      1. thank you Carl for the quick reply. I am using sysprep, so after exiting the audit mode it reboots and then I run finalize and then snapshot. Is it correct that it has to reboot after generalize and then after the reboot run finalize?

          1. yes, Instant Clones. So in that scenario I can skip Generalize and just run Finalize? I tried with sysprep answer file, but it gets stuck with “Windows could not finish configuring the system…” Thanks again Carl!

          2. Carl:

            I’m also a bit stumped on this one. A few guides elude using the Audit Mode/Sysprep/Generalize as there are inherent issues with the copyprofile=true in WIN10. Do you personally recommend following this model? ITUDA, although dated, doesn’t mention performing the sysprep/generalize task at all and instead goes with a local admin “temp” account – enabling local Administrator thereafter – and then deleting the “temp” local admin account approach.

            I’m of course testing all scenarios but thought to pick your brain if you happened to catch this. Hope I didn’t confuse. TY.

          3. Are you asking about OSOT? No, I don’t do Generalize.

            Or are you asking about VMware’s guide to building a gold image? I don’t do Audit Mode there either. For all user settings, I prefer delivering them through GPO or DEM rather than putting them in the default user profile. Default user profile is difficult to manage.

  5. Hello Carl,

    We are seeing the same issue as Eric with FSLogix on our brand new image build 20H2 where the first logon is fine but all consecutive ones break Start Menu where it’s not clickable at all and the search bar in taskbar doesn’t work either and you cannot click into it. Is anyone else experiencing the same behavior?

  6. App Masking does not seem to be working in our environment. It works on the gold image but does not work when the machines are provisioned as instant clones. If I open up the rules manager on the clone as admin and manually apply the rule, it successfully applies it.

  7. Hi Carl, Thanks for another great article. I have followed the steps but seeing a blank screen for 25-30 seconds before logon completes. Horizon Logon Monitor shows 22-25 secs for Shell load time which is happening in background during which blank screen is shown. have you faced this issue?

      1. Pardon me for asking this, procmon is giving too much of info, is there an easier way to find out relevant logs from procmon PML output file?

        1. Some 3rd party monitoring tools can break down the processes running during a logon event.

          In procmon, go to Tools > Process Tree to see what started and ended during the logon event.

          1. Thanks Carl for quick input, i have gotten through them and following are some commands that are taking long time –

            31 secs – C:\Windows\system32\DllHost.exe /Processid:{AB8902B4-09CA-4BB6-B78D-A8F59079A8D5}
            13 sec – C:\Windows\System32\mobsync.exe -Embedding
            30 sec – C:\Windows\system32\taskhostw.exe

            But I am really not sure of what are these for and how to disable if at all possible. Please suggest,

          2. Hi Carl, Glad to share that it has been fixed now. The blank screen issue has been identified to a Force Point DLP agent that was there in the image. At the time of user login to VDI, it doesn’t let the FSLogix vhd to mount for some time during which it throws blank screen. Now my login times are under 10 Seconds.

            Thanks for your suggestions here.

  8. Great article Carl,
    We are new to Horizon running version 2111, and are trying to get our heads around the workflow for applying patches to the Windows 10 gold image, and then then publishing it to the pool.
    Would the norm be:
    1. VMware OSOT, Update tab – run through updates
    2. VMware OSOT, Optimize, Finalize
    3. Clone gold image and snapshot. Publish new gold image/snapshot to the pool.
    Should we also be Generalizing the gold image?
    Thanks
    Mark

    1. Not Generalize. I think that’s only for new builds since it requires you to be in Audit mode since that tab runs Sysprep.

  9. Hi,

    im in the process to deploy Horizon 8 2111 with FSlogix.

    I have a problem with Instant clone in a floating pool. When i log for the first time in the VDI, everything is working. I logged off and log back in and the problem appears. The Windows start menu doesn’t work any more. Its only working in a Dedicated Pool without the refresh of the VDI after logoff.

    Im using Horizon 8 2111, Windows 10 21H2, Vmware DEM 2111 and FSlogix 2.9.7979.62170

    is there something that i need to do with FSlogix or VMware DEM to keep my start menu working?

    thanks

    1. Full FSLogix Profile Container should just work, assuming you don’t have a redirections.xml file.

      Did you remove all DEM Personalization settings?

      1. Hi,

        I don’t have redirections.xml

        DEM Personalization are empty.

        I already make it work in April 2021 but now its not working.

        I’ve been working on that with multiple combination of software or GPO and nothing is working.

        thanks

      2. In my GPO for FSlogix, i have those settings enabled

        – Enable logging
        – Path to Logging files
        – Under Profile Containers, Enabled
        – VHD Location
        – Under Profile Containers/advanced, Prevent login with temporary profile
        – Under Profile Containers/Container and directory naming, Virtual disk type, SID Directory name matching string and pattern string

        In Vmware DEM, im only doing folder redirection

        1. The version of Horizon is 2111.1-8.4.0-19066669 for the Agent and 8.4.0-19067837 for the connection server.

        2. We are experiencing a very similar issue ? Did you ever find a solution to Windows Start Menu issues ?

          1. Out of curiosity, is the start menu inoperable the entire session or just for a period of time? I feel like I went through this 3 years ago and it was just that it took a LONG time for the start menu to build on non-persistents at the beginning of each session. Apologies if you already know this, but you’ll have to create a config file in DEM > Use a Windows Common Setting > Windows 10 Start Menu. What I did was customize the start menu to what most of our users needed to create a predefined settings file, so that the first login for a user wouldn’t take forever, and it had most of what they would need to start off.

          2. Rob,

            We have DEM on the image but all the configs are disabled. We wanted to get everything with FSlogix and use DEM just for a backup for certain configs in case if we need to delete somebody’s profile. It looks like the Start Menu is completely broken for the entire session. The only time it works is when you log in with brand new profile and then all consecutive logons it is not usable

          3. Yes! You should not remove appx pacakges when doing optimizations in osot. I do Not remember which it was exactly . This issue is years old.

  10. Hi, i updated my environment to 2111 and the masters got the 21H2 Build. since then customization stuck..
    the client join the domain but have the DNS name from my master. any ideas?

    1. I’ve seen the dns/hostname matching my template in others scenarios and truthfully didn’t really reach any conclusions. What version of vcenter are you on?

      1. Hi, thats the problem.. it shouldn´t be the same name. when i rebuild my vdi client the customization should give him a new name. but it did not change and so in my horizon admin the customization timed out and i get a error

        1. Oh, I know that’s the problem, I’m just saying I noticed a similar issue and wondered if vcenter could be this issue. Then for some general fact-finding: Vcenter version, Horizon version, what kinds of clones (instant, linked, full)?

          1. I did some tests the last 2 days and found out that the issue is related to microsoft appx files.
            When the appx files exist the customization fail.
            We always run a script to delete the appx files but somehow there where some files which couldn´t be deleted because they were installed with a user which was not available. (the user did no login on the master, just a installation with “install as”)

            This problem came with the build 21h2 upgrade but We did a clean up and now everything is working fine again.

  11. Hi Carl,

    This is new comment which is not related to the above article kindly help me out.
    I have Master Image with Autocad which is facing so many issue related to DEM, user everytime login they got installation screen while opening the Autocad and also sometime some plugins are not working they said, even i am also not familiar with Autocad, kindly help me out any AutoCAD software need special attention in DEM

    Horizon view Version – 8.1, Instant Clone and DEM 2009.
    Waiting for reply.

    1. Have you tried DEM’s application profiler to determine all of the places that Autocad stores settings so you can make sure DEM is configured to capture all of those locations?

      Another option is to switch to FSLogix, which capture everything without you having to configure anything.

      1. Hi Carl, i have tried DEM application profiler and try the same, if any issue will revert back. Thanks for the lead.

  12. Has anyone seen issues installing PCOIP-audio.122 drive from Teradici with 8.4 agent?

    the installer does not seem to see the agent.

    1. I am having this exact same issue. After VMware Agent is installed, attempting to install pcoip_component_installer_1.2.2.exe halts with message: PCoIP Server not found. Cannot continue with installation. Please install VMware View Agent 4.5 or higher.

      As a potential fix, I am going to install an older version of VMware Agent and install the teradici drivers and remove old agent and install 8.4. I am betting the issue is on teradici’s side as their driver package has not been installed for over 4 years.

      1. We’re seeing a huge problem with RAM in-guest with 7.13.1 instant clones. The sessions are freezing on users (not Windows), forcing them to disconnect the entire client and re-login. No problems on 7.12 linked clones 2 weeks ago. We’ve gone from 4gb/VM to 8gb/VM and still having the issue. VMware support is no help. Ugh!

        1. Does Task Manager show the process that is consuming the RAM?

          When the users disconnect, do they reconnect to the same session? Or does it start a new session? If same session, then it could be a client-side problem.

          1. Anything from Edge to Blast are adding up. Funny thing is that no matter how much ram we give the master image, it always ends up consuming 90% on average. Then there’s a spike and the user gets frozen. Doubtful on client side. We’re using 3-4 different zero clients plus personal PCs and Macs. Moving to Horizon 2006 tonight to see if that alleviates the issue.

        2. Carl is the best and he is the first person to listen to, but for what it’s worth we had a very similar experience as what you’re describing. Check your video driver against the matrix here (https://kb.vmware.com/s/article/2078739), and if your video driver is newer than what is shown, follow the resolution steps and be careful when updating the image.

          1. I completely forgot about that KB and those issues. I followed the steps, and we are still having the problem this morning! Connect with me on twitter @philvirtual and maybe we can swap troubleshooting steps.

  13. We just upgraded from 7.11 to Horizon 8 version 2103. Is it normal for the actual VMs in a non-persistent/Instant clone pool to have snapshots on them in this version? I’m seeing these snapshots appear right after the VM is created. I’ve tried re-working the Master Image 3 or 4 times and it’s still happening. Just curious if you have any insight. Thanks!

      1. Sorry for the delayed response. Given the impacted user experience we’re currently dealing with, I checked with VMware support. Thought I’d update you. Your theory seems to be correct.

        Their response:
        I have checked for the base-snapshot query and it seems it’s expected behavior in 8.0 and later version because of smart provision feature which creates the VDI without CP-parent.

  14. Hi Carl!
    You’re guides are SO awesome and thorough! Thank you so much for being an essential resource for me over the years.
    Do you think you’ll be adding Windows 11 and TPM instructions to this?
    The KMS needed for vCenter to support such encryption has a LOT of gotchyas. We’ve successfully deployed at least a PyKMIP server to get over the hurdle of encryption ability without having to pay for it but could not, for example, easily convert a Windows 10 master image to an encrypted one. Still playing with options there tho. Once available and encrypted we can add the TPM device to get past Windows 11 install / upgrade requirements but not until then.

      1. Oh I didn’t realize 7 had a built in provider! Probably is the same underlying implementation and would be way safer to upgrade vSphere to 7 before attempting with the silly Ubuntu appliance we set up in 6.7 u3. Thanks so much!!
        For what it’s worth I was able to clone my Win10 golden image in 6.7 without encryption (as the new VM has no snapshots, a stop gap to performing the encryption) and then convert it to the encrypted policy so my PyKMIP server is indeed working.
        Bypassing TPM seems scary for a production VDI environment. I do need Windows updates to continue to work.
        With encrypted VMs there are a lot of things to consider; vMotion, time it takes to make snapshots, backup software compatibilities, etc. Think it warrants a write up of those in this article? I’d trust something written by you way more than anyone I google lol.

        1. I was able to build a gold image with the links above with a vtpm in them just fine. Installed horizon client and snapped it. But with I deploy the pool I get this.

          A specified parameter was not correct: spec.disk.backing.crypto Expected CryptoSpecDecrypt:

          Any ideas?

          1. Did you ever get a fix for this? I’m getting the exact same issue…

            spec.disk.backing.crypto Expected CryptoSpecDecrypt:

          2. Although the ESXi 7.0u3c hosts have TPM 2.0 enabled, a Windows 11 VM without vTPM would not install.

          3. I managed to get win11 instant clones working using the vmware workstep for an automated image. Works great and is very easy to update every month now

  15. Hi Carl, nice article i have few doubts is listed below,

    1. Why we have to choose SCSCI controller instead of SATA, that too any specific on that?
    2. i am using instant clone over here will it affect because of choosing SCSCI controller Master Image?
    3. It is mandatory to join the machine in Domain if i am using instant clone?
    4. After optimization we have to Windows update ?
    5. Software need to install before optimization or after?

    Kindly clarify we have are planning to new environment to deploy.

    Regards

    1. Many customers switch to paravirtual intead of LSI Logic.

      I haven’t tried not joining the master to the domain so I don’t know if it works or not. I usually join it so I can make sure GPOs with computer-level settings are applied to my master image.

      No matter when you run optimization, in subsequent months you’ll need to boot your master and update it. That means you will doing installs and updates after optimization is applied. Unless you rebuild your master every month.

      1. NOT joining to the domain works perfectly fine. Actually seeing the clones appear in the domain in that case is a sign things are working. However, I have run into KMS licensing issues when Microsoft’s KMS exists purely in the domain (Active Directory-based activation). In that example (the non-domain joined master) a Windows Activation issue will appear if DNS isn’t pointing to the traditional KMS license server (typically a domain joined PC which may have network layer issues in attempts to access) and that’s carried over to the clones which, for a brief moment on user login, will show activation issues until the OS is successfully activated on the domain Active Directory-based activation.
        What we’ve done is kept the master images domain joined but put them in an OU that DOESN’T get any GPOs but so long as you put them in their own OU and don’t have anything in the root (top level) that you don’t want on your master’s that’s good enough too. When the clones get made they get put in an entirely different OU. Best of both worlds, a far as we’re concerned.

  16. Carl,
    I’m trying to redeploy a windows pool with an updated template. The VMs in the pool are created successfully, but the guest customization to join the domain doesn’t work anymore. The Machine name shows the correct name for the newly created vm, but the DNS name on all the new VMs show the template hostname. Any thoughts?

  17. I can’t able to start the analyse using VMware Optimisation tool.I’m getting below error:

    Error:Selected Template for VMware\windows10 and server 2016 or later.xml can not be loaded

  18. When you have a desktop Pool, with a Master VM where the VM’s get their setup from, can you run a new Snapshot over those machines?

  19. Hey Carl,

    Thank you so much for the guide, i have managed to install everything but I’m having an issue in the end when i log in with the domain user through the client/browser, I can’t see all the installed applications! its like its not seeing the changes in the master image.

    my local admin applications and settings are not shown in the domain users, any idea what I have done wrong?

  20. Hi Carl, I’m installing Horizon Agent 2012-8.1.0-17352461. After the feature selection section there is a dialog box for Remote Desktop Protocol Config in which it states the VMWare Horizon Agent requires the RDP support to be turned on. It also offers a button to decline. What is this protocol actually for, and if it’s required, why offer the option to disable?

  21. Good article, good looking.
    I have one question
    After using VMware OSOT during Windows 10 optimization, why is there an additional Microsoft VDI optimization guide?
    Are the values ​​for optimization using VMware OSOT and MS VDI different?

    1. You can look at multiple optimization guides/tools and make your own determination as to what optimizations should be applied.

      1. Hi Carl. Great article, great tips!
        I have a question, I’ve updated both Connection and Composer to 7.13.2 (from 7.12) and of course Horizon agents to 7.13.2. Since then, I’m getting error while trying to recompose VDIs.
        Error: View Composer agent initialization state error (18): Failed to join the domain (waited 600 seconds)

        Refresh is working as expected, no issues but I need to pass some changes.
        Even created a new pool, (mystiriously) VDIs created as supposed without any problems, but again when trying to recompose that pool I’m getting that error.

        Already checked https://kb.vmware.com/s/article/2006879 and rolled back composer with no luck.
        Also tried a few tips found online without success.

        Any tips on where to look for an answer?? Can you suggest something according to this??

Leave a Reply to Mark McCarron Cancel reply

Your email address will not be published. Required fields are marked *