我正在尝试使用GP在AD中存储TPM信息 。 我已经validation模式包含适当的对象属性,并validation该属性和ACE是存在于给定的计算机对象上。
我注意到,使用最新的ADMX时,似乎Require TPM back to AD DS
中缺lessRequire TPM back to AD DS
Turn on TPM backup to Active Directory Domain Services
,replace为以下语句:
If you enable this policy setting, TPM owner information will be automatically and silently backed up to AD DS when you use Windows to set or change a TPM owner password.
我使用dsa.msc's Attribute Editor
adsiedit.msc
和脚本Get-TPMOwnerInfo.vbs
检查数据的存在,重置TPM密码后,没有运气。
为什么我不能在AD中存储TPM信息?
[更新回复:评论]
Could you maybe add some details about precisely how you're trying to get the TPM recovery info into AD, and precisely how it's failing?
如文档中所述 ,在将GP( Turn on TPM backup to Active Directory Domain Services
)应用于客户端计算机之后:
TPM recovery information is backed up when you: - Set the TPM owner password during TPM initialization. - Change the TPM owner password.
在这一点上,我不知道在哪里可以看到有关的错误…除了我没有看到存储在计算机对象的msTPM-OwnerInformation
属性中的更新的TPM信息。 要清楚的是,问题是TPM信息没有存储在AD中,我想将其存储在AD中。
What operating system(s) are running on the machine(s) with the TPM(s)?
我正在运行Windows 8.1,但将同时针对Windows 8.1和Windows 7。
[附加信息]
请注意,在“组策略设置参考”中 ,以下registry项反映了GP应用程序:
HKLM\Software\Policies\Microsoft\TPM REG_DWORD: ActiveDirectoryBackup = 0x1 HKLM\Software\Policies\Microsoft\TPM REG_DWORD: RequireActiveDirectoryBackup = 0x1
我执行了以下操作:
Write msTPM-OwnerInformation
权限validation是否存在一个用于SELF
的ACE。 msTPM-OwnerInformation
设置值 原来,只有当您更改密码时才会将TPM信息存储到AD(或尝试将TPM信息存储到AD)。 我没有更改密码,但使用相同的密码。
由于我们的AD架构是超级老派(看起来像服务器2008 SP1,甚至不是R2),我使用BitLockerTPMSchemaExtension.ldf
( 在这里可用)来扩展架构以包含属性:
(授予和值得注意的是msTPM-OwnerInformation
已经存在)
所以,期待这个工作没有问题,我开始实际改变 TPM密码,并立即收到错误代码There is no such object on the server (error code: 0x80072030).
具体错误Cannot change TPM owner password.
很简单,Windows 7及更低版本使用msTPM-OwnerInformation
属性,但是Windows 8+(我的testing盒)使用msTPM-TPMInformationForComputer
,在此MSFT TechNet线程中进行了更详细的讨论。
要解决此问题,请遵循MSFT文档 ,使用TpmSchemaExtension.ldf
和TpmSchemaExtensionACLChanges.ldf
扩展AD架构。
ldifde -i -v -f TpmSchemaExtension.ldf -c "DC=X" "dc=contoso,dc=corp" -k -j . ldifde -i -v -f TpmSchemaExtensionACLChanges.ldf -c "DC=X" "dc=contoso,dc=corp" -k -j .