Solved

Automatically generate TPM ownership password

Posted on 2015-01-22
1
616 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 62

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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