設定固定式資料磁碟機的密碼使用方式 的登錄值 FDVPassphrase 等 3 個電腦HKLM\Software\Policies\Microsoft\FVE
- 原則 ID
- FDVPassphrase_Name
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › BitLocker 磁碟機加密 › 固定式資料磁碟機
登錄
FDVPassphrase
REG_DWORD電腦- 啟用時的值
- 1
- 停用時的值
- 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已啟用 "FDVPassphrase"=dword:00000001 ; 已停用 "FDVPassphrase"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphrase" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphrase" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphrase' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphrase' -PropertyType DWord -Value 0 -Force | Out-Null
FDVEnforcePassphrase
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 固定式資料磁碟機需要密碼
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 已核取 "FDVEnforcePassphrase"=dword:00000001 ; 未核取 "FDVEnforcePassphrase"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVEnforcePassphrase" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVEnforcePassphrase" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVEnforcePassphrase' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVEnforcePassphrase' -PropertyType DWord -Value 0 -Force | Out-Null
FDVPassphraseComplexity
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 設定固定式資料磁碟機的密碼複雜性:
| 項目 | 儲存的值 |
|---|---|
| 允許密碼複雜性 | 2 |
| 不允許密碼複雜性 | 0 |
| 需要密碼複雜性 | 1 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 選項 (只使用其中一個) ; 允許密碼複雜性 "FDVPassphraseComplexity"=dword:00000002 ; 不允許密碼複雜性 "FDVPassphraseComplexity"=dword:00000000 ; 需要密碼複雜性 "FDVPassphraseComplexity"=dword:00000001
CMD
:: 選項 (只使用其中一個) :: 允許密碼複雜性 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphraseComplexity" /t REG_DWORD /d 2 /f :: 不允許密碼複雜性 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphraseComplexity" /t REG_DWORD /d 0 /f :: 需要密碼複雜性 reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphraseComplexity" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null # 選項 (只使用其中一個) # 允許密碼複雜性 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphraseComplexity' -PropertyType DWord -Value 2 -Force | Out-Null # 不允許密碼複雜性 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphraseComplexity' -PropertyType DWord -Value 0 -Force | Out-Null # 需要密碼複雜性 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphraseComplexity' -PropertyType DWord -Value 1 -Force | Out-Null
FDVPassphraseLength
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 固定式資料磁碟機的最小密碼長度:
- 值類型
- REG_DWORD
- 必要
- true
- 最小值
- 8
- 最大值
- 99
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\FVE] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "FDVPassphraseLength"=dword:<輸入值>
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\Software\Policies\Microsoft\FVE" /v "FDVPassphraseLength" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\FVE' -Name 'FDVPassphraseLength' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null