windows-itpro-docs/windows/security/hardware-protection/tpm/initialize-and-configure-ownership-of-the-tpm.md
2018-02-01 09:55:37 -08:00

13 KiB

title, description, ms.assetid, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, author, ms.date
title description ms.assetid ms.prod ms.mktglfcycl ms.sitesec ms.pagetype author ms.date
View status, clear, or troubleshoot the TPM (Windows 10) This topic for the IT professional describes how to view status for, clear, or troubleshoot the Trusted Platform Module (TPM). 1166efaf-7aa3-4420-9279-435d9c6ac6f8 w10 deploy library security brianlic-msft 04/19/2017

View status, clear, or troubleshoot the TPM

Applies to

  • Windows 10
  • Windows Server 2016

This topic for the IT professional describes actions you can take through the Trusted Platform Module (TPM) snap-in, TPM.msc:

With TPM 1.2 and Windows 10, version 1507 or 1511, you can also take the following actions:

For information about the TPM cmdlets, see TPM Cmdlets in Windows PowerShell.

About TPM initialization and ownership

Starting with Windows 10, the operating system automatically initializes and takes ownership of the TPM. This is a change from previous operating systems, where you would initialize the TPM and create an owner password. Therefore, with Windows 10, in most cases, we recommend that you avoid configuring the TPM through TPM.msc. The one exception is that in certain circumstances you might use TPM.msc to clear the TPM. For more information, see Clear all the keys from the TPM, later in this topic.

View the status of the TPM

To view the status of the TPM, open the TPM Management console (TPM.msc). In the center pane, find the Status box.

In most cases, the status will be Ready. If the status is ready but “with reduced functionality,” see Clear all the keys from the TPM, later in this topic.

If the status is Not ready, you can try the steps in Clear all the keys from the TPM, later in this topic. If this does not bring it to a Ready state, contact the manufacturer, and see the troubleshooting suggestions in the next section.

Troubleshoot TPM initialization

If you find that Windows is not able to initialize the TPM automatically, review the following information:

  • You can try clearing the TPM to the factory default values and allowing Windows to re-initialize it. For important precautions for this process, and instructions for completing it, see Clear all the keys from the TPM, later in this topic.

  • If the TPM is a TPM 2.0 and is not detected by Windows, verify that your computer hardware contains a Unified Extensible Firmware Interface (UEFI) that is Trusted Computing Group-compliant. Also, ensure that in the UEFI settings, the TPM has not been disabled or hidden from the operating system.

  • If you have TPM 1.2 with Windows 10, version 1507 or 1511, the TPM might be turned off, and need to be turned back on, as described in Turn on the TPM. When it is turned back on, Windows will re-initialize it.

  • If you are attempting to set up BitLocker with the TPM, check which TPM driver is installed on the computer. We recommend always using one of the TPM drivers that is provided by Microsoft and is protected with BitLocker. If a non-Microsoft TPM driver is installed, it may prevent the default TPM driver from loading and cause BitLocker to report that a TPM is not present on the computer. If you have a non-Microsoft driver installed, remove it and then allow the operating system to initialize the TPM.

Troubleshoot network connection issues for Windows 10, versions 1507 and 1511

If you have Windows 10, version 1507 or 1511, the initialization of the TPM cannot complete when your computer has network connection issues and both of the following conditions exist:

  • An administrator has configured your computer to require that TPM recovery information be saved in Active Directory Domain Services (AD DS). This requirement can be configured through Group Policy.

  • A domain controller cannot be reached. This can occur on a computer that is currently disconnected from the network, separated from the domain by a firewall, or experiencing a network component failure (such as an unplugged cable or a faulty network adapter).

If these issues occur, an error message appears, and you cannot complete the initialization process. To avoid this issue, allow Windows to initialize the TPM while you are connected to the corporate network and you can contact a domain controller.

Troubleshoot systems with multiple TPMs

Some systems may have multiple TPMs and the active TPM may be toggled in UEFI. Windows 10 does not support this behavior. If you switch TPMs, Windows might not properly detect or interact with the new TPM. If you plan to switch TPMs you should toggle to the new TPM, clear it, and reinstall Windows. For more information, see Clear all the keys from the TPM, later in this topic.

For example, toggling TPMs will cause BitLocker to enter recovery mode. We strongly recommend that, on systems with two TPMs, one TPM is selected to be used and the selection is not changed.

Clear all the keys from the TPM

With Windows 10, in most cases, we recommend that you avoid configuring the TPM through TPM.msc. The one exception is that you can use TPM.msc to clear the TPM, for example, as a troubleshooting step, or as a final preparation before a clean installation of a new operating system. Preparing for a clean installation in this way helps ensure that the new operating system can fully deploy any TPM-based functionality that it includes, for example, attestation. However, even if the TPM is not cleared before a new operating system is installed, most TPM functionality will probably work correctly.

Clearing the TPM resets it to an unowned state. After you clear the TPM, the Windows 10 operating system will automatically re-initialize it and take ownership again.

Warning

Clearing the TPM can result in data loss. For more information, see the next section, “Precautions to take before clearing the TPM.”

There are several ways to clear the TPM:

  • Clear the TPM as part of a complete reset of the computer: You might want to remove all files from the computer and completely reset it, for example, in preparation for a clean installation. To do this, we recommend that you use the Reset option in Settings. When you perform a reset and use the Remove everything option, it will clear the TPM as part of the reset. You might be prompted to press a key before the TPM can be cleared. For more information, see the “Reset this PC” section in Recovery options in Windows 10.

  • Clear the TPM to fix “reduced functionality” or “Not ready” TPM status: If you open TPM.msc and see that the TPM status is something other than Ready, you can can try using TPM.msc to clear the TPM and fix the status. However, be sure to review the precautions in the next section.

Precautions to take before clearing the TPM

Clearing the TPM can result in data loss. To protect against such loss, review the following precautions:

  • Clearing the TPM causes you to lose all created keys associated with the TPM, and data protected by those keys, such as a virtual smart card or a login PIN. Make sure that you have a backup and recovery method for any data that is protected or encrypted by the TPM.

  • Do not clear the TPM on a device you do not own, such as a work or school PC, without being instructed to do so by your IT administrator.

  • If you want to temporarily suspend TPM operations and you have TPM 1.2 with Windows 10, version 1507 or 1511, you can turn off the TPM. For more information, see Turn off the TPM, later in this topic.

  • Always use functionality in the operating system (such as TPM.msc) to the clear the TPM. Do not clear the TPM directly from UEFI.

  • Because your TPM security hardware is a physical part of your computer, before clearing the TPM, you might want to read the manuals or instructions that came with your computer, or search the manufacturer's website.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.

To clear the TPM

  1. Open the TPM MMC (tpm.msc).

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

  3. Under Actions, click Clear TPM.

  4. You will be prompted to restart the computer. During the restart, you might be prompted by the UEFI to press a button to confirm that you wish to clear the TPM.

  5. After the PC restarts, your TPM will be automatically prepared for use by Windows 10.

Turn on or turn off the TPM (available only with TPM 1.2 with Windows 10, version 1507 or 1511)

Normally, the TPM is turned on as part of the TPM initialization process. You do not normally need to turn the TPM on or off. However, if necessary you can do so by using the TPM MMC.

Turn on the TPM

If you want to use the TPM after you have turned it off, you can use the following procedure to turn on the TPM.

To turn on the TPM (TPM 1.2 with Windows 10, version 1507 or 1511 only)

  1. Open the TPM MMC (tpm.msc).

  2. In the Action pane, click Turn TPM On to display the Turn on the TPM Security Hardware page. Read the instructions on this page.

  3. Click Shutdown (or Restart), and then follow the UEFI screen prompts.

    After the computer restarts, but before you sign in to Windows, you will be prompted to accept the reconfiguration of the TPM. This ensures that the user has physical access to the computer and that malicious software is not attempting to make changes to the TPM.

Turn off the TPM

If you want to stop using the services that are provided by the TPM, you can use the TPM MMC to turn off the TPM.

To turn off the TPM (TPM 1.2 with Windows 10, version 1507 or 1511 only)

  1. Open the TPM MMC (tpm.msc).

  2. In the Action pane, click Turn TPM Off to display the Turn off the TPM security hardware page.

  3. In the Turn off the TPM security hardware dialog box, select a method to enter your owner password and turning off the TPM:

  • If you saved your TPM owner password on a removable storage device, insert it, and then click I have the owner password file. In the Select backup file with the TPM owner password dialog box, click Browse to locate the .tpm file that is saved on your removable storage device, click Open, and then click Turn TPM Off.

  • If you do not have the removable storage device with your saved TPM owner password, click I want to enter the password. In the Type your TPM owner password dialog box, type your password (including hyphens), and then click Turn TPM Off.

  • If you did not save your TPM owner password or no longer know it, click I do not have the TPM owner password, and follow the instructions that are provided in the dialog box and subsequent UEFI screens to turn off the TPM without entering the password.

Change the TPM Owner Password (available only with Windows 10, version 1607 and earlier versions)

If you have the owner password available, you can use TPM.msc to change the TPM Owner Password.

  1. Open the TPM MMC (tpm.msc).

  2. In the Action pane, click Change the Owner Password

  • If you saved your TPM owner password on a removable storage device, insert it, and then click I have the owner password file. In the Select backup file with the TPM owner password dialog box, click Browse to locate the .tpm file that is saved on your removable storage device, click Open, and then click Turn TPM Off.

  • If you do not have the removable storage device with your saved TPM owner password, click I want to enter the password. In the Type your TPM owner password dialog box, type your password (including hyphens), and then click Turn TPM Off.

This capability was fully removed from TPM.msc in later versions of Windows.

Use the TPM cmdlets

You can manage the TPM using Windows PowerShell. For details, see TPM Cmdlets in Windows PowerShell.