Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Automatically generate TPM ownership password

Posted on 2015-01-22
1
650 Views
Last Modified: 2015-02-04
is it possible to automatically generate the TMP ownership password using a command line like: manage-bde -tpm -o .

I need to script this syntax not to use a static password.

thanks
0
Comment
Question by:rdefino
1 Comment
 
LVL 63

Accepted Solution

by:
btan earned 500 total points
ID: 40566455
saw this vbs script with a func DenTPMPassword that is supposed to generate random string for TPM owner password, with option for. maybe can leverage further though I did not delve much into it.

Either
 objlog.writeline "Change TPM owner password specified on the command line."
            DenTPMPassword
            ChangeOwnerAuth strOldOwnerPassword,strOwnerPassword
            EvalGPO()
            GetBDEStatus()
OR
 objlog.writeline "TPM ownership is not taken...will take ownership."
        DenTPMPassword
        OwnTPM
        EvalGPO()
        GetBDEStatus()
https://gallery.technet.microsoft.com/ScriptCenter/780d167f-2d57-4eb7-bd18-84c5293d93e3/
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question