7. Deploying & Configuring a Full Clone Desktop Pool

Completing  Lab 2 is must, before starting this lab.

Part 1. Deploying a base Image for Full Clone Deployments
  1. On your Controlcenter server
    • Site 1 - Bangalore browser
      • from the Favourites bar
        • select the vcenter-01a shortcut
  1. In the vSphere client
    • in the username area
    • in the password area
      • enter Pa$$w0rd
    • enter LOGIN
  1. In the vSphere client
    • Host & Clusters inventory
      • expand the Bangalore datacenter
        • select and right-click W11BaseMaster
          • in the dropdown
            • select Clone > Clone to Virtual Machine
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • 1. Select a name and folder section
      • next to Virtual machine name:
        • enter W11FCMaster
    • in the bottom right corner
      • select NEXT
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • 2. Select a compute resource section
      • expand Region01A
        • expand Bangalore
          • select esxi-01a.techseals.co
    • in the bottom right corner
      • select NEXT
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • In the W11BaseMaster - Clone Existing Virtual Machine wizard
      • 3. Select TPM provision policy section
        • accept the Defaults
      • in the bottom right corner
        • select NEXT
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • 4. Select storage section
      1. next to CorpLun-O1b
        • select the Radio button
      2. next to Select virtual disk format
        • from the dropdown
          • select Thin Provision
    • in the bottom right corner
      • select NEXT
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • 5. Select clone options section
      • next to Power on virtual machine after creation
        • select the radio button
    • in the bottom right corner
      • select NEXT
  1. In the W11BaseMaster - Clone Existing Virtual Machine wizard
    • 6. Ready to complete section
      • Review the selected options
    • in the bottom right corner
      • select FINISH
  1. In the vSphere client
    • select and right-click W11FCMaster
      • in the dropdown
        • select Snapshots > Take Snapshot...
  1. In the Take snapshot window
    • next to Name
      • enter pre-deployed without Agents
    • next to Include virtual machine's memory
      • uncheck the checkbox
    • in the bottom right corner
      • select CREATE
Part 2. Setting and configuring the Master Image

Multiple steps are required to configure the Master Image

  • Pre-Operating system virtual hardware has already been
  • Base Windows 11 24h2 Professional Business version has been Installed
  • The Base Image is set to Audit Mode
  • Our Master Image already has the VMware tools installed
  • We will run the following tasks:
    1. Deploy the Horizon Agent
    2. Deploy the Dynamic Environment Manager FlexEngine
    3. We will run the OS Optimization tools
    4. Deploy the App Volumes Agent
Task 1. Resolving SysPrep issues with Windows 11

Please read this Omnissa Knowledge Base related to Agent installation requirements https://kb.omnissa.com/s/article/2118048

  1. In the vSphere Admin Console
    • under Hosts & Clusters inventory
      • select W11FCMaster
  1. In the vSphere Admin Console
    • to the right, note you are view the W11FCMaster details
      • select the Summary tab
    • in the Summary area
      • select LAUNCH WEB CONSOLE

From Microsoft Windows 22H2 onwards for both Windows 10 and 11 we have come across an issue with Sysprep. After lots of research we have found the following fix. Just something to note, there are several things in Windows 11 that causes Sysprep to fail. This is one of them. If we were to run Sysprep and we were to look at the error log in the Panther folder you would notice that Bitlocker in this case is the issue. We will process with disabling Bitlocker as part of the image preparation process.

Appx applications also cause Sysprep to fail and as part of the image preparation phase, we will execute a PowerShell command issued from our Global Support Services to mitigate an issue with freshly deployed Windows 11 base image when wanting to run Sysprep.

  1. On the W11FCMaster  desktop
    • on the System Preparation Tool 3.14
      • select Cancel

Your base image is in Audit Mode and as a result the System Preparation Tool automatically launches. We trigger Audit mode whilst installing the base image

  1. On the W11FCMaster  desktop
    • on the Taskbar
      • in the SEARCH area
        • enter Power
      • from the pop-up
        • select Windows PowerShell
      • in the Windows PowerShell area
        • select Run as administrator
  1. In the Windows PowerShell window
    • enter
Disable-BitLocker -MountPoint "C"
  • note that the Protection Status is now Off

please note, in testing this we had varying results.  the decrypt process can anywhere up to 10 minutes

 

  1. On the W11FCMaster  desktop
    • select the Control Panel shortcut
    • in the Windows PowerShell area
      • select Open
  1. In Control Panel
    • select System and Security
  1. In Control Panel
    • under System and Security
      • select Bitlocker Drive Encryption
  1. In Control Panel
    • under Bitlocker Drive Encryption
    • validate that BitLocker is off
    • If its still decrypting wait for it to complete before moving onto the next step
  1. In the Windows PowerShell console
    • enter
Set-ExecutionPolicy Unrestricted
  • with your keyboard select ENTER
    • If you get prompted , enter A
  1. In the Windows PowerShell console
    • enter
Get-AppxPackage -AllUsers | Where PublisherId -eq 8wekyb3d8bbwe | Remove-AppxPackage
  • with your keyboard
    • select ENTER
  • What you will notice is the Windows PowerShell will execute and there will be a lot of errors occurring
  • The Windows PowerShell will then Bomb out
    • relaunch the Windows PowerShell ,
      1. set  the ExecutionPolicy to Unrestricted
      2. relaunch the above command
        • you will notice on round 2, the Windows PowerShell does not bomb out

The purpose of fulfilling this task to remediate an APPX applications issue where some Apps are associated with individual users. This is a Microsoft SysPrep issue and has to be resolved for SysPrep to work

  1. In the Windows PowerShell window
    • enter the next PowerShell string
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  • If we only executed the command in step 11.
    • When a reboot  occurs there is  no Taskbar.
    • We then run the command in step 12 to fix the Taskbar issue.
  • To continue with Task 2 remain on W11FCMaster
Task 2. Deploying the Horizon Agent for Full Clone Pools

Please read this Omnissa KB related to Agent FullClone installation requirements https://kb.omnissa.com/s/article/2118048

  1. On the W11FCMaster desktop
    • select the software shortcut
  1. On the File Explorer window
    • browse to Horizon > 2412
      • select and right-click the Horizon-Agent-x86_64-2412-8.14.0-xxxx installer
        • select Run as administrator
  1. In the Open File - Security Warning window
    • select Run
  1. In the Horizon Agent deploy wizard
    • Welcome Wizard
      • select Next
  1. In the Horizon Agent deploy wizard
    • Network protocol configuration
      • select Next
  1. In the Horizon Agent deploy wizard
    • Custom Setup configuration
      • next to USB Redirection
        • from the dropdown
          • select This feature, and all subfeatures, will be installed on local hard drive
  1. In the Horizon Agent deploy wizard
    • Custom Setup configuration
      • next to Instant Clone Agent
        • from the dropdown
          • select This feature, will not be available
  1. In the Horizon Agent deploy wizard
    • Custom Setup configuration
      • next to Horizon Performance Tracker
        • from the dropdown
          • select This feature, and all subfeatures, will be installed on local hard drive
      • select Next
  1. In the Horizon Agent window
    • select OK
  1. In the Horizon Agent deploy wizard
    • Remote Desktop Protocol Configuration
      • next to Enable the Remote Desktop capability on this computer
        • select the radio button
          • select Next
  1. In the Horizon Agent deploy wizard
    • Ready to Install the program
      • next to Automatically restart system on successful completion
        • select the checkbox
          • select Install

Once the Horizon Agent has completed installation an Automatic reboot should occur.

  • Remain on your W11FCMaster session to complete Task 3
Task 3: Deploying the Dynamic Environment Manager FlexEngine in NOAD Mode.
  1. In the W11FCMaster window
    • from the taskbar
      • open the Folder icon
  1. In the W11FCMaster window
    • from the QuickAccess bar
      • select This PC > Local Disk (C:)
      • in the Local Disk (C:) area
      • select and right-click
        • from the dropdown
          • select New > Folder
        • In the folder name
          • enter DEM
      • select and right DEM
        • from the dropdown
          • select Open
  1. On the W11FCMaster desktop
    • select the software shortcut
  1. On the W11FCMaster desktop
    • In the Software folder
      • open the following path
        • open DEM >  2412 > Omnissa -DEM-Enterprise-2412-10.14
        • select and right-click Omnissa Dynamic Environment Manager Enterprise 2412 10.14 x64
          • from the dropdown
          • select Copy
  1. On the W11FCMaster desktop
    • switch to your C:\DEM  folder
      • In the DEM folder
        • select and right-click
      • from the dropdown
        • select Paste
  1. On the W11FCMaster desktop
    • switch back to your Software\DEM  folder
      • In the DEM folder
        • select and right-click NOADCMD
        • from dropdown
          • select Open
  1. In the Notepad window
    • using your keyboard,
      • select CTRL+A
      • select CTRL+C
  1. On the W11FCMaster desktop
    • select and right-click the Command Prompt shortcut
      • from the dropdown
        • select Run as Administrator
  1. In the Administrator: Command Prompt window
    • enter
 cd c:\dem
  • with your keyboard
    • Press Enter
  1. In the Administrator: Command Prompt window
    • Paste the copied data
      • with your keyboard
        • Press CTRL+V
        • Press ENTER
  1. In the File Explorer window
    • In the Quick Access bar
      • select This PC
      • under Devices and Drives
        • select and open Local Disk (C:)
  1. In the File Explorer window
    • Local Disk (C:)
      • open the Dem folder
    • select and right-click InstallDEM
      • select Open
  1. In the Notepad window
    • scroll down to the bottom of the window
      • note that the Dynamic Environment Manager has installed successfully

To prepare for the next task, on the W11FCMaster close the Notepad, File Explorer and Command Prompt windows

Task 4. Optimizing the Windows 11 base for Desktop Virtualization
  1. On the W11FCMaster desktop
    • launch the software shortcut
  1. In the Software folder
    • open the Horizon > OSOptimization Tools folder
    • in the OSOptimisation folder
      • select and right-click OmnissaHorizonOSOptimizationTool-x86_64-xxxx
        • from the dropDown
          • select Open
  1. In the Open File - Security Warning window
    • select Run
  1. In the Windows OS Optimization Tool for Omnissa Horizon
    • next to I accept the terms of the agreement
      • select the checkbox
        • select Next
  1. On your W11FCMaster virtual machine
    • in the Windows OS Optimization Tool for Omnissa Horizon
      • select Analyze
  1. In the Windows OS Optimization Tool  for Omnissa Horizon
    • select Common Options
  1. In the Common Options window
    • side Menu bar
      • select Visual Effect
      • In the Visual Effect area
        • next to Best performance
          • select the radio button
  1. In the Common Options window
    • side menu bar
      • select Update
        • we will leave all options as default
  1. In the Common Options window
    • side menu bar
      • select Background
    • In the Background settings area
      • we leave the default checkboxes enabled
      • in the color pane
        • select a preferred color.
  1. In the Common Options window
    • in the side menu bar
      • select Security
      • below Choose Security Options
        • next to Disable Firewall
          • select the checkbox
        • next to Disable Antivirus
          • select the checkbox
        • next to Disable Security Center
          • select the checkbox
    • to close the Common Options window
      • select OK
  1. In the Windows OS Optimization Tool for Omnissa Horizon
    • in the bottom right corner
      • select Optimize
  • Note, towards the end of the optimization process, this current version throws an error which opens in the background.
  • On the Error window, select OK

With Full Clone Automated Pool Deployments we SysPrep during the deployment. We will skip Generalize and move onto Finalize

  1. In the Windows OS Optimization Tool for Omnissa Horizon
    • Menu Bar
      • select Finalize

The Finalize process will take around 30 minutes to complete

  • One might consider starting chapter 7 or have a break and then coming back to complete the lab.
  1. In the Windows OS Optimization Tool
    • Overview area
    • note the defaults
      • we will not change any configurations
    • In the bottom right corner
      • select Finalize
  1. In the Information window
    • note the forthcoming steps
      • to close
        • select OK
    • close the Windows OS Optimization Tool

We still have to Deploy the App Volumes Agent, then we can shutdown and take a virtual machine Snapshot before we move on to Desktop Pool creation

Task 5. Deploying the App Volumes Agent
  1. On the W11FCMaster desktop
    • select and right-click the Command Prompt
      • In the Command Prompt
        • enter Ipconfig /renew
      • close the Command Prompt window
  1. In the Software folder
    • On the W11FCMaster desktop
      • select and open the software shortcut  to
        • browse to App Volumes > 2412 > Installation
  1. In the Installation folder
    • select and right-click the Setup
      • select Open
  1. On the Open File - Security Warning window
    • select Run
  1. In the App Volumes Installer Setup deploy wizard
    • "Welcome Wizard"
      • select Next
  1. In the App Volumes Installer Setup deploy wizard
    • App Volumes Install Screen
      • note that Install App Volumes Agent is the default
      • select Install
  1. In the App Volumes Agent Setup deploy wizard
    • "Welcome Wizard"
      • select Next
  1. In the App Volumes Agent  deploy wizard
    • below App Volumes Manager Address:
      • enter appvol-01a.techseals.co
        • select Next

Note, we are not going to select the check box next to Disable certificate validation for App Volumes Manager. For production environments this is considered best practice. We will demonstrate in a later lab for App Volumes how to update App Volumes manager with CA signed Certificates.

  1. In the App Volumes Agent  deploy wizard
    • next to Non-persistent or multi-session machines
      • ensure the radio button is selected (default)
    • select Next

From App Volumes 2406 virtual machines that are not deleted or refreshed at log off are now supported

  1. In the App Volumes Agent  deploy wizard
    • Ready to Install App Volumes Agent
      • select Install
  1. In the App Volumes Agent  Setup wizard
    • select Finish
  1. In the App Volumes Agent  Setup window
    • select Yes
  1. On the W11FCMaster desktop
    • select and right-click the Command Prompt
      • In the Command Prompt
        • enter Ipconfig /flushdns
        • enter Ipconfig /release
        • enter shutdown /s /t 0
Task 6.  Configuring the Windows 11 Master Image for vTPM integration

For a full in depth consideration regarding vTPM read the following Omnissa KB

https://kb.omnissa.com/s/article/85960

  1. On your Site 1 vCenter Admin console
    • in the Host & Clusters Inventory
      • select and right-click  W11FCMaster
        • in the drop menu
          • select Edit Settings.....
  1. In the Edit Settings window
    • in the Virtual Hardware tab
      • expand Security Devices
    • to the right and In line with Virtual TPM
      • select  the 3 dot icon
        • select Remove device
    • In the Warning: data loss window
      • select DELETE
    • to close the Edit Settings window
      • select OK
  1. In the vSphere client
    • In the Host & Clusters inventory
      • select and right-click W11FCMaster
    • from the pop-out menu
      • select Template > Convert to Template
  1. In the Confirm Convert window
    • select YES

We have already created a Customization specification file in the previous Lab. We will now create

Part 3. Deploying a Windows based Full Clone Pool
  1. On your Controlcenter server
    • Site 1 - Bangalore browser
      • from the Favourites bar
        • select the Horizon Site 1 shortcut
      • In the Horizon Login window
        • Username area
          • enter Administrator
        • Password area
          • enter Pa$$w0rd
        • select Sign in
  1. In the Horizon Admin Console
    • In the left pane
      • under Inventory,
        • select Desktops
  1. In the Desktop Pools area
    • select ADD
  1. In the Add Pool wizard
    • step 1. Type
      • leave default
        • select NEXT
  1. In the Add Pool wizard
    • step 2. vCenter Server
      • next to Full Virtual Machines
        • select the radio button
      • select NEXT
  1. In the Add Pool wizard
    • step 3. User Assignment
      • next to Dedicated
        • ensure the radio button is selected
      • select NEXT
  1. In the Add Pool wizard
    • step 4. Storage Optimization
      • select NEXT
  1. In the Add Pool wizard
    • step 5 Desktop Pool Identification,
      • update the following areas:-
        • under ID
          • enter W11-BLR-FullClone
        • under Display Name
          • enter W11FullClone
        • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • Provisioning Settings
      • under Use a Naming Pattern
        • enter W11FullClone-
      • under Desktop Pool sizing > Maximum Machines
        • enter 2
    • at the bottom fo the window
      • below Virtual Device
        • next to Add vTPM Device to VMs
          • select the checkbox
        • In the Warning window
          • select OK
    • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • step 7 vCenter Settings
      • configure the following:-
        • in line with Golden Image in vCenter:
          • BROWSE to W11FCMaster and SUBMIT
        • under VM Folder Location
          • BROWSE to RegionA01 and SUBMIT
        • under Resource Settings
          • Host or  Cluster
            • BROWSE to Bangalore and SUBMIT
          • under Resource Pool
            • BROWSE to Bangalore and SUBMIT
          • under Datastores
            • BROWSE to CorpLUN-01b and SUBMIT
          • In the Warning window
            • select OK
      • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • step 8 Desktop Pool Settings
      • under Log off After Disconnect:
        • from the dropdown
          • select Immediately
    • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • step 9 Remote Display Settings
      • accept the defaults
    • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • step 10 Advanced Storage Options
      • below Transparent Page Sharing Scope
        • select Desktop Pool
    • select NEXT
  1. In the Add Pool  - W11-BLR-FullClone wizard
    • step 11 Guest Customization
      • next to Allow Reuse of Existing Computer Accounts
        • select the checkbox
      • select NEXT

Note the Developers Guest Customization we created earlier is selected by default

  1. In the  Add Pool  - W11-BLR-FullClone wizard
    • step 11 Ready to Complete
      • next to Entitle Users After Adding Pool
        • select the checkbox
      • select SUBMIT
  1. In the Add Entitlements window
    • select ADD
  1. In the Find User or Group window
    • next to Domain,
      • from the dropdown,
        • select techseals.co
    • next to Name/User Name,
      • to the right of Starts with,
        • enter developers
    • select Find
      • under Find
        • next to Developers
          • select the CheckBox
    • to close Find User or Group
      • select OK
    • to close Add Entitlements
      • select OK
  1. In the Info window
    • select OK
  1. In the Horizon Admin Console
    • under Inventory
      • select Machines
  1. In Machines area
    • to view the Machine Status ,
      • use the scroll bar at the bottom of the window
        • scroll right.
    • Wait until the Status shows Available for your Machines

You are looking at least 30 - 40 min for this Pool to be provisioned in this environment. Possibly move onto the next Chapter and come back to Part 3 to test later

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.