Fix an Active Directory sign-on approval relationship error
2 min read · Updated 6 October 2022
The security relationships between a computer account and its domain can be interrupted. In particular, at login, a message states:
- That a domain controller cannot be contacted.
- That the computer account may be missing.
- That the computer account password is incorrect.
- That the approval relationship (secure relationship) between the computer and the domain has been lost.
Many administrators correct the problem by taking the computer out of the domain, then rejoining it in the domain.
However, this procedure is not recommended, as it risks deleting the computer account completely.
Microsoft offers four methods to correct the problem but the simplest is still a PowerShell command, the others require actions on the Active Directory side and on the client machine side, or even additional tools on the client side.
There is also a graphical method via the Identity on Network wizard available in System Properties.
You need to run this PowerShell command on the local computer with an administrator account and have an account that has the right to modify the computer object in the domain.
Commands used in the video: Fix an approval relationship error on Active Directory login.
# To be run in Powershell on the machine with the problem and from a local administrator account.Test-ComputerSecureChannel# The answer must be False
# Specify the credentials of an account that has the right to modify the computer object in the domainTest-ComputerSecureChannel -Repair -Credential (Get-Credential)# The response must be TrueVideo : Fix an Active Directory sign-on approval relationship error
Related links
- Maintenance
The difference between updates and upgrades
A video to explain the terms upgrade, update, quality update and functionality update
1 min read
- Maintenance
Windows - How to run a memory test to detect faulty RAM
Run the Windows built-in memory diagnostic to check whether faulty RAM is causing blue screen crashes, shown in a video.
1 min read
- Tips
How to create a multiboot USB key with the Ventoy tool
It's useful to have a multiboot USB stick containing operating system images or troubleshooting tools that you can boot from if you need to
1 min read
- Maintenance
How to clean the Windows Installer folder
The c:\Windows\Installer folder contains installation files (in Microsoft Installer, MSI, format) for software installed on your machine
1 min read
- Maintenance
5 ways to achieve Windows recovery (WinRe) on Windows 10 and 11
Five different methods to reach the Windows Recovery Environment (WinRe) troubleshooting tool on Windows 10 and Windows 11.
1 min read
- Configuration
Mastering the Windows Device Manager
A new video showing the Device Manager in Windows 10 and Windows 11
1 min read