我的工作电脑出于安全启用了BitLocker,尤其在Windows8以后,连系统盘都可以启用Bitlocker。这样在系统启动之前,就须要输入密码。但是进了系统以后我发现D盘还是锁定的,我又不得不再输入一次密码解锁。能调用PowerShell命令让bitlocker自动解锁吗?
预览BitLocker命令
PS> Get-Command -Module BitLocker | select -ExpandProperty Name Add-BitLockerKeyProtector Backup-BitLockerKeyProtector Clear-BitLockerAutoUnlock Disable-BitLocker Disable-BitLockerAutoUnlock Enable-BitLocker Enable-BitLockerAutoUnlock Get-BitLockerVolume Lock-BitLocker Remove-BitLockerKeyProtector Resume-BitLocker Suspend-BitLocker Unlock-BitLocker
获取非系统卷
PS> $dataVolume = Get-BitLockerVolume | where { $_.VolumeType -ne 'OperatingSystem' } PS> $dataVolume ComputerName:mosser-test-01 VolumeType Mount CapacityGB VolumeStatus Encryption KeyProtector AutoUnlock Protection Point Percentage Enabled Status ---------- ----- ---------- ------------ ---------- ------------ ---------- ---------- Data D: 292.97 FullyEncrypted 100 {Password, RecoveryPas... False On
启用自动解锁
$dataVolume | Enable-BitLockerAutoUnlock
本文链接: https://www.pstips.net/enable-bitlockerautounlock.html
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!
请尊重原作者和编辑的辛勤劳动,欢迎转载,并注明出处!