Skip to main content

3. Setting up Customized ESXI (8.X/9.X) Server on HYPER-V - An Experiment

Deep Dive into VMware services: A Blog Series

Published 14 min readMarkdown
Part of seriesVMware Area⚡
3. Setting up Customized ESXI (8.X/9.X) Server on HYPER-V - An Experiment

Prerequisites:

This blog is intended for readers who have basic understanding of Virtualization, Hypervisors, VMware tools & technologies.

Also, this article is continuation of my previous blog -

“2. Setting up Legacy ESXI Server on HYPER-V - An Experiment “

It is highly recommended to refer to previous blog which has common setups that are explained on that blog. Here are the highlights:

  • Nested Virtualization Technology & its activation

  • Microsoft HYPER V tool & its feature

  • Concurrent Hypervisors setups between HYPER-V (Type-1) & VMware Workstation Pro (Type-3)

INTRODUCTION

VMware allows you to easily configure and customize ISO files before mounting them on physical servers. This process differs among ESXi versions. For Legacy ESXi versions (ESXi < 6.0/7.0), customization is done using the PowerShell Customizer Tool as performed in my previous blog. For newer ESXi versions (ESXi 8.0/9.0), the PowerCLI Tool is used.

MY PLAN

To create a custom ESXi 8 ISO that includes additional NIC drivers and then configure the Hyper-V VM settings so ESXi runs smoothly as a nested hypervisor, although my setup approach remains same but instead relying on PS-Customizer Tool, I will use PowerCLI to get desired ISO. Here are the steps/highlights of my approach:

  1. Install and prepare PowerCLI and ImageBuilder.

  2. Download the ESXi offline depot (VMware ESXi 8 offline bundle) and the vendor NIC driver offline bundle(s).

  3. Import the depots into ImageBuilder.

  4. Clone the VMware "standard" image profile and add the driver VIB(s).

  5. Set the acceptance level if needed and export to ISO.

  6. Create and configure the Hyper-V VM for nested ESXi, including processor, networking, and secure boot/legacy NIC settings.

  7. Boot Hyper-V VM with the custom ISO and install.

IMPORTANT NOTE:

As the blog continues, I will be performing these activities, along with addressing challenges and fixes. There will be an error related to ISO creation failure. In this case, I will first export and create a ZIP bundle, then later convert it to an ISO.

  1. Install and prepare PowerCLI and ImageBuilder.

# install from PSGallery (one-time)
Install-Module -Name VMware.PowerCLI -Scope CurrentUser -Force

# optional: allow running scripts for this session
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force

# import modules (ImageBuilder is included)
Import-Module VMware.PowerCLI
# ensure ImageBuilder commands are available
Get-Command -Module VMware.ImageBuilder

PowerCLI includes the ImageBuilder cmdlets used below:

developer.broadcom.com

  1. Ensuring Compatible Drivers/packages are installed.

🔧 NIC Driver Offline Bundles (common ones):

Vendor / HardwareBundle / Version HintDownload Source / Notes
Intel – “ixgben” driver set (for Intel 10 GbE / X540/X550/X552 etc)e.g., “Intel-ixgben_1.18.2.0-1OEM.800.1.0.20613240_22682220.zip” for HPE custom image list. (vibsdepot.hpe.com)Look under Intel support or server vendor support (HPE/Lenovo). For example HPE lists “HPE Intel ixgben Driver for VMware vSphere 8.0”. (HPE Support)
Intel – “igbn” driver (for certain multi-gig NICs)Example: “Intel-igbn_1.12.2.0-1OEM.800.1.0.20613240_24584378.zip” (vibsdepot.hpe.com)Also from vendor custom image PDFs — good if your NIC uses the “igbn” driver variant
Broadcom / NetXtreme / “bnxtnet” / “bnxt-Net-RoCE”Example: “Broadcom-bnxt-Net-RoCE_233.0.256.0-1OEM.800.1.0.20613240_24674977.zip” (vibsdepot.hpe.com)Use server vendor or Broadcom support portal; especially relevant if your NIC is Broadcom-based
Custom images – vendor supplied bundles (HPE / Lenovo etc)E.g., HPE “Contents of HPE supplied VMware ESXi images” PDF lists many driver bundle names. (vibsdepot.hpe.com)Useful if you have a branded server (HPE/Dell/Lenovo) and want the exact OEM driver bundle

🔧 NIC Driver Offline Bundles (used by me from sources)


1.     VMware ESXi 8 offline depot (mandatory):
https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/release-notes/esxi-update-and-patch-release-notes/vsphere-esxi-80u3d-release-notes.html

2.    net-tulip (v-front) — legacy Hyper-V legacy NIC driver (strongly recommended):
http://vibsdepot.v-front.de/depot/bundles/net-tulip-1.1.15-1-offline_bundle.zip

3.    net-e1000e — Intel e1000(e) family offline bundle (useful for many laptop/VM NICs):
http://vibsdepot.v-front.de/depot/bundles/net-e1000e-3.1.0.2-glr2-offline_bundle.zip

4.    Community Networking Driver - ESXi (VMware Flings / Broadcom free downloads) — for Intel I225/I226 family and more:
https://archive.org/download/flings.vmware.com/Flings/Community%20Networking%20Driver%20for%20ESXi/Net-Community-Driver_1.2.7.0-1vmw.700.1.0.15843807_19480755.zip

5.    Intel ixgben OR igbn (OEM / HPE packaging) — for 10Gb / multi-gig Intel NICs
https://support.hpe.com/connect/s/softwaredetails?language=en_US&collectionId=MTX-6ac4c1fb52734dc6&utm_source=chatgpt.com&tab=releaseNotes&softwareId=MTX_b596876c814544fe8d905c525a

Just like in my previous blog, “2. Setting up Legacy ESXI Server on HYPER-V - An Experiment”, I will now share my overall progress here, using snippets and descriptions to explain. Please note, (Caution:) the explanations might be repetitive and are mainly helpful for those setting up this lab themselves. The following procedure includes a series of errors and their solutions.

Error:

VMware.ImageBuilder not Found

FIX:

Install-Module VMware.ImageBuilder -AllowClobber -Verbose

Error:

PS C:\esxi depot> .\esxi-hyperVCustomizer.ps1
Loading PowerCLI...
WARNING: Please consider joining the VMware Customer Experience Improvement Program, so you can help us make PowerCLI a 
better product. You can join using the following command:



##Below NOTIFICATION/WARNING can be removed using below command:
# > Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true

VMware's Customer Experience Improvement Program ("CEIP") provides VMware with information that enables VMware to improv
e its products and services, to fix problems, and to advise you on how best to deploy and use our products.  As part of 
the CEIP, VMware collects technical information about your organization’s use of VMware products and services on a reg
ular basis in association with your organization’s VMware license key(s).  This information does not personally identi
fy any individual.

For more details: type "help about_ceip" to see the related help article.

To disable this warning and set your preference use the following command and restart PowerShell: 
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.

## ERROR ##

Adding software depots...
Add-EsxSoftwareDepot : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:29 char:1
+ Add-EsxSoftwareDepot $BaseDepot | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.AddDepot
 0
Add-EsxSoftwareDepot : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:30 char:1
+ Add-EsxSoftwareDepot $TulipBundle | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.AddDepot

Add-EsxSoftwareDepot : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:31 char:1
+ Add-EsxSoftwareDepot $E1000eBundle | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.AddDepot

Add-EsxSoftwareDepot : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:33 char:5
+     Add-EsxSoftwareDepot $CommDriver | Out-Null
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.AddDepot

Get-EsxImageProfile : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that you 
have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See the 
PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:37 char:16
+ $BaseProfile = Get-EsxImageProfile |
+                ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-EsxImageProfile], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.GetProfiles

Base image selected: 
New-EsxImageProfile : Cannot validate argument on parameter 'CloneProfile'. The argument is null or empty. Provide an 
argument that is not null or empty, and then try the command again.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:45 char:52
+ ... ustomProfile = New-EsxImageProfile -CloneProfile $BaseProfile -Name $ ...
+                                                      ~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [New-EsxImageProfile], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.ImageBuilder.Commands.NewImageProfile

Adding NIC Drivers (tulip, e1000e, community)...
Add-EsxSoftwarePackage : Cannot validate argument on parameter 'ImageProfile'. The argument is null or empty. Provide 
an argument that is not null or empty, and then try the command again.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:51 char:15
+ -ImageProfile $CustomProfile `
+               ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-EsxSoftwarePackage], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.ImageBuilder.Commands.AddProfilePackage

Add-EsxSoftwarePackage : Cannot validate argument on parameter 'ImageProfile'. The argument is null or empty. Provide 
an argument that is not null or empty, and then try the command again.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:56 char:15
+ -ImageProfile $CustomProfile `
+               ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-EsxSoftwarePackage], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.ImageBuilder.Commands.AddProfilePackage

Get-EsxSoftwarePackage : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:60 char:5
+ if (Get-EsxSoftwarePackage -Name Net-Community* -ErrorAction Silently ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-EsxSoftwarePackage], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.GetPackages

Exporting ISO to C:\esxi depot\Custom-ESXi8-HyperV.iso ...
Export-EsxImageProfile : Cannot validate argument on parameter 'ImageProfile'. The argument is null or empty. Provide 
an argument that is not null or empty, and then try the command again.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:71 char:15
+ -ImageProfile $CustomProfile `
+               ~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Export-EsxImageProfile], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,VMware.ImageBuilder.Commands.ExportProfile

✅ Custom ISO created successfully: C:\esxi depot\Custom-ESXi8-HyperV.iso

## ERROR ##

Diagnose:

On checking the Python path is set to,

FIX:

Since my Python is setup is different path.

This error means PowerCLI can’t find (or use) your Python interpreter properly — even though you do have Python 3.12 installed.

Follow-up ERROR:

You’ve installed Python 3.12.4, but PowerCLI is still pointing to an old path (C:\Program Files\Python311\python.exe).

where python

## Output->
## C:\Users\<username>\AppData\Local\Programs\Python\Python312\python.exe

Diagnose:

Set it globally:

Set-PowerCLIConfiguration -Scope AllUsers -PythonPath "C:\Users\<username>\AppData\Local\Programs\Python\Python312\python.exe" -Confirm:$false

Confirm the configuration:

Get-PowerCLIConfiguration | Select-Object PythonPath

Note:

Its important to CLEAN UP the above two Python Path set at Global level:

-> Reset all PowerCLI Python paths

Run these three commands in sequence*:*

##Run these three commands in sequence##

Set-PowerCLIConfiguration -Scope User -PythonPath "" -Confirm:$false

Set-PowerCLIConfiguration -Scope AllUsers -PythonPath "" -Confirm:$false

Set-PowerCLIConfiguration -Scope Session -PythonPath "" -Confirm:$false

##Run these three commands in sequence##

✅ This clears every stored Python path (User, AllUsers, Session).

Now, reconfigure PowerCLI with your working Python 3.12 location:

Set-PowerCLIConfiguration -Scope AllUsers -PythonPath "C:\Users\<username>\AppData\Local\Programs\Python\Python312\python.exe" -Confirm:$false

Verify:

Get-PowerCLIConfiguration | Select-Object Scope, PythonPath

# Output ->
# Scope      PythonPath
# -----      -----------
# AllUsers   C:\Users\Administrator\AppData\Local\Programs\Python\Python312\python.exe

Follow-up ERROR:

Still the same issue occurred:

##ERROR##
The PythonPath PowerCLI configuration 'C:\Users\<username>\AppData\Local\Programs\Python\Python312\python.exe' points to a non-existing file.
##ERROR##

# even though that file does exist (as shown in the folder view).

even though that file does exist (as shown in the folder view).

Diagnose:

This usually happens when:

  1. PowerCLI is running as Administrator, but Python was installed for the current user only (under C:\Users\<username>\AppData\Local\Programs\Python).

  2. The Administrator account doesn’t have access to that user’s AppData path — so PowerCLI can’t see it.

  3. Result: PowerCLI says “non-existing file” even though the file exists for your normal user.

FIX-A:

Steps -

  1. Uninstall the current Python 3.12.4:

    • Control Panel → Programs → Uninstall a program → Select Python 3.12.4 → Uninstall.

  2. Reinstall Python 3.12.4 but this time:

    • During setup:

      • ✅ Check “Add Python to PATH”

      • ✅ Click Customize installation

  • ✅ Check “Install for all users”

  • It will now install to: “C:\Program Files\Python312\python.exe”.

  1. Set PowerCLI to this new global path:

     Set-PowerCLIConfiguration -Scope AllUsers -PythonPath "C:\Program Files\Python312\python.exe" -Confirm:$false
    

    Verify:

     Get-PowerCLIConfiguration | Select-Object Scope,PythonPath
    

     ##OUTPUT##
     AllUsers   C:\Program Files\Python312\python.exe
    

Error:

Was Getting Same PYTHON error; but this time saying Python pip packages (six psutil lxml pyopenssl) not recognized similar to this:

## ERROR ##

PS C:\esxi depot> .\esxi-hyperVCustomizer.ps1
Loading PowerCLI...
Adding software depots...
Add-EsxSoftwareDepot : Failed to run 'python.exe'. Make sure that Python version 3.7.1 - 3.12 is installed and that 
you have set the path to the Python executable by using Set-PowerCLIConfiguration -PythonPath <executable_path>. See 
the PowerCLI Compatibility Matrixes for information on the Python requirements.
At C:\esxi depot\esxi-hyperVCustomizer.ps1:29 char:1
+ Add-EsxSoftwareDepot $BaseDepot | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : System.Exception,VMware.ImageBuilder.Commands.AddDepot
 0

## ERROR ##

Diagnose:

On inspection, it was found that PYTHON was not set at ENVIRONMENT PATH (at System Properties of SYSTEM).

FIX:

Setting the ENVIRONMENT PATH for PYTHON 3.12 (as per the setup file installed)

✅ With this PYTHON Issues started working with permanent FIXES!

Once Script Executed now ERRORS revolved mostly around ISO drivers!

Error:

## ERROR - 1
Add-EsxSoftwareDepot : Could not download from depot at file:///C:/esxi%20depot/net-e1000e-3.1.0.2-glr2-offline_bundle/index.xml, skipping (('C:\\esxi 
depot\\net-e1000e-3.1.0.2-glr2-offline_bundle\\index.xml', '', '<urlopen error unknown url type: c>'))
At C:\esxi depot\esxi-hyperVCustomizer.ps1:31 char:1
+ Add-EsxSoftwareDepot $E1000eBundle | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot 

## ERROR - 2
Add-EsxSoftwarePackage : Cannot add VIB 'net-e1000e' which is not in the depot
At C:\esxi depot\esxi-hyperVCustomizer.ps1:55 char:1
+ Add-EsxSoftwarePackage `
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwarePackage], FaultException
    + FullyQualifiedErrorId : System.ServiceModel.FaultException,VMware.ImageBuilder.Commands.AddProfilePackage 

## ERROR - 3
Export-EsxImageProfile : [WinError 32] The process cannot access the file because it is being used by another process: 
'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\tmpowz8qzvl'
At C:\esxi depot\esxi-hyperVCustomizer.ps1:71 char:1
+ Export-EsxImageProfile `
+ ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Export-EsxImageProfile], FaultException
    + FullyQualifiedErrorId : System.ServiceModel.FaultException,VMware.ImageBuilder.Commands.ExportProfile

Diagnose & Possible FIXES:

  1. For Add-EsxSoftwareDepot — invalid path (unknown URL type: c):

    PowerCLI expects a valid file URI, not a Windows-style path with spaces or %20.

     C:/esxi depot/net-e1000e-3.1.0.2-glr2-offline_bundle
    

    contains a space → esxi depot.

    FIX:

    Rename your folder (remove space) or wrap the path in PowerShell’s proper file URI format:

     $E1000eBundle = "C:\esxi_depot\net-e1000e-3.1.0.2-glr2-offline_bundle.zip"
     Add-EsxSoftwareDepot (Convert-Path $E1000eBundle) | Out-Null
    

    RENAMED as “esxi_depot”.

  2. For Add-EsxSoftwarePackage — VIB not found in depot

    The net-e1000e package wasn’t successfully added (because step 1 failed).
    If the bundle isn’t added, PowerCLI doesn’t know that VIB exists.

    FIX:

    After fixing (1), re-run:

     Get-EsxSoftwarePackage | Where-Object {$_.Name -match "e1000e"}
    

    If it still fails, check the ZIP structure — it must contain:

     metadata.zip
     index.xml
     vib20/
    

    If it doesn’t → it’s not a valid offline bundle. Use this correct version instead:

     👉 https://vibsdepot.v-front.de/depot/vft-offline-bundle-2023.zip
     (contains net-e1000e and tulip)
    
     Add-EsxSoftwareDepot "C:\esxi_depot\vft-offline-bundle-2023.zip"
    
  3. For Export-EsxImageProfile — file in use (WinError 32):

    The temporary build folder in %temp% is locked (often by Windows Defender, or a leftover PowerCLI process).

    FIX:

    Before export, add cleanup + unique temp folder logic:

     $tempPath = Join-Path $env:TEMP ("esxi_" + [guid]::NewGuid().ToString())
     New-Item -ItemType Directory -Path $tempPath | Out-Null
     $isoPath = "C:\esxi_depot\Custom-ESXi8-HyperV.iso"
    
     try {
         Export-EsxImageProfile -ImageProfile $ImageProfile -ExportToIso -FilePath $isoPath -WorkingDirectory $tempPath -Force
         Write-Host "✅ ISO export successful: $isoPath" -ForegroundColor Green
     } catch {
         Write-Host "❌ ISO creation failed. Error: $($_.Exception.Message)" -ForegroundColor Red
     }
    

    ✅ Final Recommendations

    • Rename depot folder → C:\esxi_depot

    • Use valid bundle ZIPs (not extracted folders)

    • Add the above temp directory + error handling section

    • Add a success/fail summary at the end:

        if (Test-Path $isoPath) {
            Write-Host "`n🎉 ISO creation succeeded!" -ForegroundColor Green
        } else {
            Write-Host "`n❌ ISO creation failed!" -ForegroundColor Red
        }
      

Error:

## ERROR ##

Add-EsxSoftwareDepot : Image profiles ESXi-8.0U3d-24585383-no-tools (id: 5937d512f01311efb21102003401ce16) and ESXi-8.0U3d-24585383-no-tools (id: 
5937d512f01311efb21102003401ce16) have unequal values of the 'vibs' attribute: '{'VMware_bootbank_bmcal_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib 
object at 0x000001D3B20B82F0>, 'VMware_bootbank_cpu-microcode_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D8770>, 
'VMware_bootbank_crx_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D9520>, 
'VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D9BE0>, 
'VMware_bootbank_esxio-combiner_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20DA480>, 
'VMware_bootbank_gc_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20DABA0>, 'VMware_bootbank_infravisor_8.0.3-0.60.24585383': 
<vmware.esximage.Vib.ArFileVib object at 0x000001D3B20DB530>, 'VMware_bootbank_trx_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 
0x000001D3B20DBC50>, 'VMware_bootbank_vcls-pod-crx_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D8530>, 
'VMware_bootbank_vds-vsip_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B21506E0>, 
'VMware_bootbank_esx-xserver_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B2150D70>, 
'VMware_bootbank_bmcal-esxio_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B21515E0>, 
'VMware_bootbank_clusterstore_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B2151D30>, 

## ERROR ##

<vmware.esximage.Vib.ArFileVib object at 0x000001D3B2478260>, 'VMW_bootbank_net-community_1.2.7.0-1vmw.700.1.0.15843807': <vmware.esximage.Vib.ArFileVib 
object at 0x000001D3B24F2AE0>}' != '{}'
At C:\esxi_depot\esxi-hyperVCustomizer.ps1:36 char:1
+ Add-EsxSoftwareDepot $E1000eBundle | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-EsxSoftwareDepot], FaultException
    + FullyQualifiedErrorId : System.ServiceModel.FaultException,VMware.ImageBuilder.Commands.AddDepot

Add-EsxSoftwareDepot : Image profiles ESXi-8.0U3d-24585383-no-tools (id: 5937d512f01311efb21102003401ce16) and ESXi-8.0U3d-24585383-no-tools (id: 
5937d512f01311efb21102003401ce16) have unequal values of the 'vibs' attribute: '{'VMware_bootbank_bmcal_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib 
object at 0x000001D3B20B82F0>, 'VMware_bootbank_cpu-microcode_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D8770>, 
'VMware_bootbank_crx_8.0.3-0.60.24585383': <vmware.esximage.Vib.ArFileVib object at 0x000001D3B20D9520>,  

## ERROR ##

Diagnose:

On googling this error & taking quick assistance from OpenAI,

On loading several depots in script:

Add-EsxSoftwareDepot $BaseDepot
Add-EsxSoftwareDepot $TulipBundle
Add-EsxSoftwareDepot $E1000eBundle
Add-EsxSoftwareDepot $CommDriver

“Image profiles ESXi-8.0U3d-24585383-no-tools (...) have unequal values of the 'vibs' attribute”

This issue mostly occurs due to two (or more) of your depot ZIPs contain the same image profile name (ESXi-8.0U3d-24585383-no-tools) but with slightly different VIB definitions, which PowerCLI treats as a conflict.

This happens when:

  • You use a full base depot (from VMware) and

  • Also use another bundle that redefines the same image profile (like a community or vendor bundle that includes duplicate metadata).

But to be honest in my case, it got resolved by cleaning & performing it a FRESH START!

FIX:

Sometimes old depot cache entries cause persistent issues. Run before your script:

Get-EsxSoftwareDepot | Remove-EsxSoftwareDepot

Then rerun the script — clean start, no conflicts.

✅ Significant progress has been observed so far.

Error:

ISO export failed: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2
\\tmpzalznyp2

Diagnose:

## ERROR ##
[WinError 32] The process cannot access the file because it is being used by another process
## ERROR ##

This is a classic Windows “file lock” issue when exporting an ESXi ISO. PowerCLI tries to write temporary files to %TEMP%, but something else (often antivirus, indexing, or an open file handle) locks it.

Possible FIX:

Closed all File Explorers, Disabled ANTI-VIRUS.

Mostly Rebooted my SYSTEM/VM.

REFERENCES

About the author

  • A passionate Senior System Administrator with a strong and evolving focus on DevOps practices. With extensive experience in server administration, infrastructure management, and advanced troubleshooting, I specialize in optimizing systems through automation, CI/CD pipelines, and performance tuning. Currently working with cloud platforms like AWS & Azure, virtualization technologies, and configuration management tools, I am committed to driving efficiency, scalability, and reliability across environments. Through this blog, I will be sharing hands-on insights, tutorials, and practical tips to help professionals grow in system administration and automation.

No comments yet. Be the first to comment.

VMware Area⚡

Part 7 of 8

This series is my tribute to VMware Technologies — ESXi, vCenter, vSAN, and Virtualization — dedicated to everything I learn, build, and automate in creating powerful virtual infrastructures!

Up next2. Setting up Legacy ESXI Server on HYPER-V - An ExperimentDeep Dive into VMware services: A Blog Series