Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Reset Passwords on Windows XP and Vista Using Backtrack 4 - Captions and Voice Includ

  1. #1
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default Reset Passwords on Windows XP and Vista Using Backtrack 4 - Captions and Voice Includ


  2. #2
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    8

    Default Couldnt reset it

    Hi!

    I have used the tutorial to reset my password but unfortunately didnt work i have tried it several times by changing different parameteres from the commands issued but didnt succeed kindly assit.

    My hard disk is sata

    Here's what i have done

    chtpw -i /mnt/sda1/windows/system32/config/SAM

    ERROR

    Unable to open/read a hive

    Exiting

  3. #3
    Member
    Join Date
    Jan 2010
    Location
    The new forums
    Posts
    462

    Default

    Is sda1 the location of your windows partition?

  4. #4
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    8

    Default password reseting

    I need your guidence on this coz since i bought my laptop i knew that my HDD is SATA.But when i checked the boot priority this is what i found.

    BOOT PRIORITY ORDER
    1. ATAPI CD0: MATSHITADVD-RAM UJ-850 Z-(PM)
    2.USB FDD.
    3.USB CD.
    4.ATA HDD0:WDC WD1600 BEVS-08VATI-S1
    5.PCI LAN:IBA GE SLOT 00C8 V1245
    6.-USB HDD
    7.ATA HDD1

  5. #5
    Member
    Join Date
    Jan 2010
    Location
    The new forums
    Posts
    462

    Default

    I watched the video over and came up with a few things. The video assumes that your Windows partition is mounted. If it isn't you get the error you received.

    I mounted my Windows partition and it works fine. Also check the syntax for the location of the sam file might be different between Vista and XP (ex: Windows vs. WINDOWS)

    Run fdisk -l and see where your ntfs partition is.

    http://backtrack.offensive-security....hp/Chntpw_tool

  6. #6
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    8

    Default password resetting

    Thnx for the reply i'll work on it then i'll give you the feedback.

  7. #7
    Good friend of the forums spawn's Avatar
    Join Date
    Jan 2010
    Posts
    280

    Default

    Quote Originally Posted by Bella View Post
    Hi!

    I have used the tutorial to reset my password but unfortunately didnt work i have tried it several times by changing different parameteres from the commands issued but didnt succeed kindly assit.

    My hard disk is sata

    Here's what i have done

    chtpw -i /mnt/sda1/windows/system32/config/SAM

    ERROR

    Unable to open/read a hive

    Exiting
    are you using the ntfs-3g or native ntfs module ?

  8. #8
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    Quote Originally Posted by Bella View Post
    Here's what i have done

    chtpw -i /mnt/sda1/windows/system32/config/SAM

    ERROR

    Unable to open/read a hive

    Exiting
    Try this

    Code:
    cd /mnt/sda1/windows/system32/config/
    chntpw -i SAM userdiff
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

  9. #9
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    4

    Default

    There's an easier way:

    1.) Mount the windows partition then go to C:\Windows\system32.
    2.) rename sethc.exe to sethc.exe.old
    3.) rename cmd.exe to sethc.exe
    4.) unmount, reboot, select windoze partition, at login, hit shift 5 times to get a command prompt
    5.) net user (find your account name)
    6.) net user <account> *
    7.) <type new password or leave blank>
    8.) <confirm>
    9.) net user \Active:yes <account> if it is locked...
    10.) exit cmd
    11.) Login and rename sethc.exe.old back.

    At the login screen, you have more than Administrator rights (even in Win7 oddly). You can do some nasty damage to your PC though, so becareful.

    -Steve Thing

  10. #10
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by Steve Thing View Post
    There's an easier way:

    1.) Mount the windows partition then go to C:\Windows\system32.
    2.) rename sethc.exe to sethc.exe.old
    3.) rename cmd.exe to sethc.exe
    4.) unmount, reboot, select windoze partition, at login, hit shift 5 times to get a command prompt
    5.) net user (find your account name)
    6.) net user <account> *
    7.) <type new password or leave blank>
    8.) <confirm>
    9.) net user \Active:yes <account> if it is locked...
    10.) exit cmd
    11.) Login and rename sethc.exe.old back.

    At the login screen, you have more than Administrator rights (even in Win7 oddly). You can do some nasty damage to your PC though, so becareful.

    -Steve Thing
    Apparently "an easier way" is subjective in your case.
    With chntpw there is no need for commands to find an account, enter a new password, then confirm it. Not to mention renaming files and logging into and renaming more files.
    Maybe you should re-look at the video, a simple boot mount a directory and run a command will do what you are talking about, far faster with less steps( equaling fewer things that may go wrong. Not to mention time may be of the essence).
    Nothing wrong with your way but really it's not even BT specific which is what the thread/video is about.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •