{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-tw/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"}],"update_at":"2026/10/7","updated_at_date_time":"2026-10-07T23:17:08.1985039Z"},"_path":"module/configurationmanager/new-cmbmsosdencryptionpolicy.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmbmsosdencryptionpolicy?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"7e12d4bb-cc4b-dd6a-fadc-5cd3ace2f64f","document_version_independent_id":"b8ec843a-fb11-891a-afaf-8742322ba4a1","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"c74b3f4574af7a8a480adb998b311f6eeeb3e856","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/c74b3f4574af7a8a480adb998b311f6eeeb3e856/sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md","github_contributors":["aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"08/13/2020","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-10-07 11:17 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmbmsosdencryptionpolicy","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMBMSOSDEncryptionPolicy","schemaType":"PowershellCmdlet","summary":"<p>建立原則來管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n","uid":"ConfigurationManager.New-CMBMSOSDEncryptionPolicy"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMBMSOSDEncryptionPolicy":{"href":"new-cmbmsosdencryptionpolicy","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMBMSOSDEncryptionPolicy","schemaType":"PowershellCmdlet","summary":"<p>建立原則來管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n","uid":"ConfigurationManager.New-CMBMSOSDEncryptionPolicy"}},"description":"<p>使用此 Cmdlet 來建立原則，以管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n<p>如果您想要在沒有 <a href=\"/windows/security/information-protection/tpm/trusted-platform-module-top-node\">信賴平臺模組的 </a>計算機上使用 BitLocker (TPM) ，請勿使用 <strong>-RequireTpm</strong> 參數。 在此模式中，BitLocker 需要裝置啟動時的密碼。 如果您忘記密碼，請使用 BitLocker 複原選項來存取磁碟驅動器。</p>\n<p>在具有相容 TPM 的計算機上，BitLocker 可以在裝置啟動時使用兩種驗證方法。 此行為可為加密數據提供額外的保護。 當計算機啟動時，它只能使用 TPM 進行驗證，也可以要求輸入個人識別碼 (PIN) 。</p>\n<div class=\"TIP\">\n<p>提示</p>\n<p>為了提高安全性，當您使用 TPM + PIN 保護裝置啟用裝置時，請考慮停用<strong>系統</strong>&gt;<strong>電源管理</strong>&gt;睡眠設定中的下列組<strong>策略設定</strong>：</p>\n<ul>\n<li><p>允許在睡眠 (插入時 (S1-S3) 待命狀態) </p>\n</li>\n<li><p>在電池) 上睡眠 (時，允許 S1-S3 () 待命狀態</p>\n</li>\n</ul>\n</div>\n","examples":[{"code":"New-CMBMSOSDEncryptionPolicy -PolicyState Enabled -RequireTpm -MinimumPinLength 16 -Protector TpmAndPin","description":"","summary":"<p>此範例會建立使用下列屬性啟用的新原則：</p>\n<ul>\n<li>需要 TPM</li>\n<li>需要具有 TPM 的 PIN</li>\n<li>PIN 至少必須是16個數位</li>\n</ul>\n","title":"範例 1：建立需要具有 PIN 的 TPM 的新原則"},{"code":"New-CMBMSOSDEncryptionPolicy -PolicyState Enabled -Protector TpmOnly","description":"","summary":"<p>此範例會建立已啟用且只需要 TPM 的新原則。</p>\n","title":"範例 2：僅建立 TPM 的新原則"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"new-cmblmsetting","text":"New-CMBlmSetting"},{"href":"/mem/configmgr/protect/tech-ref/bitlocker/settings#operating-system-drive-encryption-settings","text":"BitLocker 設定參考"}],"module":"ConfigurationManager","name":"New-CMBMSOSDEncryptionPolicy","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.AdminConsole.BitlockerManagement.PolicyObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>此參數會將通配符視為常值字元值。 您無法將其與 <strong>ForceWildcardHandling</strong> 結合。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會處理通配符，並可能導致非預期的行為 (不建議) 。 您無法將其與 <strong>DisableWildcardHandling</strong> 結合。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果您需要 PIN，此值是使用者可以指定的最短長度。 當電腦開機以解除鎖定磁碟驅動器時，用戶會輸入此 PIN。 根據預設，PIN 長度下限為 <code>4</code>。 將值從 <code>4</code> 設定為 <code>20</code>。</p>\n","name":"MinimumPinLength","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">UInt32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此參數來設定原則。</p>\n<ul>\n<li><p>\n              <code>Enabled</code>：如果您啟用此原則，用戶必須將OS磁碟驅動器置於BitLocker 保護之下，並加密磁碟驅動器。</p>\n</li>\n<li><p>\n              <code>Disabled</code>：如果您停用此原則，使用者就無法將OS磁碟驅動器置於 BitLocker 保護之下。 如果您在 OS 磁碟驅動器加密之後套用此原則，BitLocker 會解密磁碟驅動器。</p>\n</li>\n<li><p>\n              <code>NotConfigured</code>：如果您未設定此原則，則操作系統磁碟驅動器上不需要 BitLocker。</p>\n</li>\n</ul>\n","name":"PolicyState","parameterValueGroup":"Enabled, Disabled, NotConfigured","position":"Named","type":"<span class=\"no-loc xref\">State</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此參數來指定 OS 磁碟驅動器的保護裝置：</p>\n<ul>\n<li><p>\n              <code>TpmOnly</code>：僅使用 TPM 作為保護裝置</p>\n</li>\n<li><p>\n              <code>TpmAndPin</code>：搭配 TPM 使用 PIN</p>\n</li>\n</ul>\n","name":"Protector","parameterValueGroup":"TpmOnly, TpmAndPin","position":"Named","type":"<span class=\"no-loc xref\">TpmProtector</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>新增此參數以設定原則，要求裝置具有相容的 TPM。</p>\n","name":"RequireTpm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>建立原則來管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n","syntaxes":["New-CMBMSOSDEncryptionPolicy [-PolicyState <State>] [-RequireTpm] [-MinimumPinLength <UInt32>]\n [-Protector <TpmProtector>] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMBMSOSDEncryptionPolicy","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-tw","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmbmsosdencryptionpolicy","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMBMSOSDEncryptionPolicy","schemaType":"PowershellCmdlet","summary":"<p>建立原則來管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n","uid":"ConfigurationManager.New-CMBMSOSDEncryptionPolicy"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmbmsosdencryptionpolicy?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmbmsosdencryptionpolicy?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 來建立原則，以管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n<p>如果您想要在沒有 <a href=&quot;/windows/security/information-protection/tpm/trusted-platform-module-top-node&quot;>信賴平臺模組的 </a>計算機上使用 BitLocker (TPM) ，請勿使用 <strong>-RequireTpm</strong> 參數。 在此模式中，BitLocker 需要裝置啟動時的密碼。 如果您忘記密碼，請使用 BitLocker 複原選項來存取磁碟驅動器。</p>\n<p>在具有相容 TPM 的計算機上，BitLocker 可以在裝置啟動時使用兩種驗證方法。 此行為可為加密數據提供額外的保護。 當計算機啟動時，它只能使用 TPM 進行驗證，也可以要求輸入個人識別碼 (PIN) 。</p>\n<div class=&quot;TIP&quot;>\n<p>提示</p>\n<p>為了提高安全性，當您使用 TPM + PIN 保護裝置啟用裝置時，請考慮停用<strong>系統</strong>&amp;gt;<strong>電源管理</strong>&amp;gt;睡眠設定中的下列組<strong>策略設定</strong>：</p>\n<ul>\n<li><p>允許在睡眠 (插入時 (S1-S3) 待命狀態) </p>\n</li>\n<li><p>在電池) 上睡眠 (時，允許 S1-S3 () 待命狀態</p>\n</li>\n</ul>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMBMSOSDEncryptionPolicy.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-CMBMSOSDEncryptionPolicy\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>建立原則來管理是否要使用 BitLocker 加密 OS 磁碟驅動器。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMBMSOSDEncryptionPolicy [-PolicyState <State>] [-RequireTpm] [-MinimumPinLength <UInt32>]\n [-Protector <TpmProtector>] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMBMSOSDEncryptionPolicy\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}