I know VMware has increase the default timeout value in vSphere 5.5 & higher to 120 minutes, but for me, slowly prying my cold dead fingers off the old .NET, C# Windows vSphere Client, it's not long enough ... so here's how to increase it.
I'm pulling the basic information from KB 2040626. Click
here.
Increasing the VMware vSphere Web Client session timeout period
Changes need to be performed on the server/VM hosting vCenter Server.
File locations depending on version:
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 (VCSA) – /var/lib/vmware/vsphere-client
vCenter Server 6.x
Windows 2008/2012 – C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client
VMware vCenter Server Appliance (VCSA) – /etc/vmware/vsphere-client/
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 300 minutes, add the line:
session.timeout = 300
Note: To set the client to never time out, specify a negative value or 0.
Restart the vSphere Web Client Services:
- In Windows operating systems, restart the VMware vSphere Web Client service.
- In the VCSA (vCenter Server Appliance), restart the vsphere-client service.
Note: To restart the vSphere Web Client Service, run these commands:
In the vCenter Server Appliance 5.x:
/etc/init.d/vsphere-client restart
In vCenter Server Appliance 6.x:
service-control --stop vsphere-client
service-control --start vsphere-client