Do you have feedback or questions regarding this Tech Zone Operational Tutorial?
If so, use this post to provide your feedback and questions, and access all the answers and tips in one handy location.
Manually Creating Optimized Windows Images for VMware Horizon VMs | VMware sWORDs arakelian
My feedback is that this asset has gotten many, many hits from my customers as well as colleagues and team in our efforts to build Master images for projects and labs.
I'd be interested to see how many hits this gets, 'Daily'
Top marks for sure!
Maybe add something about why certain choices are made, I know when I refer people to it and they ask questions there are some choices I don't know how to explain every time. Its probably general image management best practices but I keep getting asked why are we generalizing when it works fine when you don't.
9-12.6K hits per month in the last 12 months and we had somewhere around 20 remarks/questions on the guide. A large portion of those are praises, and we had 9 people that couldn’t get it working.
7 of those deviated from the guide (and had no issues when following it to the letter) 2 didn’t respond to follow up questions. The others where textual changes which we adjusted.
It was in there before, but from the UI. The video driver is done to ease updates (no sequence dependency between Horizon Agent and VMware Tools), the other removed features came from earlier recommendation, but I haven’t measured it.
That makes a lot of sense, my other question was about updated VMtools as I saw later in this documentation where they just update with no regard for sequence! Back to the base image for those changes.
Why are is it suggested to export the VM, I'm assuming its to recover the space savings. Why not instead run the vmktools command to recover the space like in the below kb. I'm assuming its because its easier, but I'm seeing people here and there have issues with the export and import of ovf files through the webclient like in Re: Invalid response code: 500 so I'm wondering if the vmkfstools command is better.
SDeletecommand (or a tool with similar functionality) to zero out all unused space. The syntax for the SDelete command is SDelete -z driveletter. If you use
SDelete, ensure that you use version 1.6 or later.
vmkfstools -K /path/to/disk-name.vmdk
There is a step missing after
It is necessary to cancel the tools installer so that the windows ISO becomes available otherwise you won't be able to select next to install to the newly discovered unallocated space.
This should not be necessary if you used 2 CD/DVD-Drives (Step 8). The first one is connected to your Windows ISO. Once you click "Install VMware tools" it will be attached to the second CD/DVD drive and the Windows ISO will still be available.
If you didn't add a second CD/DVD drive, then the Windows ISO would be disconnected and replaced by the VMware tools ISO indeed.