| 
		
	
	
	
		
	Posts: 212 
	Threads: 55 
	Joined: May 2014
	
 Reputation: 
0 
	
	
		Is there an easy way to use LinuxLite to repair Win 7 password without using a CD or USB . 
A third party has locked me out of Win 7 which is dual booted with LinuxLite . I have tried several Bootable repair Disks which have either failed to boot properly or require Input details which I am not able to supply . 
I have used Synaptic to install [color=rgb(34, 34, 34)]chntpw [/color] 
[color=rgb(34, 34, 34)][/size]From How To Geek i have tried to follow their method [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size] [/color][color=rgb(34, 34, 34)][/size]Using chntpw to reset your password [/color][color=rgb(34, 34, 34)][/size]Before running chntpw, you will have to mount the hard drive that contains your Windows installation. In most cases, Ubuntu 9.10 makes this simple. [/color] 
[color=rgb(34, 34, 34)][/size]Click on Places at the top-left of the screen. If your Windows drive is easily identifiable – usually by its size – then left click on it. [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]If it is not obvious, then click on Computer and check out each hard drive until you find the correct one. [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]The correct hard drive will have the WINDOWS folder in it. When you find it, make a note of the drive’s label that appears in the menu bar of the file browser. [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]If you don’t already have one open, start a terminal window by going to Applications > Accessories > Terminal. [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]In the terminal window, enter the commands [/color][/size][color=rgb(34, 34, 34)]cd /media ls[/color]
 [color=rgb(34, 34, 34)][/size]pressing enter after each line. You should see one or more strings of text appear; one of those strings should correspond with the string that appeared in the title bar of the file browser earlier. [/color] 
[color=rgb(34, 34, 34)][/size]Change to that directory by entering the command [/color][/size][color=rgb(34, 34, 34)]cd <hard drive label>[/color] [color=rgb(34, 34, 34)][/size]Since the hard drive label will be very annoying to type in, you can use a shortcut by typing in the first few letters or numbers of the drive label (capitalization matters) and pressing the Tab key. It will automatically complete the rest of the string (if those first few letters or numbers are unique). [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]We want to switch to a certain Windows directory. Enter the command: [/color][/size][color=rgb(34, 34, 34)]cd WINDOWS/system32/config/[/color] [color=rgb(34, 34, 34)][/size]Again, you can use tab-completion to speed up entering this command. [/color] 
[color=rgb(34, 34, 34)][/size] [/color] 
[color=rgb(34, 34, 34)][/size]To change or reset the administrator password, enter: [/color][/size][color=rgb(34, 34, 34)]sudo chntpw SAM[/color] [color=rgb(34, 34, 34)][/size]SAM is the file that contains your Windows registry. You will see some text appear, including a list of all of the users on your system. [/color] 
[color=rgb(34, 34, 34)][/size] [/size]
 [/color] Quote:[color=rgb(34, 34, 34)]I am having difficulty getting past
 [/color]
 Quote:[color=rgb(34, 34, 34)][/size]We want to switch to a certain Windows directory. Enter the command:[size=78%][/size]cd WINDOWS/system32/config/[color=rgb(34, 34, 34)][/color][/size][/color]
I Learn something new Every Day !An "example" is worth a 1000 words
 
	
	
	
		
	Posts: 1,602 
	Threads: 86 
	Joined: Jun 2015
	
 Reputation: 
0 
	
	
		You may want to modify your post.  What ended up being posted is super small in size.  Very hard to read and, thus, could limit the help you receive.
	 
Want to thank me?  Click my [Thank] link.
 
	
	
	
		
	Posts: 1,484 
	Threads: 96 
	Joined: Mar 2014
	
 Reputation: 
0 
	
	
		Hi, 
It seems I'm not the only one who get the funny posts. 
I now pre-write my posts in Leafpad, and then just copy 'n' paste into forum.
 
So without knowing what you have tried...?? 
This is what Google shows... Fix Windows 7 password with Linux
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks  Computers Early days: 
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 
	
	
	
		
	Posts: 212 
	Threads: 55 
	Joined: May 2014
	
 Reputation: 
0 
	
	
		 
  
  A third party has locked me out of Win 7 which is dual booted with LinuxLite . I have tried several Bootable repair Disks which have either failed to boot properly or require Input details which I am not able to supply . 
 I have used Synaptic to install [color=rgb(34, 34, 34)]chntpw[/color] 
 F[/color][color=rgb(34, 34, 34)]rom How To Geek i have tried to follow their method[/color] 
 [/color][color=rgb(34, 34, 34)]Using chntpw to reset your password[/color][color=rgb(34, 34, 34)] 
 [/color][color=rgb(34, 34, 34)]Before running chntpw, you will have to [/color][/color][color=rgb(34, 34, 34)]mount[/color][/color][color=rgb(34, 34, 34)] the hard drive that contains your Windows installation. In most cases, Ubuntu 9.10 makes this simple.[/color][/color][color=rgb(34, 34, 34)]Click on Places at the top-left of the screen. If your Windows drive is easily identifiable – usually by its size – then left click on it.[/color][/color][color=rgb(34, 34, 34)]If it is not obvious, then click on Computer and check out each hard drive until you find the correct one.[/color][/color][color=rgb(34, 34, 34)]The correct hard drive will have the WINDOWS folder in it. When you find it, make a note of the drive’s label that appears in the menu bar of the file browser.[/color] 
 Mine is -(/media/sda1/Windows/System32/config/ )
[/color][color=rgb(34, 34, 34)]If you don’t already have one open, start a terminal window by going to Applications > Accessories > Terminal.[/color][/color][color=rgb(34, 34, 34)]In the terminal window, enter the commands[/color] 
 [/color][color=rgb(34, 34, 34)]cd /media[/color]
[/color][/color][color=rgb(34, 34, 34)]ls[/color] 
 [/color][color=rgb(34, 34, 34)]pressing enter after each line. You should see one or more strings of text appear; one of those strings should correspond with the string that appeared in the title bar of the file browser earlier.[/color][/color][color=rgb(34, 34, 34)]Change to that directory by entering the command[/color] 
 
 [/color][color=rgb(34, 34, 34)]cd <hard drive label>[/color][/color][color=rgb(34, 34, 34)]Since the hard drive label [/color]
[/color][color=rgb(34, 34, 34)]will be very annoying to type in, you can use a shortcut by typing in the first few letters or numbers of the drive label[/color]
[/color]
[/color][color=rgb(34, 34, 34)][/code]colin@colin-NC110:~$ cd /media
 colin@colin-NC110:/media$ ls
 Backup  cdrom  colin  floppy  floppy0  sda1
 colin@colin-NC110:/media$ cd sda1/
 colin@colin-NC110:/media/sda1$ cd WINDOWS/system32/config/
 bash: cd: WINDOWS/system32/config/: No such file or directory
 
 colin@colin-NC110:/media/sda1$
 [/color]
 Code: [/size][/b][/color]
 [font=Verdana][size=3][/quote][/size][/font]
 [color=rgb(34, 34, 34)][b][font=Verdana][size=3]To change or reset the administrator password, enter:[/size][/color][/b][/font]
 
 [b][font=monospace][color=rgb(34, 34, 34)][size=5]sudo chntpw SAM[/size][/b][/font][/color]
 
 [size=3][b][color=rgb(34, 34, 34)]SAM is the file that contains your Windows registry. You will see some text appear, including a list of all of the users on your system.[/b][/color][b][color=rgb(34, 34, 34)]We want to switch to a certain Windows directory. Enter the command[/b][/color] [/size]
 [b][font=monospace][color=rgb(34, 34, 34)][size=5]cd WINDOWS/system32/config/[/size][/b][/font][/color][size=3][b][color=rgb(34, 34, 34)][/b][/color][/size]
 [font=Verdana][size=3][quote][/size][/font]
 
 
I Learn something new Every Day !An "example" is worth a 1000 words
 
	
	
	
		
	Posts: 530 
	Threads: 26 
	Joined: Feb 2015
	
 Reputation: 
0 
	
		
		
		10-14-2015, 03:00 PM 
(This post was last modified: 10-14-2015, 03:02 PM by avj.)
		
	 
		If I am reading this correctly you should be able to just open the file manager and navigate to the WINDOWS/system32/config folder, once there right click on an empty space in the window and select "Open Terminal Here" and you will be in the right place no need to do all the cd commands.  Then all you should have to do is run the following in the terminal you opened. This will list user names, according to the article.
 Replace the "geek" with your windows user name. Choose the 2nd option to (set new) password, after the password is changed, you have to confirm the save by hitting "y" when asked. When you get back to a command prompt you can close the terminal. The password should now be what you chose. Reboot into windows and use the new password.
 
Info found here:   http://www.howtogeek.com/howto/windows-v...rescue-cd/
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 
	
	
	
		
	Posts: 212 
	Threads: 55 
	Joined: May 2014
	
 Reputation: 
0 
	
	
		Thanks avj 
I tried what you suggested with no luck - tried the 2nd one with my user name
 Code: colin@colin-NC110:/media/sda1/Windows/System32/config$ chntpw –l SAMchntpw version 0.99.6 110511 , (c) Petter N Hagen
 openHive(–l) failed: No such file or directory, trying read-only
 openHive(–l) in fallback RO-mode failed: No such file or directory
 Unable to open/read a hive, exiting..
 
 
 
 
 colin@colin-NC110:/media/sda1/Windows/System32/config$ chntpw –u colin SAM
 chntpw version 0.99.6 110511 , (c) Petter N Hagen
 openHive(–u) failed: No such file or directory, trying read-only
 openHive(–u) in fallback RO-mode failed: No such file or directory
 Unable to open/read a hive, exiting..
 colin@colin-NC110:/media/sda1/Windows/System32/config$
Colin 
	
I Learn something new Every Day !An "example" is worth a 1000 words
 
	
	
	
		
	Posts: 212 
	Threads: 55 
	Joined: May 2014
	
 Reputation: 
0 
	
	
		Not sure if it helps -- this is the contents of the    /media/sda1/Windows/System32/config/  Files Quote:/media/sda1/Windows/System32/config/Before Compact/media/sda1/Windows/System32/config/Journal
 /media/sda1/Windows/System32/config/Original
 /media/sda1/Windows/System32/config/RegBack
 /media/sda1/Windows/System32/config/SM Registry Backup
 /media/sda1/Windows/System32/config/systemprofile
 /media/sda1/Windows/System32/config/TxR
 /media/sda1/Windows/System32/config/BCD-Template
 /media/sda1/Windows/System32/config/BCD-Template.LOG
 /media/sda1/Windows/System32/config/BCD-Template.LOG1
 /media/sda1/Windows/System32/config/BCD-Template.LOG2
 /media/sda1/Windows/System32/config/COMPONENTS
 /media/sda1/Windows/System32/config/COMPONENTS.LOG
 /media/sda1/Windows/System32/config/COMPONENTS.LOG1
 /media/sda1/Windows/System32/config/COMPONENTS.LOG2
 /media/sda1/Windows/System32/config/COMPONENTS{0f5bec2f-271f-11e5-9ece-dca9715022f5}.TM.blf
 /media/sda1/Windows/System32/config/COMPONENTS{0f5bec2f-271f-11e5-9ece-dca9715022f5}.TMContainer00000000000000000001.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{0f5bec2f-271f-11e5-9ece-dca9715022f5}.TMContainer00000000000000000002.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{6cced2ed-6e01-11de-8bed-001e0bcd1824}.TM.blf
 /media/sda1/Windows/System32/config/COMPONENTS{6cced2ed-6e01-11de-8bed-001e0bcd1824}.TMContainer00000000000000000001.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{6cced2ed-6e01-11de-8bed-001e0bcd1824}.TMContainer00000000000000000002.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{ba11b468-af01-11e4-8ad9-dca9715022f5}.TM.blf
 /media/sda1/Windows/System32/config/COMPONENTS{ba11b468-af01-11e4-8ad9-dca9715022f5}.TMContainer00000000000000000001.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{ba11b468-af01-11e4-8ad9-dca9715022f5}.TMContainer00000000000000000002.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{d7165e1e-bd77-11e3-bed0-dca9715022f5}.TM.blf
 /media/sda1/Windows/System32/config/COMPONENTS{d7165e1e-bd77-11e3-bed0-dca9715022f5}.TMContainer00000000000000000001.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{d7165e1e-bd77-11e3-bed0-dca9715022f5}.TMContainer00000000000000000002.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{e539f9a6-264c-11e5-a6d1-dca9715022f5}.TM.blf
 /media/sda1/Windows/System32/config/COMPONENTS{e539f9a6-264c-11e5-a6d1-dca9715022f5}.TMContainer00000000000000000001.regtrans-ms
 /media/sda1/Windows/System32/config/COMPONENTS{e539f9a6-264c-11e5-a6d1-dca9715022f5}.TMContainer00000000000000000002.regtrans-ms
 /media/sda1/Windows/System32/config/DEFAULT
 /media/sda1/Windows/System32/config/DEFAULT.LOG
 /media/sda1/Windows/System32/config/DEFAULT.LOG1
 /media/sda1/Windows/System32/config/DEFAULT.LOG2
 /media/sda1/Windows/System32/config/SAM
 /media/sda1/Windows/System32/config/SAM.LOG
 /media/sda1/Windows/System32/config/SAM.LOG1
 /media/sda1/Windows/System32/config/SAM.LOG2
 /media/sda1/Windows/System32/config/SECURITY
 /media/sda1/Windows/System32/config/SECURITY.LOG
 /media/sda1/Windows/System32/config/SECURITY.LOG1
 /media/sda1/Windows/System32/config/SECURITY.LOG2
 /media/sda1/Windows/System32/config/SOFTWARE
 /media/sda1/Windows/System32/config/SOFTWARE.LOG
 /media/sda1/Windows/System32/config/SOFTWARE.LOG1
 /media/sda1/Windows/System32/config/SOFTWARE.LOG2
 /media/sda1/Windows/System32/config/SYSTEM
 /media/sda1/Windows/System32/config/SYSTEM.LOG
 /media/sda1/Windows/System32/config/SYSTEM.LOG1
 /media/sda1/Windows/System32/config/SYSTEM.LOG2
 
Colin
	
I Learn something new Every Day !An "example" is worth a 1000 words
 
	
	
	
		
	Posts: 1,849 
	Threads: 21 
	Joined: Sep 2015
	
 Reputation: 
0 
	
		
		
		10-14-2015, 06:50 PM 
(This post was last modified: 10-14-2015, 07:00 PM by firenice03.)
		
	 
		Both -l and -u commands are failing.. 
The command   should list the users  
The command   allows reset of that user...
 
Not sure but maybe helpful for you guys??? 99.6 version??
http://askubuntu.com/questions/162267/pr...7-password 
Additionally - the instruction here http://www.chntpw.com/reset-windows-7-ad...th-ubuntu/  suggests adding the drive identifier when changing directories...
	
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
 LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
 LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
 BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
 Running Linux Lite since LL2.2
 
	
	
	
		
	Posts: 316 
	Threads: 49 
	Joined: Jun 2015
	
 Reputation: 
0 
	
	
		Another thing you can try is to rename SAM to SAM.old and then copy the version of SAM from ../system32/RegBack over to the ../config folder. This should give you your previous password back if the date of the backup SAM file predates the problem.
 The entries, Last Known Good Configuration, and ~Revert to Restore Point~ in the Win7 Advanced Boot menu (F8 as Windows just begins to load) might do the same thing, not sure.
 
	
	
	
		
	Posts: 212 
	Threads: 55 
	Joined: May 2014
	
 Reputation: 
0 
	
	
		Hi Paul 
Thanks for the idea but I cannot find  
RegBack 
 Quote:../system32/RegBack over to the ../config folder.  
I am getting the feeling that the only way to go is to Reinstall Win7 . 
 
Fortunately I keep all my own Data / files in a separate Partition so they should not be affected as I can use them with LinuxLite . 
I have always kept them separate  from Windows from the days when crashes were a fact of life 
 
Colin 
	
I Learn something new Every Day !An "example" is worth a 1000 words
 |