You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Using LinuxLite to repair Win 7 password

Author (Read 12549 times)

0 Members and 3 Guests are viewing this topic.

Re: Using LinuxLite to repair Win 7 password
« Reply #9 on: October 14, 2015, 04:59:22 PM »
 

paul1149

  • PayPal Supporter
  • I come here a lot
  • *****
  • 316
    Posts
  • Reputation: 42
  • Enjoying Linux
    • View Profile

  • CPU: C2D

  • MEMORY: 6Gb

  • VIDEO CARD: nVidia
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.
 

Re: Using LinuxLite to repair Win 7 password
« Reply #8 on: October 14, 2015, 02:50:45 PM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Both -l and -u commands are failing..
The command
Code: [Select]
chntpw –l SAM should list the users
The command
Code: [Select]
chntpw –u geek SAM allows reset of that user...

Not sure but maybe helpful for you guys??? 99.6 version??
http://askubuntu.com/questions/162267/problem-with-using-chntpw-in-ubuntu-to-reset-windows-7-password

Additionally - the instruction here http://www.chntpw.com/reset-windows-7-admin-password-with-ubuntu/ suggests adding the drive identifier when changing directories...
« Last Edit: October 14, 2015, 03:00:05 PM by firenice03 »
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.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
 

Re: Using LinuxLite to repair Win 7 password
« Reply #7 on: October 14, 2015, 02:38:15 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
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
 

Re: Using LinuxLite to repair Win 7 password
« Reply #6 on: October 14, 2015, 02:27:25 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
Thanks avj


I tried what you suggested with no luck - tried the 2nd one with my user name
Code: [Select]

colin@colin-NC110:/media/sda1/Windows/System32/config$ chntpw –l SAM
chntpw 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
 

Re: Using LinuxLite to repair Win 7 password
« Reply #5 on: October 14, 2015, 11:00:41 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
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.

Code: [Select]
chntpw –l SAMThis will list user names, according to the article.

Code: [Select]
chntpw –u geek SAMReplace 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-vista/change-your-forgotten-windows-password-with-the-linux-system-rescue-cd/
« Last Edit: October 14, 2015, 11:02:52 AM by avj »
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: Using LinuxLite to repair Win 7 password
« Reply #4 on: October 14, 2015, 06:07:43 AM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
 
 
  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 chntpw
 F[/color]rom How To Geek i have tried to follow their method [/size]
 [/color]Using chntpw to reset your password
 [/color]Before running chntpw, you will have to [/color]mount[/b][/color] the hard drive that contains your Windows installation. In most cases, Ubuntu 9.10 makes this simple.[/color]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]If it is not obvious, then click on Computer and check out each hard drive until you find the correct one.[/color]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. [/size]
 Mine is -(/media/sda1/Windows/System32/config/ )
[/color]If you don’t already have one open, start a terminal window by going to Applications > Accessories > Terminal.[/color]In the terminal window, enter the commands [/size]
 [/color]cd /media[/b]
[/color][/b][/color]ls[/b][/size]
 [/color]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]Change to that directory by entering the command [/size]
 
 [/color]cd <hard drive label>[/b][/color]Since the hard drive label [/size]
[/color]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[/size]
[/color]
[/color][/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][/b]
Code: [Select]
[/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
 

Re: Using LinuxLite to repair Win 7 password
« Reply #3 on: October 13, 2015, 02:05:58 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
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)
 

Re: Using LinuxLite to repair Win 7 password
« Reply #2 on: October 13, 2015, 02:00:29 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
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.
 

Using LinuxLite to repair Win 7 password
« Reply #1 on: October 13, 2015, 01:40:16 PM »
 

Colin23erk

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 13
  • Linux Lite Member
    • View Profile

  • MEMORY: 256mb
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 chntpw
[/size]From How To Geek i have tried to follow their method[/color]
[/size][/color]
[/size][/color][/size]Using chntpw to reset your password[/color][/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]
[/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]
[/size][/color]
[/size]If it is not obvious, then click on Computer and check out each hard drive until you find the correct one.[/color]
[/size][/color]
[/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]
[/size][/color]
[/size]If you don’t already have one open, start a terminal window by going to Applications > Accessories > Terminal.[/color]
[/size][/color]
[/size]In the terminal window, enter the commands[/color][/size]cd /media
ls
[/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]
[/size]Change to that directory by entering the command[/color][/size]cd <hard drive label>[/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]
[/size][/color]
[/size]We want to switch to a certain Windows directory. Enter the command:[/color][/size]cd WINDOWS/system32/config/[/size]Again, you can use tab-completion to speed up entering this command.[/color]
[/size][/color]
[/size]To change or reset the administrator password, enter:[/color][/size]sudo chntpw SAM[/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]
[/size]
[/size][/font][/color]
Quote

I am having difficulty getting past 

[/size]
[/font][/color]
Quote
[/size]We want to switch to a certain Windows directory. Enter the command:[size=78%][/size]cd WINDOWS/system32/config/
[/size]
[/color]
I Learn something new Every Day !
An "example" is worth a 1000 words
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section