We help IT Professionals succeed at work.
Get Started

VMWARE hardening and powerCLI

Last Modified: 2015-08-18
I need to configu the host or the VMs on the host as follows:

Anyone have a powerCLI or script to complete this, as we have hundreds of VMS to do individually

Thanks for your help in advance

Verify DiskShrink Is Disabled
Verify DiskWiper Is Disabled
Verify MAC Address Changes Is Set to Reject
The ESXi Host Firewall Must Be Configured to Restrict Access to Services Running on the Host
Disable VM to VM Communication through VMCI
Verify That Floppy Devices Are Not Present
Verify That CD-ROMs Are Not Present
Verify That Parallel Ports Are Not Present
Verify That Serial Ports Are Not Present
Verify That a USB Controller Is Not Present
turn off copy between guest os and remote console
vmware tools auto upgrade
Verify That Paste Is Disabled between Guest OS and Remote Console
Verify Option to Override VMware Tools Settings Is Disabled
Prevent Others Users from Spying on Administrator Remote Consoles
Verify That the Number of Log Files to Keep Is Equal to 10
Verify That Log Rotate Size for Virtual Machines Is Less than or Equal to 100KB
Prevent Unauthorized Connection or Removal of Devices
Prevent Unauthorized Modification of Devices
Do Not Send Host Performance Information to Guests
Control Access to VMs through VMsafe CPU/Mem API
Verify Promiscuous Mode Is Set to Reject
The System Must Be Configured with a Default Gateway for IPv4
The IPv6 Protocol Handler Must Not Be Installed
The DHCP Client Must Be Disabled
Ensure That NTP Is Running
NTP Time Synchronization Must Be Configured
Configure Remote Logging for ESXi Hosts
Disable DCUI to Prevent Local Administrative Control
Disable Esxi Shell Unless Needed for Diagnostics or Troubleshooting
Disable SSH
Verify That Lockdown Mode Is Enabled
Verify That isolation.tools.getCreds.disable Is Set to True
Verify That isolation.tools.ghi.launchmenu.change Is Set to True
Verify That isolation.tools.memSchedFakeSampleStats.disable Is Set to True
Verify That isolation.tools.unity.push.update.disable Is Set to True
Verify Size of GuestInfo File Is Less than or Equal to 1MB
Using at Least Two DNS Servers
Prevent Unintended Use of VMsafe Network APIs
Set a Timeout for the Esxi Shell to Automatically Disabled Idle Sessions after a Predetermined Period
Active Directory "ESX Admin" Group Membership Must Be Verified
Watch Question
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE