Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Initialize TPM from a command line in Win7

Posted on 2014-09-11
10
Medium Priority
?
3,782 Views
Last Modified: 2014-10-16
I need to come up with a syntax that will enable and initialize TPM from the command in on a win7 system. We cannot use the gui as I will be doing this from a batch file.

I found the link below but there is not mention of initializing it. Can it be done?


http://technet.microsoft.com/en-us/library/ff829858.aspx
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
  • 5
  • 4
10 Comments
 
LVL 56

Expert Comment

by:McKnife
ID: 40318159
Open powershell and type
gcm |sls tpm
this will show you the tpm-related commands, initialize-tpm is amongst them.
0
 

Author Comment

by:rdefino
ID: 40318165
gcm |sls tpm , didn't show anything.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 40318196
My bad, I am on win8.1, maybe on win7, that modules need to be imported, first.
import-module BitLocker
And also you Need to have the latest powershell, Version 4.
0
Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

 

Author Comment

by:rdefino
ID: 40318199
Does that mean I need to upgrade to PS 4.0 before running the TPM initialization command?
0
 
LVL 56

Expert Comment

by:McKnife
ID: 40318206
Exactly.
But you should find out what
manage-bde -tpm -turnon
does, maybe it includes initialization?
0
 

Author Comment

by:rdefino
ID: 40318225
Oh, that won't work then. Means I would have to upgrade PS on about 3000 systems. Is there any other way?
0
 
LVL 56

Accepted Solution

by:
McKnife earned 2000 total points
ID: 40318239
Another way? As I wrote, see what exactly manage-bde -tpm -turnon does, maybe it can be done with that one, too.
And if you have 3000 Systems, why not deploy powershell4? https://4sysops.com/archives/deploying-powershell-4-with-group-policy/
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 40320331
Is the TPM on in BIOS?  Enabling that from the command line may not be possible.

I've played a little with the mange-bde and I believe what you want to do should be possible, however I have not done it myself (yet).
0
 

Author Comment

by:rdefino
ID: 40353742
It is in the bios, but I guess it's possible to enable.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 40354027
You did not follow my suggestion yet? PS4 is easily deployed, look at my link.
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
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 …
Suggested Courses

704 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