Share via


Testing the Secure Channel for a Computer

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to test the secure channel for a computer. A secure channel has to be in place between a domain-joined computer and a domain controller in the domain. If a secure channel is not established between the computer and the domain controller, the computer will no longer able to authenticate to the domain.

Example 1

The following example demonstrates how to query the status of the trust relationship between the local computer and the domain to which it is joined. You must run this command on the local computer:

Test-ComputerSecureChannel

Additional information

For a full explanation of the parameters that you can pass to Test-ComputerSecureChannel, at the Active Directory module command prompt, type Get-Help Test-ComputerSecureChannel –detailed, and then press ENTER.