How to Lock D Drive in Windows 10: A Step-by-Step Security Guide

If by “lock” you mean protect the contents of a D: drive from someone who does not have the encryption key, use Windows drive encryption where your edition and hardware support it. Simply hiding the drive letter or changing ordinary folder permissions is not equivalent to encrypting the data.

Use BitLocker on supported Windows editions

  1. Back up important files before changing drive encryption.
  2. Open the Windows BitLocker management controls.
  3. Find the D: drive.
  4. Choose Turn on BitLocker when the option is available.
  5. Select an approved unlock method.
  6. Save the recovery key somewhere separate from the encrypted drive.
  7. Follow the prompts to encrypt the volume.

The recovery key is essential

Encryption is designed to prevent access without authorization. If you lose every valid unlock method and the recovery key, your data may be unrecoverable. Verify that the recovery key is stored safely before relying on encryption.

Permissions solve a different problem

NTFS permissions can limit access between Windows accounts while the operating system is running, but they do not provide the same protection as full-volume encryption against someone who removes the drive or boots another operating system.

Check the Windows edition

BitLocker management features differ by Windows edition and device configuration. On a managed computer, follow the organization’s encryption and recovery-key policy.

Windows 10 normal support ended October 14, 2025.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy