Solved

Initialize TPM from a command line in Win7

Posted on 2014-09-11
10
2,732 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
  • 5
  • 4
10 Comments
 
LVL 54

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 54

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 54

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 54

Accepted Solution

by:
McKnife earned 500 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 95

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 54

Expert Comment

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

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
Ransomware is a growing menace to anyone using a computer or mobile device. Here are answers to some common questions about this vicious new form of malware.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

821 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