My mom's ancient Winbook laptop, using Windows XP Professional, was also hooked up to a wireless keyboard and mouse. Unfortunately, this caused it to only accept the account password at the login screen correctly when typed using the wireless keyboard, and after a software update the wireless keyboard stopped working, leaving only the laptop's own keyboard.
How can I use an Ubuntu LiveCD to reset a Windows XP password?
Get a 32-bit Ubuntu 10.04 LTS LiveCD, and boot the computer from it.
Then follow these steps once in the LiveCD environment:
Either install
chntpw
from Synaptic Package Manager, or open a terminal and run:The latter method may be preferable, since this is a commandline program.
In a terminal, type
and hit Tab to autocomplete with the name of your Windows partition. Then (for Windows XP) complete the rest of the path as
WINDOWS/system32/config/
. Hit Enter to change to this directory.Run
where username is your actual Windows XP username. (If you don't get it right the first time, you can see a list of found users in the output and re-enter it with the right username.) Once it presents you with a text menu, enter
1
to clear the user's password.Now just restart your machine and log in as the selected user, who will not have a password. Use Windows' own account management tools to set a new password if desired.
(Source)