Cant log in my windows 7 computer after removing it from domain to workgroup

Actually on a workgroup or standalone machine you don't need to use the "computername\" prefix with the account name. You only need that on a machine that's a member of a domain when you want to tell it that you're logging on to a local account instead of a domain account.

Of course if the machine still THINKS it's supposed to be in the domain (i.e., if by "removed from the domain" the OP means it was disconnected from the domain network but not actually demoted to a workgroup machine) then yes, he will need to use the prefix.
 

zenmaster

Splendid
Feb 21, 2006
3,867
0
22,790
If you do not know the local administrators password, you may need to use a Linux Boot disk to reset the PWD.

Here is one example:

http://www.howtogeek.com/howto/14369/change-or-reset-windows-password-from-a-ubuntu-live-cd/