Information
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.
*Rationale*
Terminating idle DCUI sessions helps avoid unauthorized usage of the DCUI originating from leftover login sessions.
Solution
To correct the DCUI timeout setting, perform the following steps:
1. From the vSphere Web Client, select the host.
2. Click "Configure" -> "Settings" -> "System" -> "Advanced System Settings".
3. Enter "UserVars\.DcuiTimeOut" in the filter.
4. Click "Edit".
5. Set the value for this parameter to 600 seconds or less.
Alternately, use the following PowerCLI command:
Get-VMHost | Get-AdvancedSetting -Name UserVars.DcuiTimeOut | Set- AdvancedSetting -Value 600