Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
    
You might prefer to use Ubuntu to make Windows XP give you unlimited access from its login screen (which you should of course reverse, once you're done using it). You can search the web for sethc.exe to see how to do this. Such a method wouldn't really relate to Ubuntu, except that you'd be using Ubuntu to (temporarily) replace one file with another (inside the Windows system) to accomplish it. –  Eliah Kagan Jun 19 '12 at 9:37
1  
@Jason - given that you rolled back the edit, I can only presume that you are not interested in resetting from Ubuntu. As such, this is off-topic for this Stack Exchange site. –  fossfreedom Jun 19 '12 at 10:03
add comment

closed as off topic by Florian Diesch, jokerdino, hhlp, fossfreedom Jun 19 '12 at 10:01

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers

You can use chntpw

Assuming you have a dual boot with windows and ubuntu.

First you need to install chntpw

  apt-get install chntpw

mount your Windows Partition writeable

Goto the following directory (assuming you mounted your windows partition to /mnt)

  cd /mnt/WINDOWS/system32/config

  chntpw -u Administrator SAM

SAM is the file where the password is stored. You should set it to an empty one choosing option 1

    - – - – User Edit Menu:
   1 – Clear (blank) user password
   2 – Edit (set new) user password (careful with this on XP or Vista)
   3 – Promote user (make user an administrator)
   (4 – Unlock and enable user account) [seems unlocked already]
   q – Quit editing user, back to user select 

Reboot to windows Login as Administator without password :-)

share|improve this answer
add comment

If you have forgotten your administrator password for Windows, you can use a Ubuntu Linux live CD or live USB to reset the password. This tutorial will show you how to do that, step by step.

Source: psychocats

Take a look at this site

Also there are many ways that you can use, for example yo can use the windows Sysinternals, they are utilities that can help you in resetting you administrator and other users passwords. Another option is to use Hirens CD if you have access to it, it also have multiple utilities that will help. Another option is the ERD Commander from Microsoft, that will help you in resetting the password among other things.

share|improve this answer
add comment

Ophcrack might be a useful tool, but I don't see anything Ubuntu specific in you question.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.