Thread: Win XP problem
View Single Post
Old 06-22-2010   #7
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default

Quote:
Originally Posted by Tawa View Post
If you can't reach any of the above, try asking a pro-linux dude to do it for you.

Google chntpw command in Linux.
It is very easy, and can be done in 1 minute.
Indeed.

Code:
x454447415244@love:/$ chntpw
chntpw version 0.99.5 070923 (decade), (c) Petter N Hagen
chntpw: change password of a user in a NT/2k/XP/2k3/Vista SAM file, or invoke registry editor.
chntpw [OPTIONS] <samfile> [systemfile] [securityfile] [otherreghive] [...]
 -h          This message
 -u <user>   Username to change, Administrator is default
 -l          list all users in SAM file
 -i          Interactive. List users (as -l) then ask for username to change
 -e          Registry editor. Now with full write support!
 -d          Enter buffer debugger instead (hex editor), 
 -t          Trace. Show hexdump of structs/segments. (deprecated debug function)
 -v          Be a little more verbose (for debuging)
 -L          Write names of changed files to /tmp/changed
 -N          No allocation mode. Only (old style) same length overwrites possible
See readme file on how to get to the registry files, and what they are.
Source/binary freely distributable under GPL v2 license. See README for details.
NOTE: This program is somewhat hackish! You are on your own!
x454447415244@love:/$
So you only have to do the following:
Code:
cp /WINDOWS_LOCATION/system32/config/sam sam
chntpw -i sam
cp sam /WINDOWS_LOCATION/system32/config/sam
Note:
But of course, you have to boot your PC with a Linux live CD (Let's say Ubuntu) and run "sudo apt-get install chntpw" from the terminal to download and install the tool.
__________________


Last edited by Google; 06-22-2010 at 12:14 PM.
Google is offline   Reply With Quote