> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oloid-demo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Windows login 2.0 - How to Set User Cache Validity

> This document provides step-by-step instructions to set the User Cache Validity duration for an endpoint in the Tenant Admin Portal.

## Introduction

User Cache Validity controls how long user data is stored locally on an endpoint after authentication. This document explains how to configure the User Cache Validity duration for an endpoint in the Tenant Admin Portal.

## Prerequisites

* You must have access to the Tenant Admin Portal.
* Ensure Windows Login Application is created. [Windows Login - How to create and configure Windows Login application in the Tenant Admin Portal](https://oloid.help/en/articles/9352266-windows-login-how-to-create-and-configure-windows-login-application-in-the-tenant-admin-portal)
* Ensure the Endpoint is paired with the application. Refer: [Windows Login - How to pair Supervisor App using auto-pair config file option](https://oloid.help/en/articles/9637781-windows-login-how-to-pair-supervisor-app-using-auto-pair-config-file-option)

## Steps to Set User Cache Validity

1. Log in to the **Tenant Admin Portal**.

2. On the Left menu Panel of the Home page select **Endpoints**.

   ![How to Set User Cache Validity - screenshot 1](https://mintcdn.com/oloid-999c42b2/5uiIqG9_6OuRLzl_/images/intercom/15431849/image-bc695cc7.png?fit=max\&auto=format\&n=5uiIqG9_6OuRLzl_\&q=85\&s=7b938308935dc69eec8f165604d5dcd5)

   The **Endpoints** page is displayed.

3. Select the **Endpoint name** to edit.

   ![How to Set User Cache Validity - screenshot 2](https://mintcdn.com/oloid-999c42b2/5uiIqG9_6OuRLzl_/images/intercom/15431849/image-013d07ed.png?fit=max\&auto=format\&n=5uiIqG9_6OuRLzl_\&q=85\&s=6da7997eee1d1a51863811c22be8c0b2)

   The **Endpoints** Details page is displayed.

4. Go to **Endpoint Tab** > **Endpoint Settings**.
   ![How to Set User Cache Validity - screenshot 3](https://downloads.intercomcdn.com/i/o/e4gi378c/2522927868/086ebe31dd065e5dcf7cc303c074/image.png?expires=1790488800\&signature=6c805da9e14a27dfbf40bb68b95733a7d63393b4b48f306fe24a324144bdad9e\&req=diUlFMB8molZUfMW3nq%2BgSe5Jo3EHkm%2BbRkp6KABr6p0Vv8AwpiYJhVME%2Fws%0ALm0k0%2B6TXCLJu1rJjFh7WWM%2BGXI%3D%0A)
   The **Endpoint Settings** page is displayed.

5. Enable the **User Cache Validity** toggle.

6. Under User Cache Validity set the **Duration** as required.

   > [!NOTE]
   >
   > **Note:** User Cache validity is the duration for which the user data will be saved on the machine as cache.

7. Click **Save**.

   ![How to Set User Cache Validity - screenshot 4](https://mintcdn.com/oloid-999c42b2/5uiIqG9_6OuRLzl_/images/intercom/15431849/image-a14cbb49.png?fit=max\&auto=format\&n=5uiIqG9_6OuRLzl_\&q=85\&s=e483b1c7f69e3ad2f03e38ccb89ba056)

   The User Cache Validity duration is set.

![How to Set User Cache Validity - screenshot 5](https://mintcdn.com/oloid-999c42b2/5uiIqG9_6OuRLzl_/images/intercom/15431849/image-0bc422ec.png?fit=max\&auto=format\&n=5uiIqG9_6OuRLzl_\&q=85\&s=708228fb47118095adfa6b37e1abb42d)
