ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How To Disable vSphere Web Client Inactivity Timeout

By Vladan SEGET | Last Updated: February 13, 2019

Shares

vSphere web client is the principal management tool for VMware infrastructure. It is a flash based solution which is currently the only one providing functionality for configuration all features of VMware vSphere. The new HTML 5 web client is in works, but for now, not all functions are available so this client can't be used for day-to-day tasks just yet. One of the annoying things when working in the lab might be the default timeout. In this post, we'll learn How To Disable vSphere Web Client Inactivity Timeout or how to modify its value.

Our lab runs the VMware vCSA 6.5 latest build, and the management of the infrastructure is done through Firefox browser with Flash plugin installed. Even if one would like to set a timeout value through the GUI of the vSphere client, there is no option for that.

The VAMI access to the appliance allows to configure most of the important values, but not the vSphere web client inactivity timeout. To tweak this we need to go and log in through SSH and modify one value within one configuration file. Not a big deal, but you need to know which file to modify and some basic commands for Putty SSH client.

Let's get started. Start Putty client and login to your vCSA. (Note we're using vCSA 6.5 but this process is basically valid on older bilds too. Check the source VMware KB, I think it's valid since vSphere 5.1.

Type this to launch VI editor and open the “webclient.properties” file:

vi /etc/vmware/vsphere-client/webclient.properties

Screenshot from the lab.

Increase vSphere Web Client Idle Timeout on VCSA 6.5

You scroll down a bit to find a line where it says:

session.timeout = 120

Change the value to “0” (zero).

Increase vSphere Web Client Idle Timeout VCSA 6.5

TIP to use Putty:

Use your keyboard and the arrow keys > press ‘i' to insert > change the text (remove the 12 before the 0) > press ‘Esc' > and then type ‘:wq' to save and exit. (you can also type “:wq!” to enforce).

Then you'll need to:

Stop the web client service:

service-control --stop vsphere-client

Start the web client service:

service-control --start vsphere-client

Note: There IS a double dash. It'just my WordPress joining them together so it looks like a single dash… -:)

Note that the start of the service takes some time as the service has to initialize itself. So be patient, before trying to login back into the vCSA through your web browser.

If you want, you can also put a very large number, let's say 48 hours (2880 in seconds).

Here is a short video detailing the stepsCheck the video (watch full screen and HD).

vCenter on Windows?

Similar approach.

One need to edit the config file for the web client too. You can proceed like this. Locate the vSphere web client folder via:

Start > Run or Windows Key + R

“%ALLUSERSPROFILE%\VMware\vSphere Web Client”

Then open text editor (Notepad) and edit the “webclient.properties” file.

Find the session.timeout value and change it to 0 (zero) the same way as we did it above for our vCSA.

Then save and close your text editor with the file.

Go to Windows services (via services.msc Add-On for example) and restart the web client service. (Note: we cannot show you the screenshots because our lab runs on VMware vCSA… -:)).

You're done.

Source: VMware KB 2040626

Small disclaimer.

You may want to backup your vCSA or vCenter first? One never knows. You may or may not be comfortable by using Putty and if anything goes wrong, don't blame us.

More posts from ESX Virtualization:

  • How To Reset ESXi Root Password via Microsoft AD
  • What is VMware Hot-Add RAM and How to use it?
  • How To Create a Security Banner for ESXi
  • How To Configure VMware High Availability (HA) Cluster
  • How to use VMware IOInsight – Free IO Testing Tool

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
4.7/5 - (3 votes)

| Filed Under: How To, Server Virtualization, Videos

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Mark Ciobanu says

    May 9, 2017 at 5:24 pm

    Great tip Vladan. It is worth noting that this time out started to annoy me quite a bit since we just migrated from a windows vCenter with thick clients to VCSA6.5 that only accepts web clients.
    Thanks for saving me some google time!

  2. Svetlin Petrov says

    May 12, 2017 at 11:02 am

    Great article!

    On vCSA 6.0 the correct syntax is:

    service-control –stop vsphere-client

    service-control –start vsphere-client

    • Vladan SEGET says

      May 12, 2017 at 11:25 am

      Hi Svetlin,
      thanks for your comment. Useful indeed. Not everyone has made the move to VCSA 6.5 just yet.

  3. Ken T says

    December 20, 2017 at 7:24 pm

    Does anyone know the equivalent file and setting to change on an ESXi 6.5 host’s webclient? That is, the same as this article, but instead of the timeout for VCSA’s web timeout, the same for the host’s own webclient?

    thanks!

  4. Gerold says

    February 13, 2019 at 1:15 pm

    small typo in the commands to stop and restart the vSphere-client; it must be

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

    or

    service-control –restart vsphere-client

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in