• Preetam Zare

Install ESXi5.0 from a CD or DVD Using a Script

In the previous post we saw how to interactively install ESXi, here I will show you how to install using script. Only difference between this method and interactive method is you do not need provide any inputs. Just one simple line pointing to ks.cfg file and all done.

What you need? i.e. pre-requisites

IIS or any Webserver

ISO image to burn it on CD/DVD (assuming you do not have ILO)

Configuration of IIS Server

Install IIS using standard next next method. Nothing special there.

Extract ESXi5.0 ISO image using ISO Buster

Below is what it might look after extracting the image

Create a folder by name e.g. ESXi5 under C:Inetpubwwwroot as shown below and copy the above files or entire content of the CD

Create a answer file with name ks.cfg as shown below

# # Sample scripted installation file # # Accept the VMware End User License Agreement vmaccepteula # Set the root password for the DCUI and Tech Support Mode rootpw mypassword # Install on the first local disk available on machine install –firstdisk –overwritevmfs # Set the network to DHCP on the first network adapater network –bootproto=dhcp –device=vmnic0# Reboot the OS but do not eject CD.reboot –-noeject

Copy the ks.cfg file into C:InetpubwwwrootESXi5

Start the server, ensure it boots from the CD as shown below and press enter

When you see below screen press SHIFT + O

You get below screen, remove run runweasel by press backspace

Type the webserver address as shown below

Press Enter and watch the stuff.


Share this:

  1. Facebook

  2. LinkedIn

  3. Twitter

  4. WhatsApp

  5. Reddit

1 view

©2019 by virtual2Cloud. Proudly created with