5.1 Ensure the DCUI timeout is set to 600 seconds or less


The Direct Console User Interface (DCUI) is used for directly logging into an ESXi host and carrying out host management tasks. This setting terminates an idle DCUI session after the specified number of seconds has elapsed.


Terminating idle DCUI sessions helps avoid unauthorized usage of the DCUI originating from leftover login sessions.


To correct the DCUI timeout setting, perform the following steps:

From the vSphere Web Client, select the host.

Click Configure, then under System select Advanced System Settings.

Select Edit then enter UserVars.DcuiTimeOut in the filter.

Click in the box for the current value, then set the value to 600 seconds or less.

Alternately, use the following PowerCLI command:

Get-VMHost | Get-AdvancedSetting -Name UserVars.DcuiTimeOut | Set-AdvancedSetting -Value 600

See Also