Resetting a computer's secure channel
When you test a device's secure channel and it fails, the secure channel can be reset from the computer object using this recipe.
Getting ready
To reset a computer object's secret in the Active Directory object, privileges are needed to allow you to change the computer object. By default, members of the Domain Admins and Account Operators groups have this privilege. When using the Windows PowerShell method on the device itself, an account is needed that has local administrative privileges on the device and the privileges mentioned previously.
To reset the secure channel, the device needs to be on the same logical networks as at least one of the domain controllers. You might be able to rename a device when connected through a VPN connection—when the required traffic is allowed through.
When a specific domain controller is specified, ensure the Netlogon service is running.
How to do it...
This recipe describes...