Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Automatically generate TPM ownership password

Posted on 2015-01-22
1
Medium Priority
?
801 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 65

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Suggested Courses

596 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