How do you recover your password in Windows XP?

In windows XP, assuming the question deals with how to recover the administrator password if lost, make a new standard profile and go to here: Start>Run>cmd.exe

type in 'Net User (Your Username Here) (Your Password Here) Add Groups Administrators' and it should work.