Friday, July 9, 2010

Command Line Saves the Day

Had an interesting issue this morning. A computer had lost it's trust relationship with the domain controller. Furthermore, the administrator password was not working because the account was logged out. I had command line access to the machine using Kaseya K2 agent. To resolve, I was able to connect to the computer via command line and run the following commands:

net user administrator password [sets the administrator password to "password"]
net user administrator /active:yes [enables the administrator account]

Once the administrator password was reset and the account was enabled, I was able to login. I then disjoined and rejoined the domain.