<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VMWare on Remko's Blog</title><link>https://remkoweijnen.nl/blog/categories/vmware/</link><description>Recent content in VMWare on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 20 Feb 2017 20:26:51 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/categories/vmware/index.xml" rel="self" type="application/rss+xml"/><item><title>Google Earth fix for XenApp, RDSH &amp; Horizon</title><link>https://remkoweijnen.nl/blog/2017/02/20/google-earth-fix-xenapp-rdsh-horizon/</link><pubDate>Mon, 20 Feb 2017 20:26:51 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2017/02/20/google-earth-fix-xenapp-rdsh-horizon/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2017/02/Google_Earth_logo.webp" class="glightbox" data-type="image" data-gallery="post-4004"&gt;&lt;img loading="lazy" decoding="async" class="alignnone" style="float: right; margin: 0px 0px 0px 5px; display: inline;" title="Google Earth Logo" src="https://remkoweijnen.nl/blog/wp-content/uploads/2017/02/Google_Earth_logo_thumb.webp" alt="Google Earth Logo" width="108" height="128" align="right" /&gt;&lt;/a&gt;Both Google Earth and Google Earth Enterprise do not work correctly for multiple users on shared Hosted Shared Desktops (I still prefer to call it Server Based Computing but that&amp;rsquo;s likely because I&amp;rsquo;m an oldtimer).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem summary&lt;/strong&gt;&lt;br&gt;
So let&amp;rsquo;s look at the actual issue: the first user on a server is able to launch Google Earth but for any subsequent users on the same server Google Earth fails silently.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Problem details&lt;/u&gt;&lt;/strong&gt;&lt;br&gt;
Google Earth uses various synchronization objects such as Events and Mutexes but registers those in the &lt;strong&gt;\Global&lt;/strong&gt; namespace instead of the &lt;strong&gt;\Local&lt;/strong&gt; namespace.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Upload ovf/ova to vCloud Director with PowerShell</title><link>https://remkoweijnen.nl/blog/2015/10/14/upload-ovfova-to-vcloud-director-with-powershell/</link><pubDate>Wed, 14 Oct 2015 10:08:49 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2015/10/14/upload-ovfova-to-vcloud-director-with-powershell/</guid><description>&lt;p&gt;Recently support for NPAPI has been &lt;a href="https://support.google.com/chrome/answer/6213033?hl=en"&gt;removed&lt;/a&gt; from Google Chrome. While understandable from a security point of view it does mean that some plugins no longer work.&lt;/p&gt; &lt;p&gt;A good example is VMware's Client Integration Plugin where we've lost the ability to upload an ovf template. While VMware has published a fix for vCenter (see &lt;a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2130672"&gt;this kb&lt;/a&gt;), it has not been fixed for vCloud Director:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2015/10/image7.webp" class="glightbox" data-type="image" data-gallery="post-3620"&gt;&lt;img loading="lazy" decoding="async" title="Browser Compatiblity Warning" style="display: inline" alt="The attempted operation cannot be performed using this browser. Re-try using an alternative method:&amp;#10;&amp;#10;- Use the VMware OVF Tool to perform the operation. You can download the OVF Tool and its User Guide from the OVF Tool product page at https://www.vmware.com/support/developer/ovf/.&amp;#10;- Use a browser and platform combination that is supported by vCloud Director for this operation. For the supported browser and platform combinations, see the Release Notes for this version of vCloud Director." src="https://remkoweijnen.nl/blog/wp-content/uploads/2015/10/image_thumb7.webp" width="326" height="204" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Deploy VCSA 6 to vCloud Director or vCloud Air</title><link>https://remkoweijnen.nl/blog/2015/10/05/deploy-vcsa-6-to-vcloud-director-or-vcloud-air/</link><pubDate>Mon, 05 Oct 2015 20:11:47 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2015/10/05/deploy-vcsa-6-to-vcloud-director-or-vcloud-air/</guid><description>&lt;p&gt;In versions prior to 6.0 VMware supplied the VCSA (vCenter Server Appliance) as an OVF template that could be imported directly.&lt;/p&gt; &lt;p&gt;Starting with version 6.0 the installation process has changed and now consist of an .iso file containing a custom, HTML based, installer. Vladan Seget has a nice &lt;a href="http://www.vladan.fr/install-vmware-vcsa-6-0/"&gt;blog post&lt;/a&gt; where he describes the installation.&lt;/p&gt; &lt;p&gt;This installation process is annoying, it needs a separate client (Windows) machine to run the installer on, requires the Client Integration Plugin (which doesn't appear to run well on chrome now that support for npapi/dpapi has been removed):&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2015/10/image.webp"&gt; &lt;br /&gt;&lt;img loading="lazy" decoding="async" title="Wheb prompted, allow access to the Client Integration Plugin" style="margin: 4px 0px; display: inline" alt="Please install the Client Integration Plugin 6.0 provided in the vCenter Server Appliance ISO image (requires quitting the browser)" src="https://remkoweijnen.nl/blog/wp-content/uploads/2015/10/image_thumb.webp" width="417" height="37" /&gt;&lt;/a&gt; &lt;br /&gt;But even worse is that we cannot import VCSA 6.0 in vCloud Director. Even converting the OVF inside the iso file doesn't help because vCloud directory lacks support for Deployment Options. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Dumping passwords in a VMware .vmem file</title><link>https://remkoweijnen.nl/blog/2013/11/25/dumping-passwords-in-a-vmware-vmem-file/</link><pubDate>Mon, 25 Nov 2013 08:54:34 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2013/11/25/dumping-passwords-in-a-vmware-vmem-file/</guid><description>&lt;p&gt;&lt;img width="63" height="62" loading="lazy" decoding="async" title="image" alt="image" align="right" src="https://remkoweijnen.nl/blog/wp-content/uploads/2013/06/image_thumb2.webp" /&gt;&lt;a href="https://twitter.com/gentilkiwi" target="_blank"&gt;Benjamin Delpy&lt;/a&gt; the author of the well known mimikatz toolkit has released a very cool extension to WinDbg today.&lt;/p&gt; &lt;p&gt;In summary the extension can extract Windows passwords from memory dumps, hibernation files and Virtual Machine .vmem files (paging, snapshots).&lt;/p&gt; &lt;p&gt;Especially the ability to extract passwords from .vmem files was very interesting. So I decided to to test this out, so let's see how it works!&lt;/p&gt;</description></item><item><title>Setup was unable to verify drive C while installing Windows NT4 Terminal server on VMWare</title><link>https://remkoweijnen.nl/blog/2012/05/10/setup-was-unable-to-verify-drive-c-while-installing-windows-nt4-terminal-server-on-vmware/</link><pubDate>Thu, 10 May 2012 13:56:29 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2012/05/10/setup-was-unable-to-verify-drive-c-while-installing-windows-nt4-terminal-server-on-vmware/</guid><description>&lt;p&gt;For a research project I tried to install Windows NT 4 Terminal Server on VMWare Workstation (version 8).&lt;/p&gt; &lt;p&gt;The setup would always fail however with the following error:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2012/05/image.webp" class="glightbox thickbox" data-type="image" data-gallery="post-2581"&gt;&lt;img loading="lazy" decoding="async" style="display: inline" title="Windows Terminal Server Setup" alt="Setup was unable to verify drive C:\ | Your computer may lack sufficient memory to carry out the verification, or your Windows Terminal Server CD-ROM may contain some corrupt files. | Press ENTER to continue" src="https://remkoweijnen.nl/blog/wp-content/uploads/2012/05/image_thumb.webp" width="415" height="228" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Obviously the installation doesn't really fail because of too little memory and neither is the installation disc (an iso file) corrupt, it's a bug.&lt;/p&gt;</description></item><item><title>Virtualized Mac OS X Freezes</title><link>https://remkoweijnen.nl/blog/2011/07/01/virtualized-mac-os-x-freezes/</link><pubDate>Fri, 01 Jul 2011 15:12:39 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/07/01/virtualized-mac-os-x-freezes/</guid><description>&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/07/image3.webp" class="glightbox" data-type="image" data-gallery="post-1965"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-right-width: 0px; margin: 2px 10px 5px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Mac OS X" border="0" alt="Mac OS X Snow Leopard" align="left" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/07/image_thumb3.webp" width="74" height="65" /&gt;&lt;/a&gt;I am running a virtualized Mac OS X machine in my VMWare Workstation but I noticed that after a period of inactivity the virtual machine would sometimes freeze.&lt;/p&gt; &lt;p&gt;Because this only happens after inactivity I assumed it had something to do with Power Saving so I changed the Energy Saver settings and that fixed it!&lt;/p&gt;</description></item><item><title>Deleting scheduled Altiris tasks from SQL</title><link>https://remkoweijnen.nl/blog/2011/05/03/deleting-scheduled-altiris-tasks-from-sql/</link><pubDate>Tue, 03 May 2011 10:27:30 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/05/03/deleting-scheduled-altiris-tasks-from-sql/</guid><description>&lt;p&gt;I needed to delete around 50 scheduled tasks from several machines in Altiris because something went wrong in on of the first jobs.&lt;/p&gt; &lt;p&gt;It would have better if the jobs were configured to fail on error and not continue but they weren't.&lt;/p&gt; &lt;p&gt;Deleting the jobs from the Altiris console is very, very, slow. First the console asks for confirmation (after showing the hourglass for a long time): &lt;br /&gt; &lt;br /&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/05/image10.webp" class="glightbox" data-type="image" data-gallery="post-1731"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/05/image_thumb10.webp" width="244" height="88" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Then the actual delete can take a few minutes and then the next server and so on.&lt;/p&gt; &lt;p&gt;I decided to delete the tasks directly from SQL.&lt;/p&gt; &lt;p&gt;I know this is not preferred but I think in the end it's safe enough because I found a stored procedure called &lt;em&gt;del_event_schedule&lt;/em&gt; which looks like this:&lt;/p&gt; 
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;sql&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".sql" href="data:text/plain;charset=utf-8;base64,QUxURVIgcHJvY2VkdXJlIFtkYm9dLltkZWxfZXZlbnRfc2NoZWR1bGVdCiAgIEBzY2hlZHVsZV9pZCAgICAgICAgIGludAphcwogICBiZWdpbiB0cmFuc2FjdGlvbgoKICAgZGVsZXRlIGZyb20gZXZlbnRfc2NoZWR1bGUgd2hlcmUgc2NoZWR1bGVfaWQgPSBAc2NoZWR1bGVfaWQKCiAgIGlmIChAQGVycm9yICE9IDApCiAgICAgIHJvbGxiYWNrIHRyYW5zYWN0aW9uCiAgIGVsc2UKICAgICAgY29tbWl0IHRyYW5zYWN0aW9u"&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sql" data-lang="sql"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;ALTER&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;procedure&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;dbo&lt;/span&gt;&lt;span class="p"&gt;].[&lt;/span&gt;&lt;span class="n"&gt;del_event_schedule&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;schedule_id&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;as&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;begin&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;transaction&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;delete&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;event_schedule&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;where&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;schedule_id&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;@&lt;/span&gt;&lt;span class="n"&gt;schedule_id&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;@@&lt;/span&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;!=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;rollback&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;transaction&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;commit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;transaction&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;So al it does is a (transacted) delete from the table. &lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>Extremely slow Virtual Machines on HP Smart Array P410</title><link>https://remkoweijnen.nl/blog/2011/05/02/extremely-slow-virtual-machines-on-hp-smart-array-p410/</link><pubDate>Mon, 02 May 2011 14:15:50 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/05/02/extremely-slow-virtual-machines-on-hp-smart-array-p410/</guid><description>&lt;p&gt;I was deploying virtualized Citrix XenApp Servers on HP BL460c G6 servers and somehow the storage (direct attached) responded very slowly.&lt;/p&gt; &lt;p&gt;I had expected reduced performance (see &lt;a href="https://remkoweijnen.nl/blog/2010/10/16/slow-power-on-and-storage-operations-with-hp-smart-array-p410i-controller-on-vmware-vsphere-4-0/" target="_blank"&gt;my earlier post&lt;/a&gt;) since I didn't have the&amp;#160; Battery Backed Write Cache module installed. &lt;br /&gt;I did order them but had to start deployment before they arrived. &lt;/p&gt; &lt;p&gt;I did not however expect such an extreme bad performance. Deployment took ages or sometimes failed completely and when logging in to a VM it responded very sluggish. &lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Disk Latency&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I looked in the vSphere console what the Disk Latency was. Latency under 10ms is usually considered good while a latency between 10 and 20ms is a potential performance problem.&lt;/p&gt; &lt;p&gt;I was shocked to notice that the Disk Latency was much higher with peaks toward 2.000 ms (2 seconds!):&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/05/DiskLatency.webp" class="glightbox" data-type="image" data-gallery="post-1719"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="DiskLatency" border="0" alt="DiskLatency" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/05/DiskLatency_thumb.webp" width="362" height="243" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>Add VMXNET3 driver to Windows PE PXE Image</title><link>https://remkoweijnen.nl/blog/2011/03/18/add-vmxnet3-driver-to-windows-pe-pxe-image/</link><pubDate>Fri, 18 Mar 2011 14:20:08 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/18/add-vmxnet3-driver-to-windows-pe-pxe-image/</guid><description>&lt;p&gt;After &lt;a href="https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-2/" target="_blank"&gt;compiling the VMWare VMXNET3 Driver&lt;/a&gt; for Linux I needed a driver for the Windows PE Image as well.&lt;/p&gt; &lt;p&gt;Compared to what I needed to do for Linux this was a breeze!&lt;/p&gt; &lt;p&gt;First we need the VMWare tools again so I grabbed windows.iso from /vmimages/tools-isomages.&lt;/p&gt; &lt;p&gt;The driver files are in a cab file, VMXNET3.cab, extract this cab file somewhere and open the Altiris PXE Configuration tool.&lt;/p&gt; &lt;p&gt;Select the Windows PE Entry and click Edit:&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image39.webp" class="glightbox" data-type="image" data-gallery="post-1626"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb39.webp" width="403" height="142" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Then click Edit Boot Image: &lt;br /&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image40.webp" class="glightbox" data-type="image" data-gallery="post-1626"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb40.webp" width="244" height="171" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>Compiling Drivers for Altiris Linux PXE Image Part 2</title><link>https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-2/</link><pubDate>Thu, 17 Mar 2011 15:39:12 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-2/</guid><description>&lt;p&gt;In the &lt;a href="https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-1/" target="_blank"&gt;previous part&lt;/a&gt; we have already setup the Ubuntu Virtual Machine and we did a build of the kernel image.&lt;/p&gt;
&lt;p&gt;So now we can finally compile the driver, in my case I needed a driver for VMWare&amp;rsquo;s VMXNET3 Network Card.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1001805" target="_blank"&gt;VMXNET3&lt;/a&gt; is VMWare&amp;rsquo;s paravirtualized network driver and offers better performance with less host processing power compared to the default e1000 driver.&lt;/p&gt;
&lt;p&gt;First we need the source for the driver, we can obtain this from the VMWare Tools either from a running Linux VM or like I did by transferring the file linux.iso from /vmimages/tools-isomages from the vSphere server.&lt;/p&gt;
&lt;p&gt;In the iso file is a single file, VMWARETO.TGZ and after unpacking we get a folder called &lt;em&gt;vmware-tools-distrib&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;In &lt;em&gt;vmware-tools-distrib/lib/modules/source&lt;/em&gt; we find the vmxnet3.tar file that contains our sources. Copy the tar to the Virtual Machine and unpack it, then start a Terminal and cd to the directory where you unpacked the tar.&lt;/p&gt;
&lt;p&gt;The first time I attempted a compile I received an error indicating that the file &lt;em&gt;autoconf.h&lt;/em&gt; could not be found. After I found this &lt;a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/579813" target="_blank"&gt;bug report&lt;/a&gt; I was able to fix this by creating a link:&lt;/p&gt;
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;bash&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".sh" href="data:text/plain;charset=utf-8;base64,c3VkbyBsbiAtcyAvdXNyL3NyYy9saW51eC1oZWFkZXJzLTIuNi4zNS0yMi1nZW5lcmljL2luY2x1ZGUvZ2VuZXJhdGVkL2F1dG9jb25mLmggL3Vzci9zcmMvbGludXgtaGVhZGVycy0yLjYuMzUtMjItZ2VuZXJpYy9pbmNsdWRlL2xpbnV4L2F1dG9jb25mLmg="&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo ln -s /usr/src/linux-headers-2.6.35-22-generic/include/generated/autoconf.h /usr/src/linux-headers-2.6.35-22-generic/include/linux/autoconf.h&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We can compile the driver with the make command, referencing the kernel image we created earlier:&lt;/p&gt;</description></item><item><title>Compiling Drivers for Altiris Linux PXE Image Part 1</title><link>https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-1/</link><pubDate>Thu, 17 Mar 2011 13:07:22 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/17/compiling-drivers-for-altiris-linux-pxe-image-part-1/</guid><description>&lt;p&gt;First we need to setup a Linux Virtual Machine with a distro of choice (I recommend a 32 bit version). I will be using Ubuntu here and the first step is to &lt;a href="http://www.ubuntu.com/desktop/get-ubuntu/download" target="_blank"&gt;download&lt;/a&gt; the iso.&lt;/p&gt;
&lt;p&gt;At the time of writing Ubuntu 10.10 was the Latest version so I used that one.&lt;/p&gt;
&lt;p&gt;Create a new Virtual Machine and use the iso as install media, I am using VMWare Workstation and it recognises Ubuntu and performs an &amp;ldquo;easy install&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1594" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image23.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb23.webp" border="0" alt="image" width="244" height="64" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The install is unattended (when VMWare Tools are installed you need to perform a login) and took only 6 minutes on my laptop!&lt;/p&gt;
&lt;p&gt;Now we need to install gcc (the compiler), open the Ubuntu Software Center:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1594" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image24.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb24.webp" border="0" alt="image" width="232" height="231" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>STOP: 0x0000005D when booting Windows PE</title><link>https://remkoweijnen.nl/blog/2011/03/15/stop-0x0000005d-when-booting-windows-pe/</link><pubDate>Tue, 15 Mar 2011 12:47:13 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/15/stop-0x0000005d-when-booting-windows-pe/</guid><description>&lt;p&gt;I was booting a new VMWare Virtual Machine with Windows PE through Altiris for initial deployment but Windows PE halted with a BSOD:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image22.webp" class="glightbox" data-type="image" data-gallery="post-1570"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb22.webp" width="438" height="38" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Windows 2003 align OS disk</title><link>https://remkoweijnen.nl/blog/2011/03/14/windows-2003-align-os-disk/</link><pubDate>Mon, 14 Mar 2011 15:11:48 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/14/windows-2003-align-os-disk/</guid><description>&lt;p&gt;If you read one of VMWare's Best Practices Guides (in my case &lt;a href="http://www.peppercrew.nl/?p=1637" target="_blank"&gt;this&lt;/a&gt; one) then you may have read that it's important to align guest partitions.&lt;/p&gt; &lt;p&gt;We can do this (for Windows OS) using the DiskPart tool that comes with the OS since Windows 2003 SP1 (there is a &lt;a href="http://support.microsoft.com/kb/923076" target="_blank"&gt;hotfix&lt;/a&gt; for earlier versions).&lt;/p&gt; &lt;p&gt;On Windows 2008, and higher, all partitions are automatically aligned to a &lt;a href="http://frankdenneman.nl/2009/05/windows-2008-disk-alignment/" target="_blank"&gt;1 MB boundary&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;But how to do this for the OS disk on Server 2003? &lt;/p&gt; &lt;p&gt;My first thought was to open a &lt;a href="http://support.microsoft.com/kb/242380" target="_blank"&gt;command prompt during setup&lt;/a&gt;, right before creating the partitions and then use diskpart.&lt;/p&gt; &lt;p&gt;However the OS partition is created during the Text portion of the install process and even though we can get a cmd prompt using SHIFT-F10 we get the recovery console (which has a builtin diskpart but cannot align).&lt;/p&gt; &lt;p&gt;So I used a Windows PE bootdisk. Any version with Diskpart should do but I used a bootdisk from Symantec Backup Exec System Recovery that I've customized to my own needs.&lt;/p&gt; &lt;p&gt;If you boot the original Symantec disk you can open a command prompt by accessing a hidden feature: move the mouse above the "S" from Symantec until you get a Hand icon and press the left mouse button:&lt;/p&gt; &lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image12.webp" class="glightbox" data-type="image" data-gallery="post-1561"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb12.webp" width="244" height="184" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;p&gt;&amp;#160;&lt;/p&gt;</description></item><item><title>Booting a Virtual Machine from USB Drive</title><link>https://remkoweijnen.nl/blog/2011/03/14/booting-a-virtual-machine-from-usb-drive/</link><pubDate>Mon, 14 Mar 2011 12:59:53 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/03/14/booting-a-virtual-machine-from-usb-drive/</guid><description>&lt;p&gt;I wanted to boot a Virtual Machine from an USB Stick but even though you can Connect USB devices to VMWare you cannot boot from it.&lt;/p&gt;
&lt;p&gt;It can be done however using a boot manager that is able to perform a boot from USB media. I used &lt;a href="http://www.plop.at/en/bootmanager.html#download" target="_blank"&gt;Plop Boot Manager&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Download one of the stable releases (I used &lt;a href="http://download.plop.at/files/bootmngr/plpbt-5.0.11-2.zip" target="_blank"&gt;5.0.11-2&lt;/a&gt;) and extract plpbt.img from the archive and mount this (don&amp;rsquo;t forget to select the Connect at power on option) and when booting press Esc for the Boot Menu.&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1545" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image6.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb6.webp" border="0" alt="image" width="244" height="147" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This would be a good time to Connect the USB device to the Virtual Machine, right click the USB device in the bottom bar:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1545" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image7.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb7.webp" border="0" alt="image" width="244" height="52" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And select the Connect option:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1545" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image8.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb8.webp" border="0" alt="image" width="244" height="70" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click OK on the warning message:&lt;/p&gt;
&lt;p&gt;&lt;a class="glightbox" data-type="image" data-gallery="post-1545" href="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image9.webp"&gt;&lt;img loading="lazy" decoding="async" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2011/03/image_thumb9.webp" border="0" alt="image" width="244" height="89" /&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>The case of the UPS discovery not working</title><link>https://remkoweijnen.nl/blog/2011/01/24/the-case-of-the-ups-discovery-not-working/</link><pubDate>Mon, 24 Jan 2011 15:22:03 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2011/01/24/the-case-of-the-ups-discovery-not-working/</guid><description>&lt;p&gt;I am doing a project involving a Citrix Xenapp environment running on VMWare vSphere.&lt;/p&gt;
&lt;p&gt;The physical machines are powered by two Eaton Uninterruptable Power Supplies that both a network card.&lt;/p&gt;
&lt;p&gt;I received some &lt;a href="http://download.mgeops.com/install/linux/ipp/IPP_how_to_vmware_esx_en_1_9.pdf" target="_blank"&gt;documentation&lt;/a&gt; that describes how to implement automatic shutdown in a VMWare vSphere environment.&lt;/p&gt;
&lt;p&gt;This documentation describes that a &lt;a href="http://www.vmware.com/support/developer/vima/" target="_blank"&gt;vSphere Management Assistant&lt;/a&gt; (vMA) must be deployed in which we need to install some software from Eaton.&lt;/p&gt;
&lt;p&gt;I followed the documentation that even described the needed iptables rules needed for their software.&lt;/p&gt;
&lt;p&gt;In the last step a discovery is done and the UPS is supposed to be found. And you have probably guessed by now: it didn&amp;rsquo;t!&lt;/p&gt;
&lt;p&gt;At first I figured that maybe the iptables configuration was still too tight so I stopped the iptables service but that didn&amp;rsquo;t help.&lt;/p&gt;</description></item><item><title>BSOD with STOP 0x0000008E when installing Window 7 Checked Build</title><link>https://remkoweijnen.nl/blog/2010/12/06/bsod-with-stop-0x0000008e-when-installing-window-7-checked-build/</link><pubDate>Mon, 06 Dec 2010 23:13:01 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/12/06/bsod-with-stop-0x0000008e-when-installing-window-7-checked-build/</guid><description>&lt;p&gt;I was trying to install a checked build of Windows 7 under VMWare Workstation but after the first reboot during the install (the completing installation step) the system came up with a BSOD.&lt;/p&gt;
&lt;p&gt;It can be fixed by adding a line to the VMX configuration file:&lt;/p&gt;</description></item><item><title>Performance Best Practices for VMware vSphere 4.1</title><link>https://remkoweijnen.nl/blog/2010/11/04/performance-best-practices-for-vmware-vsphere-4-1/</link><pubDate>Thu, 04 Nov 2010 22:33:10 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/11/04/performance-best-practices-for-vmware-vsphere-4-1/</guid><description>&lt;p&gt;VMware has released an updated Performance Best Practices for VMware vSphere document for 4.1.&lt;/p&gt;
&lt;p&gt;The document provides tips that help administrators maximize the performance of VMware vSphere 4.1.&lt;/p&gt;
&lt;p&gt;Chapter 1 - “Hardware for Use with VMware vSphere,” provides guidance on selecting hardware for use with vSphere.&lt;/p&gt;</description></item><item><title>Programmatically Create Aligned Partitions</title><link>https://remkoweijnen.nl/blog/2010/11/04/programmatically-create-aligned-partitions/</link><pubDate>Thu, 04 Nov 2010 18:14:56 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/11/04/programmatically-create-aligned-partitions/</guid><description>&lt;p&gt;After deploying Virtual Machines from a template and adding disks the next Task was to create and format the partitions.&lt;/p&gt;
&lt;p&gt;In a VMWare environment it is very important to assure that the partitions are aligned. VMWare has a nice document that explains the details called &lt;a title="Performance Best Practices for VMware vSphere 4.0" href="http://www.vmware.com/pdf/Perf_Best_Practices_vSphere4.0.pdf" target="_blank"&gt;Performance Best Practices for VMware vSphere 4.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Basically the recommendation is to align partition on a 64 KB boundary, not only for VMWare itsself but also for the guests.&lt;/p&gt;
&lt;p&gt;Of course we could do this manually but I wanted to run this task of from my Deployment Server to automate the following:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
&lt;div&gt;Create aligned partitions on all extra disks of the maximum size&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;
&lt;div&gt;Format, assign drive letter and assign a label&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;
&lt;div&gt;A safeguard to prevent overwriting existing Data&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
Well enough talk let's go the scripts! They are written as bat files that can be executed directly in Altiris as an embedded script but of course you don't need Altiris to use them.</description></item><item><title>VM not joined to Domain after Deploying from Template</title><link>https://remkoweijnen.nl/blog/2010/11/03/vm-not-joined-to-domain-after-deploying-from-template/</link><pubDate>Wed, 03 Nov 2010 16:50:01 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/11/03/vm-not-joined-to-domain-after-deploying-from-template/</guid><description>&lt;p&gt;As I wrote earlier today I am provisioning Virtual Machines with PowerCLI. I don&amp;rsquo;t know if this is intentional behaviour but after Deploying (Cloning) a Virtual Machine from a template the Network Adapter is not automatically connected at power on.&lt;/p&gt;</description></item><item><title>Cannot complete customization when cloning from Template</title><link>https://remkoweijnen.nl/blog/2010/11/03/cannot-complete-customization-when-cloning-from-template/</link><pubDate>Wed, 03 Nov 2010 11:24:32 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/11/03/cannot-complete-customization-when-cloning-from-template/</guid><description>&lt;p&gt;I am currently provisioning a lot of Virtual Machines in VMWare vSphere 4.1. Because I had already sized the Virtual Machines I am doing this from &lt;a title="VMWare vSphere PowerCLI" href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli" target="_blank"&gt;PowerCLI&lt;/a&gt; based on my Excel Sheet.&lt;/p&gt;
&lt;p&gt;I will probably blog later about the details of how I am doing this in PowerCLI (would you be interested in that?) but after successfully deploying some Windows 2008 VM&amp;rsquo;s I got this error in PowerShell:&lt;/p&gt;
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;text&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".txt" href="data:text/plain;charset=utf-8;base64,TmV3LVZNIDogMy0xMS0yMDEwIDEwOjAwOjUwIE5ldy1WTSBUaGUgb3BlcmF0aW9uIGZvciB0aGUgZW50aXR5IFZpcnR1YWxNYWNoaW5lLXZtLTE1MCBmYWlsZWQgd2l0aCB0aGUgZm9sbG93aW5nIG1lc3NhZ2U6ICJDYW5ub3QgY29tcGxldGUgY3VzdG9taXphdGlvbi4iCgpBdCBDOlxVc2Vyc1xBZG1pbmlzdHJhdG9yXERvY3VtZW50c1xOZXdWbS5wczE6NjQgY2hhcjoxNAoKKyAkVk0gPSBOZXctVk0gPDw8PCAtTmFtZSAkTmFtZSAtVk1Ib3N0ICRWTUhvc3QgLVRlbXBsYXRlICRUZW1wbGF0ZSAtT1NDdXN0b21pemF0aW9uU3BlYyAkU3BlYyAtRGlza1N0b3JhZ2VGb3JtYXQgJERpc2tGb3JtYXQgLURhdGFzdG9yZSAkTGFyZ2VzdERhdGFTdG9yZQoKKyBDYXRlZ29yeUluZm8gOiBOb3RTcGVjaWZpZWQ6ICg6KSBbTmV3LVZNXSwgQ3VzdG9taXphdGlvbkZhdWx0CgorIEZ1bGx5UXVhbGlmaWVkRXJyb3JJZCA6IENsaWVudDIwX1Rhc2tTZXJ2aWNlSW1wbF9DaGVja1NlcnZlclNpZGVUYXNrVXBkYXRlc19PcGVyYXRpb25GYWlsZWQsVk13YXJlLlZpbUF1dG9tYXRpb24uVmlDb3JlLkNtZGxldHMuQ29tbWFuZHMuTmV3Vk0="&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;New-VM : 3-11-2010 10:00:50 New-VM The operation for the entity VirtualMachine-vm-150 failed with the following message: &amp;#34;Cannot complete customization.&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;At C:\Users\Administrator\Documents\NewVm.ps1:64 char:14
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;+ $VM = New-VM &amp;lt;&amp;lt;&amp;lt;&amp;lt; -Name $Name -VMHost $VMHost -Template $Template -OSCustomizationSpec $Spec -DiskStorageFormat $DiskFormat -Datastore $LargestDataStore
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;+ CategoryInfo : NotSpecified: (:) [New-VM], CustomizationFault
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;+ FullyQualifiedErrorId : Client20_TaskServiceImpl_CheckServerSideTaskUpdates_OperationFailed,VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In the vCenter console the following error was logged:&lt;/p&gt;
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;text&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".txt" href="data:text/plain;charset=utf-8;base64,Q2Fubm90IGRlcGxveSB0ZW1wbGF0ZTogQ2Fubm90IGNvbXBsZXRlIGN1c3RvbWl6YXRpb24u"&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Cannot deploy template: Cannot complete customization.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>The case of the VMware vSphere Client</title><link>https://remkoweijnen.nl/blog/2010/10/27/the-case-of-the-vmware-vsphere-client/</link><pubDate>Wed, 27 Oct 2010 21:59:32 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/10/27/the-case-of-the-vmware-vsphere-client/</guid><description>&lt;p&gt;Today I connected with my laptop to VMWare Virtual Center using vSphere client. Because I had an older version of the client I needed to update and the installer failed with this message:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2010/10/visualjinstall.webp" class="glightbox" data-type="image" data-gallery="post-711"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/10/visualjinstall-small5.webp" alt="The Microsoft Visual J# 2.0 Second Edition installer returned the error code '4113'" width="430" height="157" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I remembered this error from the last install of this client (about a year ago), it happens because Microsoft Visual J# was already installed (in my case it was previously installed by Embarcadero&amp;rsquo;s Rad Studio).&lt;/p&gt;
&lt;p&gt;Last year I &amp;ldquo;fixed&amp;rdquo; it by modifying the msi file but I remembered that Assarbad posted an easier solution on his &lt;a title="VMware vSphere client 4.1 installation woes" href="http://blog.assarbad.net/20100808/vmware-vsphere-client-4-1-installation-woes/" target="_blank"&gt;Blog&lt;/a&gt; a while ago.&lt;/p&gt;
&lt;p&gt;His solution was to set a public property in the MSI (USING_VIM_INSTALLER) but it means we need to unpack the installer exe first to obtain the MSI file.&lt;/p&gt;</description></item><item><title>Change Driveletter Commandline Tool</title><link>https://remkoweijnen.nl/blog/2010/10/20/change-driveletter-commandline-tool/</link><pubDate>Wed, 20 Oct 2010 14:04:35 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/10/20/change-driveletter-commandline-tool/</guid><description>&lt;p&gt;Some time ago (2008 actually) I wrote a &lt;a href="https://remkoweijnen.nl/blog/2008/12/09/commandline-tool-to-change-drive-letter-assignment/" target="_blank"&gt;tool that can assign driveletters&lt;/a&gt; given a volumename. I use it myself after SysPrep operations to assign the desired drive letters. For instance after cloning a Virtual Machine from a template.&lt;/p&gt;
&lt;p&gt;I noticed that I updated this tool sometime after the original post but never uploaded it here. The most important changes are:&lt;/p&gt;</description></item><item><title>Error while creating large Datastore on VMWare vSphere 4.1</title><link>https://remkoweijnen.nl/blog/2010/10/18/error-while-creating-large-datastore-on-vmware-vsphere-4-1/</link><pubDate>Mon, 18 Oct 2010 16:12:43 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/10/18/error-while-creating-large-datastore-on-vmware-vsphere-4-1/</guid><description>&lt;p&gt;I was trying to create a (very) large Datastore on VMWare vSphere 4.1 but although VMWare correctly identifies the LUN on my SAN it refuses to create the Datastore and gives me this error:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2010/10/createdatastoreerror1.webp" class="glightbox" data-type="image" data-gallery="post-669"&gt;&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2010/10/createdatastoreerror1-small.webp" alt="Call HostDatastoreSystem.QueryVmfsDatastoreCreateOptions for object ha-datastoresystem on ESX failed." width="430" height="227" /&gt;&lt;/a&gt;&lt;br&gt;
The complete error text is&lt;/p&gt;
&lt;div class="codecard"&gt;
 &lt;div class="codehead"&gt;
 &lt;span class="codefile"&gt;&lt;span class="codelang"&gt;text&lt;/span&gt;&lt;/span&gt;
 &lt;span class="codetools" data-pagefind-ignore&gt;
 &lt;button class="codebtn" type="button" data-copy&gt;Copy&lt;/button&gt;
 &lt;a class="codebtn" download=".txt" href="data:text/plain;charset=utf-8;base64,Q2FsbCAiSG9zdERhdGFzdG9yZVN5c3RlbS5RdWVyeVZtZnNEYXRhc3RvcmVDcmVhdGVPcHRpb25zIiBmb3Igb2JqZWN0ICJoYS1kYXRhc3RvcmVzeXN0ZW0iIG9uIEVTWCAiPElQIG9mIEVTWD4iIGZhaWxlZC4="&gt;Download&lt;/a&gt;
 &lt;/span&gt;
 &lt;/div&gt;
 &lt;div class="codebody"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Call &amp;#34;HostDatastoreSystem.QueryVmfsDatastoreCreateOptions&amp;#34; for object &amp;#34;ha-datastoresystem&amp;#34; on ESX &amp;#34;&amp;lt;IP of ESX&amp;gt;&amp;#34; failed.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Slow power on and storage operations with HP Smart Array P410i controller on VMWare vSphere 4.0</title><link>https://remkoweijnen.nl/blog/2010/10/16/slow-power-on-and-storage-operations-with-hp-smart-array-p410i-controller-on-vmware-vsphere-4-0/</link><pubDate>Sat, 16 Oct 2010 11:00:00 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2010/10/16/slow-power-on-and-storage-operations-with-hp-smart-array-p410i-controller-on-vmware-vsphere-4-0/</guid><description>&lt;p&gt;As you may have read I am currently implementing VMWare vSphere 4 on several HP Proliant DL380 G7 machines.&lt;/p&gt;
&lt;p&gt;I ran across an interesting &lt;a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=1018794" target="_blank"&gt;knowledge base article&lt;/a&gt; from VMWare that describes a possible issue that is summarized as "&lt;em&gt;Power on and storage operations are slow with the HP Smart Array P410i controller&lt;/em&gt;".&lt;/p&gt;</description></item><item><title>VMWare Workstation and Virtual PC XP Mode: unrecoverable error</title><link>https://remkoweijnen.nl/blog/2009/09/18/vmware-workstation-and-virtual-pc-xp-mode-unrecoverable-error/</link><pubDate>Fri, 18 Sep 2009 11:33:46 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2009/09/18/vmware-workstation-and-virtual-pc-xp-mode-unrecoverable-error/</guid><description>&lt;p&gt;I just installed my laptop with Windows 7 (x64) and I was curious how the new Windows XP mode worked (more on that topic later). After installing it I could no longer start any Virtual Machines in VMWare Workstation. The VM fired up but immediately halted with the following error: &amp;ldquo;VMware Workstation unrecoverable error: (vcpu-0)&amp;rdquo; &amp;ldquo;VCPU 0 RunVM failed: -2&amp;rdquo;.&lt;/p&gt;
&lt;img loading="lazy" decoding="async" src="https://remkoweijnen.nl/blog/wp-content/uploads/2009/09/vmwareerror-2.webp" alt="VMWareError" width="430" height="187" /&gt;</description></item></channel></rss>