Lab 1: Optimizing Windows 11 Desktop
Objective and Tasks
In this lab, the base image of Windows 11 is already deployed in a VM. We will follow through entering audit mode, installing VMware Tools, optimizing, generalizing, installing the Omnissa Horizon Agent, and finalizing the image to make it ready for use in Horizon.
- Connect to vCenter and power on the Golden Image W11BaseClean
- Enter Windows Audit Mode on W11BaseClean
- Install VMware Tools
- Run the Omnissa Windows OS Optimization Tool for Horizon to Optimize the W11BaseClean image
- Run the OS Optimization Tool to Generalize the W11BaseCleanRun image
- Install the Horizon Agent
- Use the OS Optimization Tool to Finalize the W11BaseClean image
- Optimizing the virtual machine hardware and take a VM Snapshot
- Login to ControlCenter (Landing Desktop)
- Username: administrator
- password : Pa$$w0rd
- On your ControlCenter server open the Chrome Browser
- From the Favorites bar:
- Select the vcenter-01a shortcut to open vSphere web Client
- Login with the below credentials:
- Username: [email protected]
- password : Pa$$w0rd
- In the vCenter Inventory, Select W11BaseClean
- From the Actions menu, Select Power
- Power ON W11BaseClean
- Once the VM is Powered On, click on Launch Web Console to open the VM Console

Windows 11 operating system is pre-installed in the VM. As a first step, we will enter Windows audit mode.
- To enter audit mode in the W11BaseClean Console where it shows country or region
- Press CTRL+SHIFT+F3 on your keyboard

- When Windows reboots, it will display the System Preparation Tool dialog box
- This dialog might be hidden behind the start menu.
- Cancel or close that dialog as we will leave the machine in audit mode for now.
Note: After reboots, this message will reappear. Each time it does, press cancel.

- In the Chrome Browser, switch to the vCenter tab - vSphere - W11BaseClean
-
Right click W11BaseClean
- Go to Guest OS > Install VMware Tools
- In the Install VMware Tools Window, click MOUNT

- Switch back to the web console of the VM by selecting the W11CleanBase tab in Chrome.
- In W11BaseClean VM, Open Windows Explorer
- Go to This PC > DVD Drive (D: ) VMware Tools > Setup
- This brings up the VMware Tools installation dialog window
- Click Next

- Select the Custom Setup Type
- Select Custom
- Click Next

- Deactivate the Carbon Black Helper Component If Not Required
- Deselect Carbon Black Helper, unless you use Carbon Black.
- Scroll down.
Note: In NSX-enabled environments, enable the NSX File and Network Introspection drivers. For now, we'll leave this deselected.

- Exclude the Service Discovery Component
- Deselect Service Discovery, which enables the discovery of various services running inside a virtual machine. This component is not necessary.
- Scroll down.

- Exclude the Volume Shadow Copy Component
- Deselect Volume Shadow Copy Services Support. This component is not required.
- Click Next

- Begin Installation of VMware Tools
- Click Install.

- Exit the Installation Wizard
- Click Finish

- When prompted, restart Windows
- Click Yes

- When Windows restarts, the System Preparation Tool dialog box will display again
- Cancel or close that dialog as we will leave the machine in audit mode for now
- On the W11BaseClean desktop
- Right-click on Start Menu > Run
- Type \\horizon-01a\software\horizon\
- When Prompted for username : techseals\Administrator
- Password: Pa$$w0rd
- Access the network share\\horizon
- Navigate to OSOptimization Tools folder

- In the OSOptimisation folder, Navigate to OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe.
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe
- From the dropDown
- Select Open
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe

- In the Open File - Security Warning window
- select Run

- When the Omnissa Windows OS Optimization Tool for Horizon launches for the first time, you should accept the license agreement
- Select the checkbox next to I accept the terms of the agreement
- Click the Next button

- In the Windows OS Optimization Tool for Horizon
- Select Analyze

- When Analyze completes, you can tune the optimizations that will be applied
- Select Common Options

- Select Visual Effect, in the Common Options window side menu bar
- In the Visual Effect area
- Select the radio button next to Best performance

- Select Update, in the Common Options window side menu bar
- We will leave all options as default to disable Windows Update functionality

- Select Store Apps, in the Common Options window side menu bar
- In the Store Apps settings area
- Leave the default option selected to Remove Windows Store Applications
- Select the following Windows Store Applications to be kept:
- Calculator, Sticky Notes, Paint3D, and MSTeams

- Select Background, in the Common Options window side menu bar
- In the Background settings area
- We leave the default checkboxes enabled
- In the color pane select a preferred color.
- In the Background settings area

- Click OK to close the Common Options Window
- In the Windows OS Optimization Tool for Horizon
- In the bottom right corner, select Optimize

- When the Optimize tasks complete, restart Windows
- Click the Windows Start button
- Click on the Power icon
- Select the option to Restart
- When Windows restarts, the System Preparation Tool dialog box will display again
- Cancel or close that dialog as we will leave the machine in audit mode
- The next task, Generalize will take Windows out of audit mode
- On the W11BaseClean desktop
- Right-click on Start Menu > Run
- Type \\horizon-01a\software\horizon\
- When Prompted for username : techseals\Administrator
- Password: Pa$$w0rd
- Access the network share
- In the OSOptimisation folder, Navigate to OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe.
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe
- From the dropDown
- Select Open
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe
- When the OS Optimization Tool opens, select Generalize from the ribbon menu
- Select the correct Time Zone and Locales.
- Check the Automatic Restart option
- Click Generalize

After Generalize and Sysprep completes, Windows will restart and apply updates.
- On the W11BaseClean desktop
- Right-click on Start Menu > Run
- Type \\horizon-01a\software\horizon\2503
- When Prompted for username : techseals\Administrator
- Password: Pa$$w0rd
- Access the network share
- In the File Explorer window
- Select and right-click the Omnissa-Horizon-Agent-x86_64-2503-8.15.0-XXXXX
- Select Open

- In the Open File - Security Warning window
- Select Run

- In the Omnissa Horizon Agent deploy wizard, Welcome Wizard
- Select Next

- In the Omnissa Horizon Agent deploy wizard, Network protocol configuration
- Leave the default selection of IPv4
- Select Next

- In the Omnissa 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
- Next to USB Redirection

- In the Omnissa 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
- Next to Horizon Performance Tracker
Note that Instant Clone functionality is enabled by default

- In the Omnissa Horizon Agent window you will get a warning about USB redirection
- Select OK

- In the Omnissa Horizon Agent deploy wizard, Remote Desktop Protocol Configuration
- Leave the default selection to Enable the Remote Desktop capability on this computer
- Select Next

- In the Omnissa Horizon Agent deploy wizard, Ready to Install the program
- Select the checkbox next to Automatically restart system on successful completion
- Click the Install button

Once the Horizon Agent has completed installation an Automatic reboot should occur.
To complete the next task, remain on your W11BaseClean
- On the W11BaseClean desktop
- Right-click Start Menu > Run
- Type \\horizon-01a\software\horizon\
- When Prompted for username : techseals\Administrator
- Password: Pa$$w0rd
- Access the network share
- Navigate to horizon>OSOptimization Tools folder

- In the OSOptimisation folder
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe
- From the dropDown
- Select Open
- Select and right-click OmnissaHorizonOSOptimizationTool-x86_64-1.2.2506.xxxx.exe
- When the OS Optimization Tool opens, select Finalize from the ribbon menu

- To reduce the time required to complete this lab, you will deselect several Finalize options.
- Normally you would leave these selected to properly prepare and Finalize the image.
- In the Overview area, uncheck the following options:
- Native Image Generator (NGEN)
- Side by side Component Cleanup (DISM)
- Compact
- Disk Cleanup
- Clear system event logs
- Clean Default User Profile

- In the Choose information to clear area, uncheck the following options:
- Zero empty disk space
- Create Local Group Policies

- In the bottom right corner
- Select Finalize
- When Finalize completes, an Information window will be displayed
- Note the recommended next steps
- Select OK to close the Windows OS Optimization Tool
- Once done, shutdown W11BaseClean

You unchecked and deselected several of the Finalize tasks that normally take a long time to complete, so will complete quickly. Normally, the Finalize process can take over 30 minutes to complete.
For a full in-depth considerations regarding vTPM read the following Omnissa KB
https://kb.omnissa.com/s/article/85960
- On your vCenter Admin console
- In the Host & Clusters Inventory
- Select and right-click W11BaseClean
- In the drop-down menu, select Edit Settings.....
- In the Host & Clusters Inventory

- 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
- In the Virtual Hardware tab, expand Security Devices

- In the vSphere client
- In the Host & Clusters inventory
- Select and right-click W11BaseClean
- From the pop-out menu select Snapshots > Take Snapshot

- In the Take Snapshot window
- Next to Name, enter Production ready version 1.0
- Select CREATE

- Your Gold Image is now ready for provisioning by Horizon pools. This brings you to the end of this lab
0 Comments
Add your comment