VMWARE ESXi-Customizer-PS Troubleshoot

ESXi-Customizer-PS official site


1. PowerShell :Set ExecutionPolicy to RemoteSigned
Lunch PowerShell as administrator

Set-ExecutionPolicy RemoteSigned

2. Use test first

.\ESXi-Customizer-PS-v2.4.ps1 -test

3.Network Exception:

Connecting the VMware ESXi Online depot ...Add-EsxSoftwaredepot : Could not download from depot at
https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml, skipping
(('https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml', '', '[Errno 4] IOError: <urlopen
error &#91;Errno 10013&#93; An attempt was made to access a socket in a way forbidden by its access permissions>'))
At C:\script\ESXi-Customizer-PS-v2.4.ps1:231 char:22
+     if ($basedepot = Add-EsxSoftwaredepot $vmwdepotURL) {
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (System.String[]:String[]) [Add-EsxSoftwareDepot], Exception
    + FullyQualifiedErrorId : ConnectDepotError,VMware.ImageBuilder.Commands.AddDepot

FATAL ERROR: Cannot add VMware ESXi Online depot. Please check your Internet connectivity and/or proxy settings!

Try change Endpoint security / Anti-Virus Software setting, Your PowerShell can’t access network.

4. Rufus update menu.c32 fail:
Download menu.c32 in https://rufus.akeo.ie/downloads/
After Rufus write to USB drive, copy menu.c32 to USB drive root directory.

ESXI install hang on “initializing IOV”.
Disable Intel VT-d in BIOS when your CPU does not support VT-d.