Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • 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 2012
    • 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

Updating VMware ESXi Host from the Command Line

May 11, 2022

Managing Hyper-V Virtual Machines with PowerShell

March 15, 2022

How to Upgrade VM Hardware Version in VMware...

March 4, 2022

VMware PowerCLI: How to Install and Manage vSphere...

February 28, 2022

Configure SR-IOV for Hyper-V Virtual Machines on Windows...

February 11, 2022

Leave a Comment Cancel Reply

Categories

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

Recent Posts

  • Create Organizational Units (OU) Structure in Active Directory with PowerShell

    May 17, 2022
  • Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

    May 17, 2022
  • How to Manually Install Windows Updates from CAB and MSU Files?

    May 16, 2022
  • RDS and RemoteApp Performance Issues on Windows Server 2019/2016

    May 16, 2022
  • Deploying Software (MSI Packages) Using Group Policy

    May 12, 2022
  • Updating VMware ESXi Host from the Command Line

    May 11, 2022
  • Enable or Disable MFA for Users in Azure/Microsoft 365

    April 27, 2022
  • Fix: You’ll Need a New App to Open This Windows Defender Link

    April 27, 2022
  • How to Reset an Active Directory User Password with PowerShell and ADUC?

    April 27, 2022
  • How to Completely Uninstall Previous Versions of Office with Removal Scripts?

    April 26, 2022

Follow us

woshub.com

ad

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Shrinking VMDK Virtual Disk Size on VMWare ESXi
  • USB Device Passthrough (Redirect) to Hyper-V Virtual Machine
  • Poor Network Performance on Hyper-V VMs in Windows Server 2019
  • Accessing USB Flash Drive from VMWare ESXi
  • Import, Export and Clone Virtual Machines in Hyper-V
  • Windows Cannot Find the Microsoft Software License Terms
  • How to Install Windows 11 on a Hyper-V Virtual Machine?
Footer Logo

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


Back To Top