OneDrive/My Files password on My PC

Doobi 0 Reputation points
2026-11-21T09:55:50.4066667+00:00

Is it possible to create a password to secure access on My PC to a specific files group in OneDrive My Files?

Microsoft 365 and Office | OneDrive | Other | Windows
0 comments No comments

3 answers

Sort by: Most helpful
  1. Bulldog 5,845 Reputation points
    2026-11-21T11:46:58.7466667+00:00

    You can't password-protect files or folders in OneDrive, because in order to do that you would need to store the password in OneDrive, which is not a good idea.

    But there's another way to protect those files: Encrypt them with a password on your computer, and then store the encrypted files in your OneDrive.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. GsN5034 - IA 80,665 Reputation points Independent Advisor
    2026-11-21T11:19:01.8466667+00:00

    Hello,

    You can’t set a password for OneDrive folders, except for Personal Vault.

    On the free plan, you can store up to three files in Personal Vault.

    With a Microsoft 365 Personal or Family subscription, you get 1 TB of OneDrive storage, and Personal Vault has no separate file limit. You can store files there up to your account’s available storage limit.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-11-21T09:56:27.36+00:00

    OneDrive does not provide a separate password for an arbitrary folder on your PC; for a personal OneDrive account, move those files into Personal Vault, which requires identity verification and automatically relocks after inactivity.^1^

    Set up Personal Vault on Windows

    Personal Vault is available with OneDrive Basic, Personal, and Family subscriptions on Windows 10 version 1903 or later and Windows 11.

    1. Open File Explorer → OneDrive – Personal.
    2. Open Personal Vault. It can also be opened from the OneDrive cloud icon in the Windows notification area.
    3. Select Get started, then Next or Continue.
    4. At Verify your identity, choose an available method:
      • Windows Hello face, fingerprint, or PIN
      • Microsoft Authenticator
      • A code sent by email or SMS
    5. Select the existing files or folders you want to protect and move or drag them into Personal Vault.
    6. When finished, open Personal Vault and select Lock. It will also lock automatically after inactivity.

    When locked, the files require reauthentication, do not appear in search results, and cannot be shared directly from Personal Vault.^1^

    If this is a work or school OneDrive account

    Microsoft’s Personal Vault documentation lists it for personal OneDrive Basic, Personal, and Family accounts. If Personal Vault does not appear in your OneDrive folder or from the taskbar cloud icon, check whether the account is shown as OneDrive – Personal or as an organization’s OneDrive.

    For organizational OneDrive, protect local access by giving each person who uses the PC a separate Windows account and locking or signing out of Windows when leaving the computer. Windows has no built-in feature that simply adds an independent pop-up password to an ordinary file or folder; its supported protections rely on Windows accounts and permissions or encryption.^2^

    A password configured on a OneDrive sharing link is different: it protects people opening that link, not someone already signed into your Windows account or browsing the synchronized OneDrive folder on your PC.


    References

    1. Protect your OneDrive files in Personal Vault | Microsoft Support
    2. How to require a password to access a file or folder - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.