Skip to main content

The trust relationship between this workstation and the primary domain failed.







We can use netdom.exe in XP but in Windows7 we dont have this command.

netdom.exe utility needs to stored in C:\Windows\System32 and netdom.exe.mui file should be copied toC:\Windows\System32\en-US folder

Download netdom.exe from here. These two files have been exacted from KB958830.
·         Make sure the netdom.exe and netdom.exe.mui files are stored in the mentioned folder locations
·         Open an elevated command prompt
·         Run: netdom.exe resetpwd /server:domaincontroller /userD:ivan /passwordD *
·         Enter password
·         Reboot the machine




Got the info from http://www.networknet.nl/apps/wp/archives/1938

Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

AD-Powershell for Active Directory Administrators

http://social.technet.microsoft.com/wiki/contents/articles/5819.ad-powershell-for-active-directory-administrators.aspx Computer object commands List all computer accounts in a domain Get-ADComputer –Filter {Name –Like "*"} View all computers that are logged in for 90 days to the Active Directory Search-ADaccount -AccountInactive -Timespan 90 -ComputersOnly OR $lastLogon = (get-date).adddays(-90).ToFileTime() Get-ADComputer -filter {lastLogonTimestamp -gt $lastLogon}  Find and delete all disabled Computer accounts in Active Directory Search-ADAccount -AccountDisabled -ComputersOnly | Sort-Object | Remove-ADComputer Find and delete disabled computer accounts from a specific OU Search-ADAccount -AccountDisabled -Searchbase "OU=IT,DC=Contoso,DC=Com" -ComputersOnly | Sort-Object | Remove-ADComputer Find and delete all computer accounts that no longer have signed up since 11/20/2011 to the Active Directory Search-ADAccount -AccountInactive -DateTime "20.11.2011...