- Advertisement -
HomeVirtualizationVDIVDI-LAB-2018 – Part 11 – Create a Windows 10 Golden Image

VDI-LAB-2018 – Part 11 – Create a Windows 10 Golden Image

Summary:

It is time to create and optimize the golden image that we will use to deploy all our desktops. The primary purpose of this golden image is to run a basic test with the Login VSI benchmark tool, so I will optimize a Windows 10 VM to get the best performance (low latency) and user experience (low applications response times). Only some basic applications and MS office 2016 will be installed. Nevertheless, it could be used as an essential guide for any deployments with Horizon View.

Note for Login VSI testers: To date, I can guarantee that if you follow all the steps in this guide (part), you'll have no issues when testing any worker with Login VSI 4.1.

Note: This is a massive post (the most extensive post of this series), I want to keep my step-by-step format as much as I can, even though many images are not necessary for an average (IT) user.

Note: This guide will also work with vSphere 6.7, some configurations aren't needed.

- Advertisement -

This is part 11 out of 12 of the VDI LAB series. Check out the introduction first.

The ultimate VDI deployment guide (from scratch) with VMware vSphere 6.5 and Horizon View 7.3 – 2018. 😉

1. Prerequisites

  • Windows Server 2016. Domain Controller server previously created in Part 5 of this series
  • Download Windows 10 64-bits and MS office 2016 ISO file and upload it to an accessible datastore.
  • Create/upload an ISO with all the programs you will install or, make sure you can obtain them after connecting the VM to the internet.

2. VM configuration

First off is to create and configure this new VM to be used as a template.

@vSphere Client

Note: This is the vSphere Client set in part 7 of this series, due to our desktop infrastructure will be deployed here. If you are interested in only the tune-up of the golden image and you are not following the whole VDI-LAB series, don’t mind this, any ESXi host will do.

  1. Right-click on your host and select New Virtual Machine
  2. Select: Create a New virtual machine.
New Virtual Machine
  1. Name your VM. A recommendation is to use an easy VM pattern.
New Virtual Machine
  1. Select your host (or cluster).
New Virtual Machine
  1. Select your datastore.
New Virtual Machine
  1. Leave by default or select ESXi 6.5 and later.
New Virtual Machine
  1. Select Windows as OS family and Microsoft Windows 10 (64-bit) as the OS version.
New Virtual Machine
  1. From Virtual Hardware, change:
    • CPU to 2
    • Memory to 4096 MB
    • Check Reserve all guest memory (All locked).
    • Note: This is recommended to avoid performance issues in large environments, but this depends on the available resources and isn't a must for a lab.
    • New Hard disk to 50 GB
    • Make sure you have the network available and is connected.
New Virtual Machine
  1. Still on Virtual Hardware...
    • Expand the network and change the Adapter Type to VMXNET 3
    • Select Datastore ISO File under New CD/DVD Drive, then select your Windows 10 image and make sure that Connect At Power On is checked.
    • Remove Floppy Drive
New Virtual Machine
  1. Still on Virtual Hardware…
    • Go to Video card, and change Number of displays to 4 and Total video memory to 64 MB.
    • Note: Total video memory is usually configured up to 128 MB, but for my scenario, I do think is not necessary. Also, Number of displays can be set to only 2.
    • Do not check Enable 3D Support unless you have Graphics Card support on your ESXi hosts.
New Virtual Machine
  1. Move to VM Options tab
    • From Boot Option, check Force BIOS setup - The next time the virtual machine boots…
New Virtual Machine
  1. Still on VM Options
    • Go to Advance, and from Settings uncheck Enable logging
    • Then go to Edit Configuration…
New Virtual Machine
- Advertisement -

Note: Steps 13 to 16 are not needed on vSphere 6.7.

  1. On the new window, Configuration Parameters, add a new parameter:
    • Name: devices.hotplug
    • Value: false
    • Click Add, OK and then Next.
New Virtual Machine
  1. Finally, review your configuration and click Finish.
New Virtual Machine
  1. Now power on the VM and open the VM remote console. Wait to get to the BIOS and from the Advanced tab, go to I/O Device Configuration and disable the Floppy drive, also the Serial, Parallel, and Floppy Controllers.
New Virtual Machine Bios
  1. Now to Exit tab and click Exit Saving Changes (or hit F10 ) to save the settings and reboot.
New Virtual Machine bios

3. OS installation

After the VM is rebooted, you will reach the first screen of the Windows installer.

  1. Press Shift-F10 to open a command prompt to create a partition for reserved space compatible with VDI.
Windows 10 Install Golden Image
  1. Type and hit Enter in the following order:
    • diskpart
    • Select Disk 0
    • Create Partition Primary
    • Exit
    • Exit
Windows 10 Install Golden Image
  1. You will be returned to the previous screen of windows installer, leave everything by default, we can change this later.
Windows 10 Install Golden Image
  1. Click on Install now.
Windows 10 Install Golden Image
  1. Select Windows 10 pro, or the available version according to your region/image and click Next.
Windows 10 Install Golden Image
  1. Check to accept license terms and Next.
Windows 10 Install Golden Image
  1. Select Custom: Install Windows only.
Windows 10 Install Golden Image
  1. Select the available partition and Next.
Windows 10 Install Golden Image
  1. Wait few minutes for the Windows installation files.
Windows 10 Install Golden Image
  1. Wait for windows to start.
Windows 10 Install Golden Image
  1. Select your region and click Yes.
Windows 10 Install Golden Image
  1. Select a keyboard layout and click Yes.
Windows 10 Install Golden Image
  1. Skip adding a second keyboard layout.
Windows 10 Install Golden Image
  1. Skip Connect to a network.
Windows 10 Install Golden Image
  1. This is an important step, let’s create a “user” to use for the initial configuration, later this user will be deleted. I created an user named “user” (Original...)
Windows 10 Install Golden Image
  1. Create and confirm a password and add a hint.
Windows 10 Install Golden Image
Windows 10 Install Golden Image
Windows 10 Install Golden Image
  1. Turn off all “privacy setting for your device.”
Windows 10 Install Golden Image
  1. Wait to windows gets ready.
Windows 10 Install Golden Image
  1. Finally, we will get to the Windows 10 desktop.
Windows 10 Install Golden Image

4. OS customization

It is time to do all necessary tweaks and tunings to boost the performance of this precious golden image.

4.1 Install VMware tools.

  1. Mount the ISO from VMware Web Client.
VMware tools
  1. Double-click Drive DVD (D:) VMware Tools
Vmware tools
  1. Follow the installation wizard, select Typical setup, click install and finish, then reboot the OS.
Vmware tools

4.2 Enable the Administrator account

  1. Log in to the desktop using the created “user” and password.
  2. Enable a local administrator account. Right-click on the start button and go to Computer Management.
  3. Go to: Local User and Groups / User,  Right-click on Administrator / Properties.
Enable the Administrator account
  1. Uncheck Account is disabled. Make sure Password never expires is checked. Click OK. (No password need to be set)
Enable the Administrator account
  1. Sign out the desktop and sign on using the administrator account.
Enable the Administrator account

4.3 Delete the “user” profile and account

  1. Go to: Control Panel - System and Security - System
  2. Then go to Advanced system settings / Advanced,  from User Profiles, select Settings  Select “user” profile - Delete - OK
Delete the user profile and account
  1. Right Click on Start / Computer Management / Local Users and Groups / Users
  2. Right Click on “user” and choose Delete
  3. Click OK to the warning messages.
Delete the user profile and account

4.4 Change computer name

  1. Go to Control Panel / System and Security / System
  2. Then go to Remote settings / Computer Name / Change / Input new computer name (keep it simple) / OK.
  3. Restart the computer. We will add the machine to the domain later.
Change computer name
  1. Also, change/adjust date and right (proper) time zone.

4.5 Install .NET Framework 3.5

  1. Go to: Control Panel – Programs – Programs and Features – Turn Windows Features on or off
  2. Check .NET Framework 3.5 and click OK
  3. Download and install the files
Install .NET Framework 3.5

4.6 Run Windows update, install all the latest patches

  1. Click on the Start button – Settings – Update & Security – Check for Updates.
  2. Install all available Windows updates.
  3. Reboot the VM and repeat this process until all Windows updates have been installed.

4.7 Run cleanup manager:

  1. Click Start, and then click Run.
  2. Type cleanmgr to open Disk Cleanup for (C:)
Run cleanup manager
  1. Check all items you want to delete
  2. Click OK
Run cleanup manager

4.8 Set Power Options to high

  1. GO to: Control Panel – Hardware and Sound – Power Options.
  2. Click Show Additional Power Plans, Choose High Performance, and Click Create a Power Plan.
Set Power Options to high
  1. Choose “High Performance,” for a plan name type “VDI” or whatever name you want. Click Next.
Set Power Options to high
  1. Select Never to: Turn off the display and Put the computer to sleep. Click Create.
Set Power Options to high

4.9 Install and run VMware OS Optimization tool.

  1. Install and run the VMware OS Optimization tool. As mentioned before, I am optimizing for Login VSI test with Windows 10, so I am using a template provided by them.
  2. Download VMware OS optimization tool: https://labs.vmware.com/flings/vmware-os-optimization-tool
  3. Get the template by Login VSI. This is optional. There are pre-configured templates provided by VMware that could be used.
    • Run VMware OSOT and open the My Templates tab
    • Click Import Template at the right bottom of the window
    • Browse to the VDILIKEAPRO / Login VSI tuning template xml file
    • Open the Analyze tab and select the My Templates\Windows 10 - Login VSI - VDILIKEAPRO template
    • Click analyze to compare your system to the tuning template
    • Apply tuning where needed

4.10 Improve login time for floating desktops on Horizon View

  1. Click on the Start button – type Run.
  2. Type regedit
  3. Delete a registry key named StubPath from these directories:

HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{2C7339CF-2B09-4501-B3F3-F3508C9228ED}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{2D46B6DC-2207-486B-B523-A557E6D54B47}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4340}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{89B4C1CD-B018-4511-B0A1-5476DBF70820}
HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{22d6f312-b0f6-11d0-94ab-0080c74c7e95}

  1.  In my case, just 4 out of these 8 keys are present, just delete the ones you have
regedit

4.11 Join the machine to the domain.

  1. Follow the same steps as number 7 but now join the machine a domain and restart the VM

Note: This could be done in the corresponding previous step, I consider is better to wait to avoid some permissions issues (Depends on your domain configuration).

Join the machine to the domain

4.12 Configure PageFile.

  1. This varies depending on your configuration and purpose. Visit these links for more information:
  2. Go to: Control Panel / System and Security / System
  3. Then go to Advanced system settings / Advanced, and from Performance, select Settings
Configure PageFile
  1. Go to Advanced Tab / Change… Uncheck the first option and check "Custom size"
    • Initial size (MB): 2048
    • Maximum size (MB): 4096
  2. Click Set and then OK until all windows are closed.
  3. Restart the VM
Configure PageFile

5. Install MS office 2016 and essential apps

5.1 Install Horizon View 7 agent.

  1. Mount ISO files or download latest version of Horizon View. The version I am using for this series is 7.3.2.
  2. From the installation wizard, I am leaving as default everything.
  3. Reboot the VM after installation.
Install Horizon View 7 agent

5.2 Install MS office 2016

  1. Mount MS office 2016 ISO.
  2. Download office deployment tool for MS office 2016 from this link: https://www.microsoft.com/en-us/download/details.aspx?id=49117
Install MS office 2016 silent installation
  1. Open the installer and accept the Microsoft license to continue. Install the files on your desktop.
  2. Three files will be created: Configuration, EULA, and setup.
  3. Change the name of the folder to a shorter/easy one, like only office” and copy this folder to the desktop.
  4. Right click on Configuration / Open with / Notepad

Note: Depends on what you want to install this must be changed, I will keep a basic configuration without all necessary MS office application that I won’t need for testing.

  1. For this test, I want to install Office 32-bits with Word, Excel, Powerpoint, and Outlook. Make sure the right source path is selected.
  2. Replace/Edit the configuration file as following and save it:

<Configuration>
 <Add SourcePath="D:\" OfficeClientEdition="32" >
   <Product ID="ProPlusRetail">
      <Language ID="en-us" />
      <ExcludeApp ID="OneDrive" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Publisher" />
  
   </Product>
 </Add>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="AUTOACTIVATE" Value="1" />
  <Updates Enabled="TRUE" Channel="Monthly" />
</Configuration>

  1. Open command prompt as administrator.
  2. Run:
    • cd desktop/office
    • setup /configure configuration.xml
  3. MS Office will start the installation.
Install MS office 2016 silent installation
  1. Wait until the installation is completed.
Install MS office 2016 silent installation
  1. Click Close to finish the installation.
Install MS office 2016 silent installation

5.3 Tune up the MS office 2016 installation

Important: To avoid “First-thing-first” and other unwanted messages after cloning this image, copy the following Reg paths in notepad, save it as .bat and the run it.

  1. Notice that this is configured for Office 2016 32-bits.
    • For office 2013 or 365. Use the number 15 instead of 16.
    • For office 64-bits versions, delete the “Wow6432Node” path.

reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Registration" /v AcceptAllEulas /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings" /v Count /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\FirstRun" /v BootedRTM /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\FirstRun" /v disablemovie /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Registration" /v AcceptAllEulas /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Common\General" /v shownfirstrunoptin /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Common\General" /v ShownFileFmtPrompt /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Common\PTWatson" /v PTWOptIn /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\16.0\User Settings\MyCustomUserSettings\Create\Software\Microsoft\Office\16.0\Common" /v qmenable /t REG_DWORD /d 1 /f >nul

  1. Test office and check that no welcome message is present at start it.
  2. After setting above paths, there is no reason to set group policies for this, but for domain joined machines, is better to use it as well, so we can avoid any issue after cloning.
  3. Download, Install and configure Office 2016 Administrative Template files.
office 2016 first thing first
  1. Open the installer and accept Microsoft license to continue. Install the files on your desktop.
  2. Go to: C: / Windows / PolicyDefinition
  3. Two folders and one Excel file will be created: the “admxfolder is the one we need.
  4. Copy all the files (not folders) from this folder to the PolicyDefinition folder
  5. Also, copy all the files (not folders) from en-us (or current system language) folder and copy them to the PolicyDefinition\en-US folder
office 2016 first thing first
  1. Click Start, and then click Run, type gpedit.msc, and then click OK.
  2. @Local Group Policy Editor: User Configuration / Administrative Templates / Microsoft Office 2106 / First Run and enable Disable First Run Movie
office 2016 first thing first

Note: Go back to step 4 of this section and do the same configuration in your domain controller!

5.4 Install additional programs

- Advertisement -

For Login VSI test purpose, I will install their required apps. You could use these, add or ignore as needed:

  • Doro PDF
  • Adobe Reader XI
  • Adobe Flash
  • Java

5.5 Set Adobe PDF as a default app

Note: Windows 10, uses MS Edge as default PDF viewer, we need to force to use Adobe Reader XI. I tried Adobe Reader DC, but it will create some extra initial messages that are difficult to handle when testing with Login VSI, so I decided to move back to Adobe Reader XI

  1. First off, set the current files as a default from windows setting.
  2. Go to: Windows Settings / Apps / Default apps / Set defaults by app.
Set Adobe PDF as a default app
  1. Go to: Windows Settings / Apps / Default apps / Set defaults by app.
  2. Click Adobe Reader XI and then click Manage.
  3. Find and click on the .pdf association file and select Adobe Reader.
Set Adobe PDF as a default app
  1. Choose: Switch anyway
  2. Change all the desired file association. It would look like the image below.
Set Adobe PDF as a default app
  1. Now, open the command prompt as administrator. Make sure your system is updated, or you might have issues with these commands.
  2. Run:
    • Dism.exe /online /export-defaultappassociations:C:\CustomFileAssoc.xml
    • Dism.exe /online /import-defaultappassociations:C:\CustomFileAssoc.xml
Set Adobe PDF as a default app
  1. Go to: C: / Windows / System32 and search for OEMDefaultAssociations
  2. Right-click and select to open with Notepad
  3. From a fresh windows installation, it will look something like this:
Set Adobe PDF as a default app

<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
 <Association Identifier=".acrobatsecuritysettings" ProgId="Applications\AcroRd32.exe" ApplicationName="Adobe Reader" />
 <Association Identifier=".epub" ProgId="AppXvepbp3z66accmsd0x877zbbxjctkpr6t" ApplicationName="Microsoft Edge" />
 <Association Identifier=".htm" ProgId="htmlfile" ApplicationName="Internet Explorer" />
 <Association Identifier=".html" ProgId="htmlfile" ApplicationName="Internet Explorer" />
 <Association Identifier=".pdf" ProgId="AcroExch.Document.11" ApplicationName="Adobe Reader" />
 <Association Identifier=".pdfxml" ProgId="Applications\AcroRd32.exe" ApplicationName="Adobe Reader" />
 <Association Identifier=".tif" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" />
 <Association Identifier=".tiff" ProgId="PhotoViewer.FileAssoc.Tiff" ApplicationName="Windows Photo Viewer" />
 <Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" />
 <Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" />
 <Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Internet Explorer" />
 <Association Identifier="bingmaps" ProgId="AppXp9gkwccvk6fa6yyfq3tmsk8ws2nprk1p" ApplicationName="Maps" />
 <Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" />
 <Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" />
 <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook 2016" />
</DefaultAssociations>

  1. Reboot the VM and make sure that there is not “An app default was reset” message like the image below:
Set Adobe PDF as a default app
  1. If you follow previous steps in the proper order, you still may have the PDF issue.
  2. Now, to ignore Windows Security Service notification, go to Windows Settings / System / Notifications & actions
  3. Turn off all notification.
Set Adobe PDF as a default app

6. Final tweaks

6.1 Run VDI clean-up script

  1. Run a VDI clean-up script after all updates and configurations.

Note: Credits to https://www.plonius.com/single-post/2017/07/20/VDI-cleanup-script---the-decisive-factor

  1. Copy this into a Notepad and save it as .bat and run it. This will take about 10 minutes.

REM *********************
REM Force .net Runtime Optimization Service
REM *********************
%windir%\microsoft.net\framework64\v4.0.30319\ngen.exe update /force
REM *********************
REM Delete update tasks Google
REM *********************
SchTasks /Delete /TN "GoogleUpdateTaskMachineCore" /F
SchTasks /Delete /TN "GoogleUpdateTaskMachineUA" /F
REM *********************
REM Stop and disable Windows update service
sc stop wuauserv
sc config wuauserv start= disabled
REM *********************
REM Stop and disable Google update service
REM *********************
sc stop gupdate
sc config gupdate start= disabled
sc stop gupdatem
sc config gupdatem start= disabled
REM *********************
REM Stop and disable Windows Telemetry service
REM *********************
sc stop DiagTrack
sc config DiagTrack start= disabled
sc stop dmwappushservice
sc config dmwappushservice start= disabled
REM *********************
REM Delete any existing shadow copies
REM *********************
vssadmin delete shadows /All /Quiet
REM *********************
REM delete files in c:\Windows\SoftwareDistribution\Download\
REM *********************
del c:\Windows\SoftwareDistribution\Download\*.* /f /s /q
REM *********************
REM delete hidden install files
REM *********************
del %windir%\$NT* /f /s /q /a:h
REM *********************
REM delete prefetch files
REM *********************
del c:\Windows\Prefetch\*.* /f /s /q
REM *********************
REM Run Disk Cleanup to remove temp files, empty recycle bin
REM and remove other unneeded files
REM Note: Makes sure to run c:\windows\system32\cleanmgr /sageset:1 command
REM on your initially created parent image and check all the boxes
REM of items you want to delete
REM *********************
c:\windows\system32\cleanmgr /sagerun:1
REM ********************
REM Defragment the VM disk
REM ********************
sc config defragsvc start= auto
net start defragsvc
defrag c: /U /V
net stop defragsvc
sc config defragsvc start = disabled
REM *********************
REM Clear all event logs
REM *********************
wevtutil el 1>cleaneventlog.txt
for /f %%x in (cleaneventlog.txt) do wevtutil cl %%x
del cleaneventlog.txt
REM *********************
REM release IP address
REM *********************
ipconfig /release
REM *********************
REM Flush DNS
REM *********************
ipconfig /flushdns
REM *********************
REM Shutdown VM
REM *********************
shutdown /s /f /t 0

  1. The VM will shut down after this (as you can see in the last lines)
  2. Run this .bat every time the Windows is updated.

6.2 Remove "vmware-viewcomposer-ga" entry

  1. For Windows 10 Build 1709, creating a desktop pool will get stuck in customizing state. At the moment of writing this post, this hasn’t been solved by Horizon/Window. To solve this, follow the steps below.
  2. Removed the entry “vmware-viewcomposer-ga” from the value: DependOnService:
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BFE
  3. Deleted Subkey Security:
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BFE\Security
vmware-viewcomposer-ga
  1. After deleting it, should look like the image below.
vmware-viewcomposer-ga

6.3 Take the snapshot

Note: I want to create linked-clone VMs, if full clones are desired, convert this machine to a template instead of taking the snapshot.

  1. Make sure the machine is on the domain with a dynamic IP address.
  2. Make sure you don’t have any ISO file attached to the VM. Change CD/DVD to Client Device or disconnect/remove the device.
  3. Powered off the VM.
  4. Finally, take your precious snapshot!

Happy testing… 🙂

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

19 COMMENTS

    • Hi dave, I don't have the resources to test 1809 at the moment but it should work. I usually see issues on the new version related to the Reg Paths, and Horizon and View Composer during cloning.

    • Hi Juan, we managed to get it working on Windows 10 1809. However, we had to make sure we were using agent 7.5.2 and had to hack the connection servers to get around a 'getting stuck in customizing' issue. There is a VMware article explaining how to do it. https://kb.vmware.com/s/article/67175

      I generally run your clean up script at the end of any customising of the golden image - but 9 times out of ten, disk clean up gets stuck on temporary internet files. Instead, I use Storage Sense which is far quicker, but as of yet, this can't be ran from the command line.

      • Hi Dave,

        Thanks for sharing this valuable piece of information; readers working on new versions will appreciate it.

        Cheers!

  1. Awesome article!

    Do you know if the issue in 6.2 has been updated or is there a location where additional information can be found on this issue. We are currently working on upgrading our VDI infrastructure from Windows 7 Pro to Windows 10 (1903)

  2. Couple questions:

    1) Do you leave the master image connected to the domain before taking the snapshot or do you remove it?
    2) Curious why the 'Administrator' account has to be enabled and the 'User' account deleted. Could you not just leave the 'User' account?

    BC

    • Valid questions.
      1) Actually, is a good practice from VMware not joining the master image to the domain. This is certain in multi-domain environments. But I usually have issues with Horizon while deploying the desktop pool, so I leave the image joined.
      2) The "user" account is just used to enable the "administrator" one. Better to have the administrator rights for the following steps, and is faster and safer than applying these rights to the "user". This is not a must, but my point of view.

    • Hi, since it is a lab I use default profiles. For a production environment, it is a different thing. Several tools are available to handle profiles.

  3. Thank you for putting everything in one place. Very useful guide. I also would like to know how to get mandatory profiles working, if anyone has a solution.

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

4
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

8
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
WinSCP VCSA

Unable to Access the VCSA 6.7 via WinSCP

8
One of the many and easiest ways to get the logs from the ESXi hosts and vCenter Server Appliance (VCSA), is accessing directly to the files directory using tools such as WinSCP, which helps to transfer the files between a local and a remote computer ( Ex. VCSA). I never have had issues with the ESXi hosts and WinSCP, however, trying to access the VCSA is a different story.
- Advertisement -

Recent Comments