Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't reset Machine Account Password with Netdom

Status
Not open for further replies.
Mar 30, 2003
172
NZ
Reghosted my PC (as you do) to a previous image which is a few months old; first login to the domain fails because the password on the account has expired; fair enough, so I tried to reset the password to resync it from my machine. Logged in as the local administrator and tried the following command on my PC.

Windows 2000 SP4 Workstation, Windows 2000 AD Native Domain
========================================================

C:\>netdom resetpwd /server:pdc /userd:wicktest\dcsadmin /passwordd:*
Type the password associated with the domain user:
The machine account password for the local machine could not be reset.
The specified domain either does not exist or could not be contacted.

The command failed to complete successfully.

========================================================

Netdiag failed on DC List Test and on Trust Relationship (secure channel), but everything else checks out. I had a poke around the DNS and WINS records and wickliffe seems to resolve ok. Anyone have any bright ideas? To fix it I had to disjoin and rejoin my PC from the domain, but I am keen to find a cause and solution for this. Thanks.
 
You are trying to reset the secure channel for a workstation? If so, that is the wrong command.

Use "netdom reset workstationname /domain:yourdomainname
 
Well, sort of; I want to reset the password on the secure channel as I am assuming that that is all that would have changed since the machine was ghosted.
 
You can use also ADUC (Active Directory Users and Computers). Under computers right click the computer and choose reset account.
Than you have to rejoin the domain again. If you want to save a reboot (join a Workgroup and then join back the Domain) and you have an active WINS server you can use the following trick – Under properties/ Network Identification of the computer change the FQDN of the domain to its NetBIOS name. Provide Admin’s username and password and that’s it.

NetoMeter


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top