Fix KB5028166 Trust relationship broken Error in Windows 10

Methods to solve KB5028166 The trust relationship between this workstation and the primary domain failed bug in Windows 10.

KB5028166 Trust relationship broken

Multiple users, when installed KB5028166 on Windows 10 22H2, found that they could not join domain controller like Samba, Truenas box, Amazon Simple Directory Service, and other. This issue occurs due to authentication bug in this patch. However, Microsoft has not acknowledged this error as Known issue up to now you can try some solutions on your own. When you make an attempt to join the platforms you might come across the message – The trust relationship between this workstation and the primary domain failed. So, let’s have a look at the possible solutions to KB5028166 Trust relationship broken Error.

KB5028166 trust relationship broken bug makes you unable to join the domain after you install 11 July LCU on Windows 10 22H2, uninstalling the Security update is the first and temporary solution. Experts are researching the issue so when any resolution is found we will update the post. If you want to try common solutions to this error, follow this post – Fix The trust relationship between this workstation and the primary domain failed error in Windows.

KB5028166 Trust relationship broken in Windows 10

Here is how to fix KB5028166 Trust relationship broken Error in Windows 10 –

Uninstall KB5028166

We have already mentioned that until there is no bug fix given by the experts of company the only solution that remains is to uninstall KB5028166. However, it is not recommended method but in this case, it is necessary, so, follow the ways:

1] Through Control Panel

  1. Press Windows and R keys.
  2. Type appwiz.cpl in the Run dialog box.
  3. Press Enter to open Control Panel\All Control Panel Items\Programs and Features Window.
  4. Click on ‘View Installed updates‘ from the left pane.
  5. Find KB5028166 and select it.
  6. Click on “Uninstall“.
  7. Confirm the popup.

2] Using cmd command

If you prefer to use Command Prompt to uninstall KB5028166 then move forward with the steps:

  1. Click on Start and type cmd.exe.
  2. Select Run as administrator.
  3. Once the User account control dialog appears, click on Yes.
  4. On the Administrator: Command Prompt, type wusa /uninstall /kb:5028166 and press Enter.
how to fix KB5028166 Trust relationship broken Error in Windows 10
  1. If a confirmation dialog opens, click Yes.
  2. The computer will reboot a couple of times and the July 2023 security update will be installed KB5028166 Trust relationship broken will be fixed.

If you are stuck uninstalling the patch

In case, you fail to uninstall KB5028166, Safe mode will need to be surfaced. You will have to reboot the system in Safe mode and then try to uninstall the July cumulative update for Windows 10 22H2 using below guide:

  1. Click on Windows Search and type MSConfig.
  2. Press Enter to launch the System Configuration window.
  3. Go to the Boot tab.
  4. Select Safe boot > Minimal.
  5. Click on Apply and OK.
System Configuration boot safe boot apply and ok
  1. Then select Restart and wait for a while.
  2. After restarting, press Windows and I keys.
  3. Select Update & security.
  4. Navigate to the right side of the next Settings page and click on “View update history“.
  5. Then click on Uninstall updates from the top.
  6. A Window from Control Panel will open; locate KB5028166 and select it.
  7. Click on Uninstall and verify the prompt.
  8. After the uninstallation is completed, follow this post – How to Come Out of Safe Mode in Windows 10.

Still, fail to uninstall KB5028166 then use System Restore

Still, KB5028166 is not being uninstalled then you can take help of System Restore. System restore will revert back the operating to a previous point of time when the Windows update was not installed after choosing the date and time.

  1. Click on Search and type rstrui and press Enter.
  2. On the System Restore wizard, check the option Choose a different restore point.
  3. Then click on Next.
  4. Once on the next wizard page, select the time and date when the update was not installed.
  5. Click Next.
fix KB5028166 Trust relationship broken
  1. Review the options you have selected and click on Finish.
  2. Then select Yes on the warning pop-up.

Read: Windows 10 KB5028166 22H2 19045.3208 Update Rolled out.

We hope these methods will fix KB5028166 Trust relationship broken error in Windows 10.

Uninstall KB5028166
If you are stuck uninstalling the patch
Still, fail to uninstall KB5028166 then use System Restore

That’s all!!

Repair any Windows problems such as Blue/Black Screen, DLL, Exe, application, Regisrty error and quickly recover system from issues using Reimage.
Topic:  Error, Windows
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.