14 lines
445 B
Markdown
14 lines
445 B
Markdown
---
|
|
tags:
|
|
- Active Directory
|
|
- Authentication
|
|
---
|
|
|
|
## Purpose
|
|
If you have a device that lost trust in the domain for some reason, and won't let you login using domain credentials, run the following command as a local administrator on the device to repair trust.
|
|
|
|
```powershell
|
|
Test-ComputerSecureChannel -Repair -Credential (Get-Credential)
|
|
```
|
|
|
|
If it outputs `True`, go ahead and log out then try to login again with the domain credentials. |