Recently we had a customer asking us if we could change the timeout on the vSphere Web Client because they had some issues with the default 120 minutes / 2 hours that are configured in the vCenter settings.

Changing this is rather simple and can be done in the following file on the vCenter Appliance:

Look up the “session.timeout” value and change it to your likings. The default is 120 minutes and if you enter “0” it will be indefinite. Same thing is true for the settings for the HTML5 client; that config file can be found at the following path:

VCSA setting to change

Change the same settings and you are good to go! Restart the service with the following commands and the settings will be in effect:

Please be aware that this obviously should not be changed if your business has security policies in place regarding maximum session timeouts. I advise you to always keep this in mind. Preferably you should not change this on a production environment.


  1. Hi Bryan,

    all is well, except for one thing: the formatting.

    The code snippet statement says “service-control –stop vsphere-ui” where in fact it should be “service-control –stop vsphere-ui” (two single dashes).

    This was supposedly auto-merged by the WordPress editor. And I don’t even know if my comment will be auto-merged as well as soon as I hit the button below … let’s give it a try 🙂


    Tobias Heyl

Leave a Reply

Your email address will not be published. Required fields are marked *