Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Virtualization / VMware / How to Change or Disable Session Timeout in VMware vSphere (ESXi) Client

June 8, 2023

How to Change or Disable Session Timeout in VMware vSphere (ESXi) Client

By default, inactivity timeouts are configured in ESXi Host Client or vSphere Web Client management interfaces. Inactivity timeouts cause user sessions to automatically close if users have not opened a browser tab with the VMWare management web interface for a specified period of time. In this article, we’ll show how to increase or disable session inactivity timeout in VMware ESXi and vSphere.

In current ESXi versions, a session is automatically terminated if a user has been inactive for more than 15 minutes. If you return to the ESXi Host Client web interface tab after 15 minutes, you will see the following message:

You were logged out due to inactivity.

vmware esxi: you were logged out due to inactivity

On a standalone ESXi host or in free VMware vSphere Hypervisor, you can change the session timeout in the Host Client Web Interface.

  1. Select your account in the top right corner of the web interface and click Settings -> Application timeout;
  2. The default timeout is 15 minutes;
  3. You can change it to 30 minutes, 1 hour, 2 hours, or disable it completely (off).

esxi application timeout - the ammount of time before the host client will automatically logoff user

If you disable the idle timeout, you will see the following warning:

Disabling session time out could leave your ESXi host vulnerable to malicious activity. Are you sure you want to disable session time out?
For security reasons, it is not recommended to completely disable the automatic logout in the ESXi web interface.

You can also change a web interface session timeout in the ESXi host advanced settings.

  1. Open Manage -> System -> Advanced settings;
  2. Find the UserVars.HostClientSessionTimeout option;
  3. Here you can set the session timeout in seconds. The default value is 900 seconds (15 minutes). You can increase the timeout or disable it (change the value to 0). UserVars.HostClientSessionTimeout - advanced host parameter

To apply new settings, refresh your ESXi management web page (CTRL+F5).

In VMware vSphere 5.1 and newer, the inactivity timeout in vSphere Web Client has been increased from 30 to 120 minutes. If your session is terminated due to a timeout, you will see the following message:

Connection Timeout
Your vSphere Client session is no longer authenticated. Please login again.

Connection Timeout Your vSphere Client session is no longer authenticated

In VMware vSphere 7.0 and newer, you can change the session timeout value in vCenter settings (Administration -> Deployment -> Client Configuration -> Session timeout).

Session timeout in VMware vSphere 7.0

Or in vCenter Server -> Configure -> Settings -> Settings -> Timeout settings. However, you cannot completely disable the inactivity timeout by reducing it to 0.

change the timeout settings in vsphere client

The inactivity timeout value is set in the configuration file on the VCSA host:

  1. Connect to your vCenter Server Appliance host over SSH;
  2. Open the cli console by typing shell;
  3. Edit the webclient.properties file : vi /etc/vmware/vsphere-ui/webclient.properties
  4. Find the session.timeout parameter. As you can see, the default timeout value is 120 minutes; set session.timeout in /etc/vmware/vsphere-ui/webclient.properties
  5. You can change this value or completely disable the inactivity timeout by changing it to 0;
  6. Save the changes: [ESC] -> :wq -> [Enter];
  7. Restart the HTML5 vSphere Web Client:
    service-control --stop vsphere-ui
    service-control --start vsphere-ui
0 comment
0
Facebook Twitter Google + Pinterest
VirtualizationVMware
previous post
Removing Built-in Teams Chat in Windows 11
next post
Can’t Remove Language Keyboard Layout in Windows 10

Related Reading

Configuring iSCSI Datastore (LUN) on VMware ESXi

March 15, 2024

Adding a Sound Card to a Virtual Machine...

March 15, 2024

Adding Drivers into VMWare ESXi Installation Image

March 13, 2024

How to Install Free VMware Hypervisor (ESXi)

March 17, 2024

Windows Cannot Find the Microsoft Software License Terms

April 19, 2023

How to Access VMFS Datastore from Linux, Windows,...

March 11, 2024

Disable Auto Suspend of VM on VMWare Workstation/Player

August 26, 2021

Using iPerf to Test Network Speed and Bandwidth

March 12, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Adding Drivers into VMWare ESXi Installation Image
  • How to Fix ‘An Operating System Wasn’t Found’ Error on Windows
  • Reduce Virtual Machine Disk Size (VMDK) on VMWare ESXi
  • How to Access VMFS Datastore from Linux, Windows, or ESXi
  • Hyper-V Virtual Machine Stuck in Stopping/Starting State
  • Recovering a Deleted VMFS Datastore on VMware ESXi/vSphere
  • How to Install and Configure Free Hyper-V Server 2019/2016
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top