VCAP6-DTM Deployment Objective 2.2 – Configure and Optimize Desktop Images for Horizon View and Mirage

Configure/Manage Horizon View desktop images

First need to create new Virtual Machine on vCenter Server which manage VDI, login to vSphere Web Client and create new machine. Important setting to remember is to choose VMXNET network adapter for Windows 7 SP1.

Install Windows OS next install VMware tools.
Install service packs and updates.
Install antivirus software.
Install all other application and software which should be included in main image
Microsoft .NET should be installed after View Agent.
Change power option Turn off the display to Never
Set Visual Effects to Adjust for best performance under Advanced System Settings  in Control Panel
Configure network settings if static IP address is to be used
Join to Active Directory
Configure Windows firewall to allow RDP connections

Install and configure the Horizon View Agent

Next step is to install VMware View Agent on the new created machine.

Double click the installation file VMware-viewagent-6.2.0-3005627, Click Next

agent

Agent Installation

Accept license agreement and click Next

agent1

License agreement

Choose IP protocol to use for connection click Next

agent2

IP protocol

Select all option which are required for your deployment plan click Next

agent3

agent4

View Agent features

View Agent will suggest to enable RDP if wasn’t enable before click Next

agent5

RDP option

Click Install to start the installation and restart when prompt,

agent6

 

Optimize Windows services and desktop settings according to best practices

VMware provide good guide to follow which services, task should be stopped or disable to improve Windows OS performance and save disk space of cloned VM.

Disable Disk Defragmentation schedule. From Windows click Start and type defrag, choose Disk Defragmenter for list of application. Click Turn on schedule and deselect Run on a schedule. 

opt1

Disk Defragmentation

When using master Image disable Windows Update so if will not run on linked clone

opt2

Disable Windows Updates

Disable Diagnostic Policy Service

opt3

Diagnostic Service

Disable Superfetch service

opt4

Superfetch service

In Task scheduler disable Registry backup and System Restore

opt5

opt6

Registry and System Restore task

Uncheck Use this Program in Windows Defender under Administrator setting

opt7

Windows defender setting

Change setting in Internet Option for Feed and Web Slice Settings, uncheck Automatically check feeds and Web Slices for updates

opt8

 

Utilize the VMware OS Optimization Tool (OSOT) to optimize Windows 7/8 images

VMware OSOT tool provide fast and easiest way to optimize Windows desktop image to use for VDI deployment. This tool is frequently updated by VMware and new feature are added. New version can be download from here.

osot.JPG

With new version we can perform action as:

Analyze, Optimize, View History, Create templates, download public templates and perform remote analysis.

OSOT tool come with pre-build templates with list of modification for standard master image, we can use templates for Windows 7 or 8 as well Servers 2008 or 2012 for RDS deployment.

OSOT allow to modify Windows setting as in list below.

After running OSOT tool Analysis directly or remotely on Windows machine, OSOT present Analysis Summary in 4 groups

osot2

Analysis Summary

We can as well see detailed summary of what kind of optimization will be applied and what is current state of item.

osot5

Detailed summary

Steps to use OSOT tool:

  1. Running OSOT tool on clean master image
  2. Review the results of the analysis
  3. Run optimization on master image
  4. Analyze result and troubleshoot any failed.
  5. From history tab run rollback is necessary

Create virtual machine snapshots

Login to vSphere Web client and navigate to VM and templates.
Find Main Image for VDI, if the VM is running open console and shutdown Windows.
Next from Action menu choose Snapshots > Take Snapshot.
Type Name and Description and click OK

snap

Snapshot window

Install the VMware Mirage client

Download View Mirage Client installation file from VMware website. Extract and copy to main image, double-click the installation file click next and accept license agreement.

mira1

Mirage Client install

mirage

mira2

Mirage Server information

mira3

 

One response to “VCAP6-DTM Deployment Objective 2.2 – Configure and Optimize Desktop Images for Horizon View and Mirage

  1. Pingback: VCAP6-Desktop and Mobility Deployment Study Guide – Virtual Elementary·

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.