Microsoft.Tpm.Commands.dll Error in Windows 10: Get-Tpm cannot read device status

If Get-Tpm fails and a fresh error names Microsoft.Tpm.Commands.dll, check whether Windows Security can still read the security processor. Open Windows Security > Device security and look for the security processor details. A working status screen helps distinguish an issue in the PowerShell command module from a problem with the device itself. Keep the TPM, BitLocker and sign-in settings unchanged during this first check.
Verified file details
Microsoft names this exact file at version 10.0.14393.4046 in the Windows 10 version 1607 KB5131291 file information. The indexed Microsoft servicing manifests associate it with TPM commands and show a Windows PowerShell TrustedPlatformModule location for a recorded variant. A TPM, or Trusted Platform Module, is a security processor used by features such as device encryption. For what the command reports, use Microsoft’s Get-Tpm documentation. The cited version identifies a historical specimen. Current Windows releases can carry different assemblies and versions.
1. Confirm the exact command, output and host
- Write down the command that produced the error. Open Windows PowerShell from Start and run
$PSVersionTable.PSVersionto identify the host. If the first error came from a separate PowerShell version or an app that embeds a console, keep each result separate. - Run
Get-Command Get-Tpmin the intended Windows PowerShell session. Read the command source or note any error. If your organization permits it, useGet-Tpmto read the currently reported status. Do not run provisioning, ownership or clear commands while testing. - If the error says access is denied, record the full text and check what your normal account is allowed to read. Ask the device administrator to perform the intended check when elevated access is required. Do not treat a permission message as evidence that the DLL is damaged.
2. Compare PowerShell with Windows Security
- In Windows Security, open Device security > Security processor details where available. Verify the name or status it displays. Check Microsoft’s device security guide if your page has a different layout or shows a warning.
- If Windows Security shows a security processor and only one shell fails to load the module, reproduce the read-only command in the intended supported host. In Event Viewer, look at the time of the module error and note the file path if Windows reports it. Send an app-local error to the publisher that installed the copy.
- If both checks report a security processor issue, record their separate messages. Ask your PC vendor or organization to check device support and the applicable repair. Preserve recovery keys and encryption. Firmware or TPM actions can affect access to encrypted data, so follow the organization’s device guidance.
3. Use the supported repair for a confirmed command module fault
- If the issue is isolated to a management script or a particular host, check its documented Windows PowerShell version and module prerequisites. Test the same status command normally on the managed device before changing the deployment.
- If different Windows functions name the same Windows-owned module and it keeps failing after restart, apply current Windows updates for the installed edition through its supported channel. Use
winverto record that edition and build. The published update list identifies the DLL and does not make the old package a general fix. - For evidence of wider protected file damage, follow the Windows system repair steps with administrator approval. Run DISM before SFC and preserve the direct output. Keep certificates, sign-in, TPM and encryption settings in place.
4. Recheck the read-only command
- Open the same supported PowerShell host and rerun
Get-Tpm. Compare the presence and ready state with the previous report. Confirm that the actual DLL load error is gone before assessing any remaining firmware warning. - Reopen the security processor details view and verify it reports the state expected for the device. If only the management script still fails, share its host version and exact error with the script owner. If both views still indicate a device problem, contact the organization or hardware vendor.
Example. The same approved device reports a healthy security processor in Windows Security, but a script launched from a different PowerShell host throws an assembly-load error. Use the supported Windows PowerShell host to retest the status command. If it works there, the script’s host or dependencies need attention. Keep the working device security configuration in place.
If the command returns a status instead of an error
Read the TpmPresent and TpmReady fields together. If the command returns a status table, record the two values and compare them with Windows Security. A present security processor with a readiness warning is a different case from a PowerShell module that never loads. Share the actual warning and device model with the support team before choosing a hardware action.
If a work device shows a security notice after a firmware update, ask the administrator whether the device was expected to restart or complete a managed procedure. Keep any required recovery information available through the approved process. After support finishes its repair, read the same status views again under the same account. Confirm the current state and the original application action before treating it as resolved.
Keep a record of the test account and the exact host version alongside the status. If the approved script shows a different machine name or references a previous report, correct that input with its owner before comparing values. The local Windows Security view describes the device in front of you.