?
Solved

Automatically generate TPM ownership password

Posted on 2015-01-22
1
Medium Priority
?
757 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
[X]
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
1 Comment
 
LVL 64

Accepted Solution

by:
btan earned 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

752 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