I have one DC with Windows server 2008 STD name india.in and hostname is Mumbai.
and one of my Domain Member 2008R2 name Client1.india.in is connected to this domain, when i tried to login on thatClient1.india.in with this credential india\administrator
i get the following error "The trust relationship between this workstation and the primary domain failed
We tried by restarting this system but after reboot again getting same error.
We tried following steps one bye one:
1. We tried to reboot system but still giving same error.
2. Then tried to dejoin and rejoin again to domain. Start working but after 4-5 days again getting same error while login using domain credential.
3. Tried to delete computer account for this system from active directory, dejoin and rejoin again to domain. Again works for 4-5 days and same error.
4. While searching on internet for this issue found one link where it problem can be solve by resetting the Computer password in Active Directory and on the Local machine. Then we logged in as local administrator in this system and run command in windows powershell
Reset-ComputerMachinePassword -Server mumbai -Credential india\administrator
but while running above command it gives error
Reset-ComputerMachinePassword : A parameter cannot be found that matches parameter name 'Credential'.
At line:1 char:59
+ Reset-ComputerMachinePassword -Server mumbai -Credential <<<< india\administrator
+ CategoryInfo : InvalidArgument: (:) [Reset-ComputerMachinePassword], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.ResetComputerMachinePasswordCommand
5. Also tried to run command from run as administrator in command prompt
C:\Windows\System32>netdom resetpwd /Server:mumbai /UserD:india\administrator /PasswordD:******
The machine acccount password for the local machine could not be reset.
Logon Failure: The target account name is incorrect.
The command failed to complete successfully.
Also want to inform you that sometime other user in the network also getting above error of trust relationship......
but after reboot user's are able to login as domain user.
Please help as soon as possible.