You guys are amazing, I added the code that Richard posted and it worked.
I was able to remove the machine from the domain. The only problem I'm having now is that everytime that I attempt to join the machine to the domain, I get the following error:
Login Failure:Unknown user name or bad password
The command failed to complete successfully.....

I have been joining and removing this same pc from the domain a couple of times in the week by just using the netdom cmd and I don't know if this could have somehow messed it up.
The weird thing is that it works only when I remove the machine from the domain.

Anyway,
Thanks again for all of your help.
Keep an eye out for my posts

DMartin