> For the complete documentation index, see [llms.txt](https://osd.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osd.osdeploy.com/docs/trash/mybitlocker/backup-mybitlocker.md).

# Backup-MyBitLocker

This function will backup all BitLocker ExternalKeys (BEK), KeyPackages (KPG), and RecoveryPasswords (TXT) to a Directory (Path)

```
Backup-MyBitLockerKeys -Path F:\BitLocker\$(Get-MyBiosSerialNumber -Brief)
```

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MTCJ1zyD2jzztSvapur%2F-MTCJFfcWzW36sfb777N%2Fimage.png?alt=media\&token=30282375-9ba9-417d-8c61-f7580a793365)

In the command above, I backed up everything to a Directory matching my BIOS Serial Number on my USB Drive

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MTCHvWpoxkrb0mqSEzm%2F-MTCIs_e8orn8aiufbP7%2Fimage.png?alt=media\&token=53d2c717-57e5-43f4-9343-a0715f8f84da)

## Multiple Paths

Supported.

```
Backup-MyBitLockerKeys -Path F:\BitLocker1, F:\BitLocker2
```

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-MTCJ1zyD2jzztSvapur%2F-MTCJtC0KTmJrpAv2iI8%2Fimage.png?alt=media\&token=4a72a956-6634-4b5c-9051-34276aaf82a9)
