Disabling Network boot option from appearing in a virtual machine's BIOS
search cancel

Disabling Network boot option from appearing in a virtual machine's BIOS

book

Article ID: 312552

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides steps to prevent the Network boot option from appearing in a virtual machine's BIOS. Removing this option prevents access to PXE boot.


Resolution

To remove Network boot from appearing in a virtual machine's BIOS:

  1. Power off the virtual machine.
  2. Open the virtual machine's configuration (/vmfs/volumes/{datastore UUID}/{VM Dir}/{VM Name}.vmx ) file in a text editor. For more information, see Tips for editing a .vmx file (1714).
  3. If the virtual machine is using a VMXNET device, ensure you append the corresponding line's depending on the VMXNET device used.
    For example:


    vmxnet.noOprom = "true"
    vmxnet2.noOprom = "true"
    vmxnet3.noOprom = "true"

    Note: This disables network boot for all VMXnet NICs.
  4. If the virtual machine is using an e1000 device, append the line ethernet0.opromsize with "0".

    For example
    :


    ethernet0.opromsize = "0"

    Note: If you have multiple NICs in e1000 specify the NIC number to be disabled. The network boot is only disabled for that NIC.
  5. Power on the virtual machine and boot into the virtual machine's BIOS. The Network boot option is unavailable.


Additional Information

Tips for editing a .vmx file
仮想マシンの BIOS でのネットワーク起動オプションの表示を無効にする
禁止网络引导选项显示在虚拟机的 BIOS 中

Editing files on an ESX host using vi or nano