Apps Change OneDrive Personal Vault Auto Lock After Time in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:
  • Tags Tags
    onedrive

OneDrive_Personal_Vault_banner.png

This tutorial will show you how to change the inactivity timeout for when your Personal Value automatically locks for your account in Windows 10 and Windows 11.

You can use OneDrive to sync files and folders between your computer and the cloud, so you can get to your files from anywhere - your computer, your mobile device, and even through the OneDrive website at OneDrive.live.com. If you add, change, or delete a file or folder in your OneDrive folder, the file or folder is added, changed, or deleted on the OneDrive website and vice versa. You can work with your synced files directly in File Explorer and access your files even when you’re offline. Whenever you’re online, any changes that you or others make will sync automatically.

Personal Vault is a protected area in OneDrive where you can store your most important or sensitive files and photos without sacrificing the convenience of anywhere access.

Your locked files in Personal Vault have an extra layer of security keeping them more secured in the event that someone gains access to your account or your device.

Personal Vault is available from OneDrive on the web, the mobile app, and from your Windows 10 or Windows 11 PC. You’ll need to set it up separately on each device where you want to use it.

Personal Vault automatically locks after a period of inactivity and then you need to unlock it to get at your files again. Your Personal Vault will automatically lock after 20 minutes of inactivity by default. You will get the notification below 5 minutes before your Personal Vault automatically locks.

You can select to automatically lock your Personal Vault after 20 minutes, 1 hour, 2 hours, or 4 hours of inactivity. You can manually lock and unlock your Personal Vault at any time.

OneDrive_lock_Personal_Vault_notification.png


Reference:



Contents

  • Option One: Change OneDrive Personal Vault Auto Lock After Time in OneDrive Settings
  • Option Two: Change OneDrive Personal Vault Auto Lock After Time using REG file


EXAMPLE: OneDrive Personal Vault locked and unlocked

OneDrive_Personal_Vault_locked.png
OneDrive_Personal_Vault_unlocked.png





Option One

Change OneDrive Personal Vault Auto Lock After Time in OneDrive Settings


1 Perform one of the options below you want to open OneDrive Settings: (see screenshots below)
  • Click/tap on the OneDrive notification icon on the taskbar system tray, click/tap on the Help & Settings (gear) button, and click/tap on Settings. (see screenshot below)
  • Open your OneDrive folder in File Explorer (Win+E), click/tap on OneDrive on the command bar, and click/tap on the Settings (gear) button.
OneDrive_lock_Personal_Vault_timeout-2.png
OneDrive_lock_Personal_Vault_timeout-1.png

2 Click/tap on Account in the left pane of OneDrive settings. (see screenshot below step 3)

3 Select 20 Minutes (default), 1 Hour, 2 Hours, or 4 Hours in the "Lock Personal Vault after" drop menu for the inactivity time you want. (see screenshot below)

OneDrive_lock_Personal_Vault_timeout-3.png




Option Two

Change OneDrive Personal Vault Auto Lock After Time using REG file


1 Do step 2 (20 minutes), step 3 (1 hour), step 4 (2 hours), or step 5 (3 hours) below for the Personal Vault inactivity lock time you want.

2 Automatically Lock Personal Vault after 20 Minutes of Inactivity

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Default-lock_OneDrive_Personal_Vault_after_20-minutes.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive]
"VaultInactivityTimeout"=dword:00000000

3 Automatically Lock Personal Vault after 1 Hour of Inactivity

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Lock_OneDrive_Personal_Vault_after_1-hour.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive]
"VaultInactivityTimeout"=dword:00000001

4 Automatically Lock Personal Vault after 2 Hours of Inactivity

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Lock_OneDrive_Personal_Vault_after_2-hours.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive]
"VaultInactivityTimeout"=dword:00000002

5 Automatically Lock Personal Vault after 4 Hours of Inactivity

A) Click/tap on the Download button below to download the file below, and go to step 6 below.​

Lock_OneDrive_Personal_Vault_after_4-hours.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive]
"VaultInactivityTimeout"=dword:00000004

6 Save the .reg file to your desktop.

7 Double click/tap on the downloaded .reg file to merge it.

8 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

9 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Tried the solution numbered 5 and followed the instructions completely and no change to my OneDrive vault time.

This is so frustrating.

Windows 11 Home 24H2 Version
 

Attachments

  • OneDrive Time.webp
    OneDrive Time.webp
    26.1 KB · Views: 2
  • Actual OneDrive.webp
    Actual OneDrive.webp
    24.8 KB · Views: 2

My Computer

System One

  • OS
    Windows 11
Tried the solution numbered 5 and followed the instructions completely and no change to my OneDrive vault time.

This is so frustrating.

Windows 11 Home 24H2 Version

Hello, :alien:

As a test, close OneDrive completely, change the setting, then open OneDrive to see if the setting has been applied or not.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Okay I may be new at this sort of thing, but I do know one thing.

How am I supposed to change the settings when the app is closed and nothing is available to change?

I tried your suggestion, which led to the question I posted.
 

My Computer

System One

  • OS
    Windows 11
Hello, :alien:

As a test, close OneDrive completely, change the setting, then open OneDrive to see if the setting has been applied or not.
I have sent a report to Microsoft about this problem, after I tried your solution.

Waiting on their reply or fix to come through.

Thank you Brink.
 

My Computer

System One

  • OS
    Windows 11

Latest Support Threads

Latest Tutorials

Back
Top Bottom