Your account has been disabled please see your system administrator in windows 7

I had to rebuild my domain server.  I have one workstation that does not have a trust relationship with the domain, so I need to log in to the workstation itself.  Unfortunately, I get the message above that the administrator account is disabled.  So I cannot log into the machine to add it to the domain.  When I try the guest account, I get the same error.

The machine is a home built one.  I tried booting with a recovery disk and got the same message.  I am completely stumped and fear that I need to rebuild the machine.  It DOES have a working version of  Windows XP that I can log into and connect the domain, if that can be of any help.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You said windows 7 in the subject, so this PC is windows 7 or windows xp?
When you setup the machine you should have been prompted for a user name and password.

That user is a protected administrator and can be used to enable the "Administrator" account.

In Windows 7 the actual "administrator" account is not intended to be used.  It has UAC disabled by default - so loses most of the critical new security protections of Windows 7.
Raymond PengSystems EngineerCommented:
Scroll down to the last bit in the article using a Win 7 disc.  Just remember to hit shift+f10 when you get to the gui interface and follow the steps to activating the account.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

In Active Directory if you look up the machine, is the computer account disabled? Every once in a while we get lucky and that fixes the trust issue. Maybe 1/100 but i guess its worth a shot.

Maybe you could login using some kind of cached credentials (a username that you have logged in as recently). And if there are no accounts on the computer that you can login as, then how are you going to login to it once you drop it from the domain to add it back? there has got to be some login on that machine still.
If you are trying to reset a Windows 7 local password and/or enable an account, download the freeware ISO file from here:

Petter Nordahl-Hagen's Offline NT Password & Registry Editor

After you have burned that ISO to disc, boot up into the Linux environment and reset your password.  I have been using this utility to help people with their forgotten Windows passwords for over ten years, and unless the hard drive has actually been encrypted it has worked every time! Here is a comprehensive tutorial on how to utilize it:

There are two important steps within that tutorial that warrant extra attention:

- When you reach the User Edit Menu stage of the process it's best to select "1" to Clear (blank) user password.  You can always change the password to something more secure after you successfully log into Windows with the blank password.

- When you reach Step FOUR: Writing back changes, you will be queried with About to write file(s) back! Do it? [n].  If you inadvertently pressed Enter on this screen the changes won’t go into effect.  You need to specifically type "y" first for the updates to be written to the operating system.

Simply use the password reset disk . Please note that from win vista on, we need two steps: enable the account (=unlock, option 4) and blank ("clear", option "1") the password if somebody had set one before.

Afterwards, log on as administrator with no passwd and remove the pc from the domain. The reboot and rejoin it.
On the login screen you will see a link whihc tells you your computer's local name. You will type the username COMPUTERNAME\LocalUser the you can remove it first from domain or rejoin. This will solve the trust relationship issue.
Hi teomcam. Only administrators may unjoin it.
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I would like to object.
Every admin knows that the lack of trust relationship can be solved be rejoining the machine to the domain. So he just needs to activate the local admin which can be achieved by bootdisks like the one that was described by run5k first.
So I recommend a split between run5k (400) and me (100 points) because I added the advice to rejoin it.
I would definitely agree with McKnife's assessment.  This question is rather clear-cut.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.