How to Customize ESXI 6.7 install with Realtek Drivers

Create a folder C:\Esxibuild

Download to C:\Esxibuild
VMware vSphere Hypervisor (ESXi) 6.7U3b Bundle (not the ISO).

Download the Realtek Drivers:
(For this one, I used the net55-r8168-8.045a-napi-offline_bundle)

Here is what the files look like:

Download and install the VMware PowerCLI

Open powershell in Administrator mode. Go to the folder C:\Esxibuild in PS.

Add the VMware Modules for Powershell:

Get-Module -ListAvailable VM* | Import-Module

Check Modules:


Import Modules:

Get-Module -ListAvailable VM* | Import-Module

Find the build information. Open the compressed file for the Esxi bundle you downloaded: c:\esxibuild > ESXi670-201912001 > metadata > profiles. There should be 4 profiles. Copy the path for the next commands.

Change your paths to match.

Add-EsxSoftwareDepot "C:\esxibuild\", "C:\esxibuild\"


New-EsxImageProfile -CloneProfile ESXi-6.7.0-20191204001-standard -name ESXi-6.7.0-20191204001-standard-RTL8111 -Vendor Razz

Set-EsxImageProfile -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -AcceptanceLevel CommunitySupported

Get-EsxSoftwarePackage | Where {$_.Vendor -eq "Realtek"}

Add-EsxSoftwarePackage -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -SoftwarePackage net55-r8168

Export-EsxImageProfile -ImageProfile ESXi-6.7.0-20191204001-standard-RTL8111 -ExportToIso -filepath C:\esxibuild\VMware-ESXi-6.7.0-8169922-RTL8111.iso

Now, there should be an ISO to burn.

Other sources:

2 thoughts on “How to Customize ESXI 6.7 install with Realtek Drivers”

Leave a Comment