Search the VMware Knowledge Base (KB)
View by Article ID

Increasing the VMware vSphere Web Client session timeout period (2040626)

  • 46 Ratings


By default, a VMware vSphere Web Client 5.1 session terminates after 30 minutes of idle time. In vSphere 5.5, the vSphere Web Client session timeout period was increased to 120 minutes by default.
This article provides steps to increase the timeout period for the vSphere Web Client session.


To increase the timeout value for the vSphere Web Client:

  1. In the computer where the vSphere Web Client is installed, open the file using a text editor.

    This file is located at:

    vCenter Server 5.x

    Windows 2003 – %ALLUSERSPROFILE%\Application Data\VMware\vSphere Web Client
    Windows 2008/2012 – %ALLUSERSPROFILE%\VMware\vSphere Web Client
    VMware vCenter Server Appliance – /var/lib/vmware/vsphere-client

    vCenter Server 6.0.x

    Windows 2008/2012 – C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client
    VMware vCenter Server Appliance – /etc/vmware/vsphere-client/

    vCenter Server 6.5

    VMware vCenter Server Appliance - /etc/vmware/vsphere-ui/

  2. Add this line to the file:

    Note: If the line already exists, verify that the line does not contain a hash (#).

    session.timeout = value

    where value is the timeout value in minutes.

    For example, to set the timeout value to 60 minutes, add the line:

    session.timeout = 60

    Note: To set the client to never time out, specify a negative value or 0.

  3. Restart the vSphere Web Client service.

    • In Windows operating systems, restart the VMware vSphere Web Client service.
    • In the vCenter Server Appliance, restart the vsphere-client service.
    • In vCenter Server Appliance 6.5, restart vsphere-ui

      Note: To restart the vSphere Web Client Service, run these commands:

       In the vCenter Server Appliance:

      /etc/init.d/vsphere-client restart

      In vCenter Server Appliance 6.x:

      service-control --stop vsphere-client
      service-control --start vsphere-client


vSphere-Web-Client Session-Time-out Session-Timeout

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 46 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 46 Ratings