Initialize TPM from a command line in Win7

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
rdefinoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
Open powershell and type
gcm |sls tpm
this will show you the tpm-related commands, initialize-tpm is amongst them.
0
rdefinoAuthor Commented:
gcm |sls tpm , didn't show anything.
0
McKnifeCommented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

rdefinoAuthor Commented:
Does that mean I need to upgrade to PS 4.0 before running the TPM initialization command?
0
McKnifeCommented:
Exactly.
But you should find out what
manage-bde -tpm -turnon
does, maybe it includes initialization?
0
rdefinoAuthor Commented:
Oh, that won't work then. Means I would have to upgrade PS on about 3000 systems. Is there any other way?
0
McKnifeCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lee W, MVPTechnology and Business Process AdvisorCommented:
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
rdefinoAuthor Commented:
It is in the bios, but I guess it's possible to enable.
0
McKnifeCommented:
You did not follow my suggestion yet? PS4 is easily deployed, look at my link.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.