Orphaned TPM Device Cleanup


hello,

i trying find assistance in regards how clean mstpm-information objects in tpm devices folder in ad if user deleted computer object ad prior removing tpm object. os's prior 8 tpm info stored in computers attribute of 8 , above stored in separate container called tpm devices , when deletes computer object ad, not in turn delete tpm object hoping ms fix in future updates because walking in environment has thousands of orphaned tpm objects because admins did not first know had delete tpm object prior deleting computer object.

i trying script query each mstpm-informationobject in tpm devices container , each item has sid reflected objects owner instead of friendly name should deleted because these items corresponding tpm object computer removed ad. because owner of tpm object created computer object written by/for. needless not having luck....yet.

any ideas?

hi,
regarding script want, suggest take @ freddygrande’s reply in following thread , see if reference got:
https://community.spiceworks.com/topic/1582233-the-tpm-was-not-turned-on-due-to-an-active-directory-backup-failure
please note: since web site not hosted microsoft, link may change without notice. microsoft not guarantee accuracy of information.
, generally, suggest post questions script in scripting forum:
https://social.technet.microsoft.com/forums/scriptcenter/en-us/home?forum=itcg
reason why recommend posting appropriately qualified pool of respondents, , other partners read forums regularly can either share knowledge or learn interaction.
best regards,
wendy

please remember mark replies answers if help.
if have feedback technet subscriber support, contact tnmff@microsoft.com




Windows Server  >  Directory Services



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS