Solved

Automatically generate TPM ownership password

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Losing network connectivity 8 74
issue installing SQL SERVER 2012 express on windows 7 9 42
ASP.NET 5 Templates 2 66
Error in script 11 46
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
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 …

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now