Restore domain trust
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.
If it outputs True, go ahead and log out then try to login again with the domain credentials.