Unlock-BitLocker (BitLocker) (2024)

  • Reference
Module:
BitLocker

Restores access to data on a BitLocker volume.

Syntax

Unlock-BitLocker [-MountPoint] <String[]> -Password <SecureString> [-WhatIf] [-Confirm] [<CommonParameters>]
Unlock-BitLocker [-MountPoint] <String[]> -RecoveryPassword <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Unlock-BitLocker [-MountPoint] <String[]> -RecoveryKeyPath <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Unlock-BitLocker [-MountPoint] <String[]> [-AdAccountOrGroup] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

The Unlock-BitLocker cmdlet restores access to encrypted data on a volume that uses BitLocker Drive Encryption.You can use the Lock-BitLocker cmdlet to prevent access.

In order to restore access, provide one of the following key protectors for the volume:

  • Active Directory Domain Services (AD DS) account
  • Password
  • Recovery key
  • Recovery password

For an overview of BitLocker, see BitLocker Drive Encryption Overview on TechNet.

Examples

Example 1: Unlock a volume

PS C:\> $SecureString = ConvertTo-SecureString "fjuksAS1337" -AsPlainText -ForcePS C:\> Unlock-BitLocker -MountPoint "E:" -Password $SecureString

This example unlocks a specified BitLocker volume by using a password.

The first command uses the ConvertTo-SecureString cmdlet to create a secure string that contains a password and saves it in the $SecureString variable.For more information about the ConvertTo-SecureString cmdlet, type Get-Help ConvertTo-SecureString.

The second command unlocks the specified BitLocker volume by using the password saved in the $SecureString variable.

Parameters

-AdAccountOrGroup

Indicates that BitLocker requires account credentials to unlock the volume.In order to use this parameter, the account for the current user must be a key protector for the volume.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MountPoint

Specifies an array of drive letters or BitLocker volume objects.The cmdlet unlocks the volumes specified.To obtain a BitLocker volume object, use the Get-BitLockerVolume cmdlet.

Type:String[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Password

Specifies a secure string that contains a password.The password specified acts as a protector for the volume encryption key.

Type:SecureString
Aliases:pw
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RecoveryKeyPath

Specifies the path to a folder where recovery keys are stored.The key stored in the specified path, if found, acts as a protector for the volume encryption.

Type:String
Aliases:rk
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RecoveryPassword

Specifies a recovery password.The password specified acts as a protector for the volume encryption key.

Type:String
Aliases:rp
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs.The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

BitLockerVolume[], String[]

Outputs

BitLockerVolume[]

Unlock-BitLocker (BitLocker) (2024)
Top Articles
Cosmetic Fixes After Foundation Repair - Granite Foundation Repair
Testing out Play airlines, a new ‘budget’ option for flights to Europe
Spectrum Gdvr-2007
Netr Aerial Viewer
Craigslist Cars And Trucks For Sale By Owner Indianapolis
25X11X10 Atv Tires Tractor Supply
Practical Magic 123Movies
Obituary (Binghamton Press & Sun-Bulletin): Tully Area Historical Society
Computer Repair Tryon North Carolina
Pbr Wisconsin Baseball
Slay The Spire Red Mask
Best Private Elementary Schools In Virginia
Tamilblasters 2023
Epaper Pudari
What Was D-Day Weegy
Knaben Pirate Download
Hssn Broadcasts
9044906381
Jenn Pellegrino Photos
Dirt Removal in Burnet, TX ~ Instant Upfront Pricing
Azpeople View Paycheck/W2
Understanding Genetics
Ivegore Machete Mutolation
Sodium azide 1% in aqueous solution
Holiday Gift Bearer In Egypt
South Bend Weather Underground
Booknet.com Contract Marriage 2
Labcorp.leavepro.com
Relaxed Sneak Animations
How often should you visit your Barber?
Trust/Family Bank Contingency Plan
Selfservice Bright Lending
New Gold Lee
KM to M (Kilometer to Meter) Converter, 1 km is 1000 m
Aliciabibs
Home Auctions - Real Estate Auctions
Joey Gentile Lpsg
UT Announces Physician Assistant Medicine Program
Paperlessemployee/Dollartree
The Blackening Showtimes Near Ncg Cinema - Grand Blanc Trillium
A jovem que batizou lei após ser sequestrada por 'amigo virtual'
Meee Ruh
Egg Inc Wiki
Automatic Vehicle Accident Detection and Messageing System – IJERT
Skyward Login Wylie Isd
March 2023 Wincalendar
Noelleleyva Leaks
Overstock Comenity Login
Mazda 3 Depreciation
Haunted Mansion Showtimes Near The Grand 14 - Ambassador
Salem witch trials - Hysteria, Accusations, Executions
Emmi-Sellers
Latest Posts
Article information

Author: Prof. Nancy Dach

Last Updated:

Views: 6281

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Prof. Nancy Dach

Birthday: 1993-08-23

Address: 569 Waelchi Ports, South Blainebury, LA 11589

Phone: +9958996486049

Job: Sales Manager

Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.