How to Fix “Trusted Platform Module Has Malfunctioned” Error in Windows 11 and 10

Dilum Senevirathne
·
13 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

The error “Trusted Platform Module has malfunctioned” appears when Word, Outlook, Teams, or another Microsoft 365 app can’t activate or sign you in on Windows 11 or 10, sometimes with an error code such as 80090030. Microsoft’s guidance points to several possible causes, including stale sign-in tokens, cached credentials, blocked network traffic, and the TPM’s own state, so start with the low-risk fixes below and save clearing the TPM (the Trusted Platform Module security chip) for near the end.

Trusted Platform Module has malfunctioned error in a Microsoft 365 app on Windows

Account, update, and network fixes

Fix #1: Confirm the account, license, and clock

These fixes apply to the desktop Microsoft 365 Apps on Windows 10 and 11. Microsoft 365 for Mac, iOS, Android, and the web apps don’t use the Windows TPM. Clearing the TPM can’t repair a missing or expired subscription, so rule that out first.

  1. Open the web version of Microsoft 365 in your browser and sign in with the account you use in Word or Outlook.
  2. Check that the account has an active subscription or an assigned license. Work and school accounts get their licenses from your IT admin.
  3. Right-click the clock on the taskbar and select Adjust date and time.
  4. Turn on Set time automatically and Set time zone automatically. Select Sync now if your version shows it.
  5. Restart the PC and open the Microsoft 365 app again.

If you can’t sign in on the web either, the account or license needs attention. Contact your IT admin for a work account, or Microsoft Support for a personal one.

Fix #2: Install Windows and Microsoft 365 updates

Activation depends on Windows sign-in components and the Office client working together. Updates aren’t a guaranteed fix, but they rule out known bugs that have since been patched, so it’s worth getting both current before you try the deeper fixes.

  1. In Windows 11, open Settings > Windows Update and select Check for updates. In Windows 10, go to Settings > Update & Security > Windows Update.
  2. Install everything offered and restart if Windows asks.
  3. Open Word or Excel and go to File > Account.
  4. Select Update Options > Update Now.

You should see a “You’re up to date!” message or a progress bar while the update downloads. When it finishes, try activating again.

Fix #3: Test without VPN, proxy, or third-party antivirus

Third-party security suites, VPNs, proxies, and firewalls can interfere with the sign-in traffic and the token broker Windows uses for Microsoft 365. Microsoft’s troubleshooting article for this error lists them as possible blockers. Treat this as a quick test. It isn’t a permanent setting.

  1. Disconnect from any VPN.
  2. Open Settings > Network & internet > Proxy. If a manual proxy is on and you didn’t set it up yourself, turn it off for the test.
  3. Pause your third-party antivirus, web filter, or TLS inspection feature from its tray icon. Leave Microsoft Defender running.
  4. If you’re on hotel or café Wi-Fi with a login page, finish that login, or switch to a phone hotspot or your home router.
  5. Try activating Microsoft 365 again.
  6. Turn your security software back on right away.

If activation works with the software paused, update that product or add an exception for Microsoft 365 rather than leaving it off. On a work laptop, don’t disable endpoint protection without your IT team’s approval.

Sign-in cache fixes

Fix #4: Remove MicrosoftOffice16 credentials from Credential Manager

Windows stores saved Office sign-ins in Credential Manager. When those entries go stale, Office keeps handing them to Microsoft’s servers and failing. Deleting them forces a fresh sign-in.

  1. Press Windows + S, type Credential Manager, and open it.
Windows search results showing Credential Manager
  1. Select Windows Credentials.
Credential Manager with Windows Credentials selected
  1. Under Generic Credentials, expand each entry whose name starts with MicrosoftOffice16 and select Remove.
Expanded MicrosoftOffice16 credential with the Remove link
  1. Select Yes to confirm.
Delete Generic Credential confirmation dialog
  1. Repeat for every MicrosoftOffice16 entry, then close Credential Manager and restart Windows.

Leave other entries alone. Network, certificate, and password-manager credentials have nothing to do with this error, and removing them creates new problems.

Fix #5: Disconnect the extra work or school account

Do this only if your Microsoft 365 work or school account shows up separately from the account you use to sign in to Windows. Disconnecting it can remove the PC’s organizational registration, which affects OneDrive, company apps, and device management. On a PC your company manages through Microsoft Entra or Intune, ask IT first.

  1. Open Settings > Accounts > Access work or school.
  2. Select the work or school account you use for Microsoft 365.
  3. Select Disconnect and confirm.
Windows 11 Settings > Accounts > Access work or school with a work account expanded and the Disconnect button visible
  1. Restart Windows, open Word or Outlook, and sign in with that account again.

If you have both a personal Microsoft account and a work account, double-check which one you’re disconnecting. Removing the wrong one just swaps one sign-in problem for another.

Fix #6: Delete BrokerPlugin and CloudExperienceHost account data

This is the fix Microsoft’s own guide leans on hardest. Windows’ Web Account Manager keeps sign-in tokens in two Accounts folders, and corrupted tokens there are a common trigger for this error. Clearing them makes Windows build fresh tokens the next time you sign in.

  1. Close Word, Outlook, Teams, OneDrive, and any other app that’s signed in with your Microsoft account.
  2. Open File Explorer, paste this path into the address bar, and press Enter:
%LOCALAPPDATA%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\TokenBroker\Accounts
  1. Press Ctrl + A to select everything inside the Accounts folder, then press Delete. Delete only the contents. Leave the package folder itself in place.
  2. Paste the second path into the address bar and press Enter:
%LOCALAPPDATA%\Packages\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\AC\TokenBroker\Accounts
  1. Select and delete everything inside that Accounts folder too.
File Explorer open to the BrokerPlugin TokenBroker\Accounts folder with all files selected and the Delete option visible
  1. Restart Windows and sign in to the Microsoft 365 app again.

Expect to be signed out of some Microsoft-connected Windows features until you sign in again. If a folder is missing or already empty, skip it. If you get “access denied,” restart and try again before anything else, and don’t take ownership of the folder.

Fix #7: Run Microsoft’s activation troubleshooter in Get Help

Microsoft’s guided activation troubleshooter can reset the Office activation state and clear leftover licensing data. The old standalone Support and Recovery Assistant (SaRA) has been retired, and Microsoft now runs its Office Activation scenario through Get Help, which is built into Windows. IT admins can also run that scenario from the command-line version of Get Help.

  1. Open Start, search for Get Help, and open the app.
  2. Search for Microsoft 365 activation and follow the guided troubleshooter. Microsoft’s troubleshooting article for this error covers the same scenario if you’d rather follow the steps by hand.
  3. Choose the Microsoft 365 activation or sign-in option. The exact labels and product choices vary by account type.
Microsoft troubleshooter showing the Office or Microsoft 365 activation/sign-in problem selection screen
  1. Follow the prompts and restart when the tool asks.
  2. Open an affected app and sign in again.

Teams keeps its own sign-in cache, so an Office activation reset might leave a Teams-only problem untouched. Work and school tenants can also block these diagnostics, in which case your admin has to run them.

Fix #8: Perform a clean boot

A clean boot starts Windows with only Microsoft services. If a third-party service or startup app is interfering with Microsoft 365 sign-in, this helps you find it.

  1. Press Windows + R, type msconfig, and select OK.
The Windows Run dialog with msconfig entered in the Open box
  1. On the Services tab, check Hide all Microsoft services, then select Disable all.
System Configuration Services tab with Hide all Microsoft services checked
  1. Switch to the Startup tab and select Open Task Manager.
System Configuration Startup tab with the Open Task Manager link
  1. Disable each non-Microsoft startup app.
Task Manager startup list with a third-party app being disabled
  1. Restart the PC and try activating Microsoft 365.
  2. Re-enable the services and startup apps afterward. Turn them back on in small groups if you want to find the one causing trouble.

Windows Hello and TPM fixes

Fix #9: Reset your Windows Hello PIN

Windows Hello stores its PIN data in a protected system folder called Ngc. Damaged PIN data is one possible factor, not the cause of every TPM error, and resetting the Windows Hello PIN through Settings is the safe way to rebuild it. You’ll need your account password for this, so have it ready.

  1. Open Settings > Accounts > Sign-in options.
  2. Select PIN (Windows Hello) and choose Remove if Windows offers it. The label and placement can differ between builds.
  3. Confirm with your account password.
  4. Restart Windows.
  5. Go back to Sign-in options and set up a new PIN.
Windows 11 Settings > Accounts > Sign-in options with PIN (Windows Hello) expanded and the Remove button visible

If the PIN controls are greyed out, use I forgot my PIN on the sign-in screen. On a work device, your admin may need to reset Windows Hello or the device registration. I’d skip taking ownership of the Ngc folder and deleting it by hand unless Microsoft Support or your admin tells you to, since changing permissions on that folder can break Windows Hello further.

Fix #10: Update TPM drivers, BIOS/UEFI, and firmware

The TPM (Trusted Platform Module) chipset on your PC gets its fixes from several places: Windows Update, optional driver updates, and your PC maker’s BIOS, firmware, and chipset packages. Device Manager often says the best driver is already installed when a firmware update is still waiting on the manufacturer’s site.

  1. Press Windows + R, type devmgmt.msc, and select OK.
The Windows Run dialog with devmgmt.msc entered in the Open box
  1. Expand Security devices.
  2. Right-click the TPM entry, usually Trusted Platform Module 2.0, and select Update driver.
Device Manager with the Trusted Platform Module right-click menu showing Update driver
  1. Select Search automatically for drivers and let Windows install anything it finds.
Update Drivers window with Search automatically for drivers
  1. Open Settings > Windows Update > Advanced options > Optional updates > Driver updates in Windows 11, or View optional updates in Windows 10, and install any security device or chipset updates listed.
  2. Visit your PC maker’s support page, enter your model, and install the latest BIOS/UEFI, firmware, and chipset updates. This guide on how to check if the BIOS or UEFI needs an update covers how to find your current version.

Keep a laptop plugged into its charger during a firmware update, and have your BitLocker recovery key handy beforehand. On Windows on ARM devices, use only the packages your manufacturer supplies.

Fix #11: Reinstall the TPM device in Device Manager

This handles a corrupted device entry in Windows. It won’t touch a firmware problem. Confirm you have your BitLocker recovery key first, and skip this on a managed or encrypted work PC without IT’s go-ahead.

  1. Open Device Manager and expand Security devices.
  2. Right-click the TPM entry and select Uninstall device.
Device Manager with Uninstall device selected for the Trusted Platform Module
  1. Select Uninstall to confirm. Don’t tick any option that deletes driver packages.
Uninstall Device confirmation dialog
  1. Restart your computer. Windows should detect the TPM again on its own.
  2. If it doesn’t reappear, open Device Manager and select Action > Scan for hardware changes, or right-click Security devices and pick the same option.
Device Manager with Scan for hardware changes selected

If the TPM vanishes, shows an error code, or Windows reports the device isn’t found, stop uninstalling it. Move on to BIOS/UEFI settings, your manufacturer’s diagnostics, or hardware support.

Fix #12: Clear the TPM

Clearing the TPM resets it to its default state and wipes the keys stored on it. That fixes corrupted key data, but Microsoft’s TPM troubleshooting guide warns that you lose all keys created with the TPM, and the data those keys protect, such as a virtual smart card or a sign-in PIN. Do these first:

  • Back up the personal data on your PC to an external hard drive or cloud storage.
  • Save your BitLocker protection key to your Microsoft account, a printout, or a USB flash drive.
  • Suspend BitLocker protection if your drive is encrypted.
  • Make sure you know the passwords for your Microsoft account, work account, and Microsoft 365.
  • On a company-managed PC, get IT approval. Don’t clear it yourself.

Then clear it:

  1. Open Windows Security from the Start menu. You can also go through Settings > Privacy & security > Windows Security in Windows 11, or Settings > Update & Security > Windows Security in Windows 10.
Start menu with Windows Security in the results
  1. Select Device security, then select Security processor details under Security processor.
Windows Security > Device security page in Windows 11 with the Security processor section and the Security processor details link highlighted
  1. Select Security processor troubleshooting.
Windows Security Security processor details page showing TPM specification version and status, with the Security processor troubleshooting link highlighted
  1. Select Clear TPM.
Security processor troubleshooting page with the Clear TPM button
  1. Confirm the prompt. The button usually reads Clear and restart.
Clear TPM confirmation dialog with Clear and restart
  1. After the restart, set up your Windows Hello PIN again and sign in to Microsoft 365.

The labels can differ depending on your Windows version, your PC’s firmware, and your language. If Windows Security doesn’t show the option, try the TPM console:

  1. Press Windows + R, type tpm.msc, and select OK.
  2. Select Action > Clear TPM if it’s available.
  3. Select Restart.

The console may deny the operation or send you back to Windows Security, which is the main route. Clearing the TPM won’t fix a licensing problem, a blocked sign-in endpoint, a Conditional Access failure, or a firmware defect.

Fix #13: Test with a new Windows user account

A fresh profile tells you whether the problem lives in your Windows profile or affects the whole PC. Account creation may be blocked on domain-joined or Intune-managed PCs.

  1. In Windows 11, open Settings > Accounts > Other users and select Add account. In Windows 10, go to Settings > Accounts > Family & other users > Add someone else to this PC.
Windows 11 Settings > Accounts > Other users with the Add account button highlighted
  1. For a local test account, select I don’t have this person’s sign-in information, then Add a user without a Microsoft account. The wizard’s wording can change between builds.
Microsoft account wizard with the option to add a user without a Microsoft account
  1. Enter a username and password to create the local account.
Create a user for this PC form with username and password fields
  1. Sign out, then sign in to the new account.
  2. Open Microsoft 365 and sign in with your licensed Microsoft 365 account to activate it.

If activation works there, your original profile has corrupted credentials, token data, or Windows Hello registration. Migrate your data into the new account and delete your old profile. Copy your documents and pictures, not the whole old profile folder, or you’ll drag the broken token folders along.

Optional check: Memory integrity

Memory integrity is a virtualization-based security feature that keeps untrusted drivers out of protected system memory. Microsoft doesn’t list it as a fix for this error. It’s an optional check: if Windows reports incompatible drivers there, updating them is good housekeeping, but don’t expect it to clear the TPM error on its own.

  1. Open Windows Security and select Device security.
  2. Select Core isolation details.
Windows Security Device security page with Core isolation details
  1. Turn on Memory integrity and restart.
Core isolation page with the Memory integrity switch

If Windows lists incompatible drivers, update or remove them before turning the switch on. The setting can be unavailable because of hardware, virtualization, policy, or driver limits. Don’t force it on.

Skip the registry tweak that disables modern authentication

Older guides for this error suggest adding an EnableADAL value of 0 under HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity. Microsoft says disabling ADAL or WAM isn’t a supported fix for Microsoft 365 sign-in or activation problems. It can also break multifactor authentication, Conditional Access, and passwordless sign-in. If you added that value in the past, delete it and restart.

How risky is each fix?

FixWhat it takes care ofRisk
#1 to #3: Account, updates, network testLicense, clock, and blocked sign-in trafficLow
#4 to #7: Credentials, tokens, troubleshooterStale sign-in data and activation stateLow to medium
#8 and #9: Clean boot, Hello PINStartup conflicts and corrupted PIN dataMedium
#10 and #11: Drivers, firmware, device reinstallTPM driver and firmware faultsMedium
#12: Clear the TPMCorrupted TPM keysHigh (back up first)
#13: New user accountCorrupted Windows profileMedium

When the fixes don’t work

Write down the exact error code and note whether the error hits one app, every Office app, one Windows profile, or the whole PC. For a work or school account, send that to your admin, who can check Microsoft Entra sign-in logs for Conditional Access, device-compliance, device registration, or licensing failures. If the TPM is missing, disabled, failing self-tests, or disappears after a firmware update, contact your PC maker. As a last resort, consider resetting Windows to factory defaults.

Which fix usually works

My pick is Fix #4 plus Fix #6: removing the MicrosoftOffice16 credentials and clearing the BrokerPlugin and CloudExperienceHost token data. They sit at the top of Microsoft’s own troubleshooting flow and are low risk, though they will sign you out of Microsoft 365 and some Windows features until you sign in again. If the error comes back after every restart, or the TPM keeps dropping out of Device Manager, suspect firmware or failing hardware and start with your manufacturer’s BIOS update before you clear the TPM.