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:
From the vSphere Web Client, select the host.
Click 'Configure' -> 'Settings' -> 'System' -> 'Advanced System Settings'.
Enter 'UserVars.DcuiTimeOut' in the filter.
Click 'Edit'.
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