Export (0) Print
Expand All

Resetting a Computer Account

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to reset a computer account. To reset a computer account, you must reset the secure channel between the domain-joined computer and a domain controller in the domain. A secure channel is necessary for a computer to authenticate successfully to the domain.

The following example demonstrates how to reset the secure channel between the local computer and the domain to which it is joined. You must run this command on the local computer:

Test-ComputerSecureChannel –Repair

The following example demonstrates how to reset the secure channel between the local computer and the domain to which it is joined. The domain controller that performs the operation is specified as FabrkikamDC1.Fabrikam.COM. You must run this command on the local computer:

Test-ComputerSecureChannel -Repair -Server FabrkikamDC1.Fabrikam.COM

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft