Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

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

April 13, 2022 VirtualizationVMWare

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
previous post
Removing Built-in Teams Chat in Windows 11
next post
Can’t Remove Language Keyboard Layout in Windows 10

Related Reading

Unmounting an NFS Datastore from VMware ESXi

April 21, 2023

How to Increase Virtual Machine Disk Size in...

April 6, 2023

How to Install Free VMware Hypervisor (ESXi)?

January 24, 2023

Using VMware Converter for P2V Migration (Physical to...

October 19, 2022

Using iPerf to Test Network Speed and Bandwidth

September 29, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Recovering Files from BitLocker Encrypted Drive

    June 1, 2023
  • Microsoft Key Management Service (KMS) Volume Activation FAQs

    May 31, 2023
  • Configuring Event Viewer Log Size on Windows

    May 24, 2023
  • How to Detect Who Changed the File/Folder NTFS Permissions on Windows?

    May 24, 2023
  • Enable Single Sign-On (SSO) Authentication on RDS Windows Server

    May 23, 2023
  • Allow Non-admin Users RDP Access to Windows Server

    May 22, 2023
  • How to Create, Change, and Remove Local Users or Groups with PowerShell?

    May 17, 2023
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

    May 16, 2023
  • View Success and Failed Local Logon Attempts on Windows

    May 2, 2023
  • Fix: “Something Went Wrong” Error When Installing Teams

    May 2, 2023

Follow us

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Adding Drivers into VMWare ESXi Installation Image
  • Shrinking VMDK Virtual Disk Size 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?
  • Using iPerf to Test Network Speed and Bandwidth
Footer Logo

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


Back To Top