By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Fixing “The trust relationship between this workstation and the primary domain failed” error
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
IT Pro

Fixing “The trust relationship between this workstation and the primary domain failed” error

Published February 11, 2024
2 Min Read
SHARE

Fixing “The trust relationship between this workstation and the primary domain failed” error.

Contents
Step 1Step 2

Step 1

If you know the local admin password – great! just click Switch User and log in as .\administrator and your password “.\” replaces the computer name in case you don’t know it.

If you do not know the local admin password but previously logged in with your domain credentials, you are still good. Unplug the network cable, disable wireless, then reboot the system (not necessary). After the reboot log in with your domain credentials and you should be able to get back in.

Step 2

Open PowerShell as administrator. Run this command sequence:

$credential = Get-Credential – (enter domain admin account when prompted)

Reset-ComputerMachinePassword

Another option:

Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere

If not help – then use KB2771040:

  1. Use a local administrator account to log on to the computer.
  2. Select Start, press, and hold (or right-click) Computer > Properties.
  3. Select Change settings next to the computer name.
  4. On the Computer Name tab, select Change.
  5. Under the Member of heading, select Workgroup, type a workgroup name and then select OK.
  6. When you are prompted to restart the computer, select OK.
  7. On the Computer Name tab, select Change again.
  8. Under the Member of heading, select Domain, and then type the domain name.
  9. Select OK, and then type the credentials of the user who has permission in the domain.
  10. When you are prompted to restart the computer, select OK.
  11. Restart the computer.
TAGGED:Microsoft Windows ServerWindowsWindows 10
Previous Article Create and Manage Mind Maps in Microsoft Teams with MindMeister
Next Article Configuration Manager Query Collection List Configuration Manager The RPC server is too busy
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?