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.

Share this if you found this interesting.

Leave a Reply

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