Change vCenter Web UI Timeout

Here's how to change the default web UI timeout for vCenter's web UIs (Flash/Flex and HTML5). (Default is two hours)

1 min read

By default, the vCenter web UI (Flash/Flex or HTML5) will kick users out after a certain period of inactivity.  Usually, at least in my experience, users get kicked multiple times per day.  Here's how to extend that timeout.

Environment: vCenter 6.7


  1. SSH into your vCenter appliance
  2. Edit /etc/vmware/vsphere-ui/
    Change the following line from
    session.timeout = 120
    session.timeout = 600
    Note: This value is in seconds. For example, a value of 600 equals 10 hours.
  3. Restart the HTML5 web UI:
    service-control --stop vsphere-ui
    service-control --start vsphere-ui
  4. Restart the Flash (Flex) web UI:
    service-control --stop vsphere-control
    service-control --start vsphere-control
  5. Done!
Tyler Wright