You are Here:
Install Updates Gimp Error - see Security & Bug Fixes Section Sticky



[ HELPFUL TIP ] recover Windows files, passwords, etc. with Linux Lite

Author (Read 5211 times)

0 Members and 2 Guests are viewing this topic.

recover Windows files, passwords, etc. with Linux Lite
« on: July 25, 2017, 10:36:05 AM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1028
    Posts
  • Country: us
  • Reputation: 178
  • Linux Lite Member
    • dbts-analytics.com

  • Linux Lite: 4.6 64bit

  • CPU: AMD A8 5500 4 cores

  • MEMORY: 8Gb

  • VIDEO CARD: AMD/ATI Radeon HD 7560D
-chntpw-

These days it is fairly common in households and small businesses for there to be more users than computers available. Many families can only afford one household computer, and many small businesses are run on one or two office machines. This can be problematic when users with administrative privileges come and go on a Windows machine, such as growing children, or former employees. On every Windows dual boot machine I set up for people (usually LL or Ubuntu LTS) I add chntpw and foremost after intalling. This saves me a lot of time when the inevitable lost password or lost file issue happens for the Windows users. Both these tools can be run from a live Ubuntu or Kali disk as well. To use them on a live Ubuntu LTS disk you will have to add the universe repository first. Having them already installed on a working Linux system dual booted with Windows on the same machine is much fatser though. If you dual boot with Windows they may come in handy for you. You can install them both from synaptic or a terminal in Linux Lite.

*If you are using an Ubuntu 16.04 series LTS live disk you will need to be connected to the Internet. Open a terminal and type the following commands one after the other as the tasks complete:
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install chntpw

Open your file manager and make sure Windows is mountable. If you get a message that the Windows drive is not mountable because of file permissions, or a longer message about file orphans, shut down your machine and reboot Windows and login as an administrator if you can. Then shut Windows down holding the shift key down until the mchine goes off. Reboot back into your Linux system and Windows will be mountable.

*If you are using a live Linux disk you will have to go through the steps to add chntpw again.
*If you cannot boot into Windows as an administrator you may have to unplug and/or remove your battery aftyer shutting down Windows. (hard reset)

Once you are back in your Linux system open your file manger and mount the Windows drive. Type: Ctrl+l and the location of your Windows drive will appear in the location bar of your file manager. Copy it. Now open a terminal and type the following command to mount the Windows drive:
cd (paste the location you copied from file manger)/Windows/System32/config and hit Enter.

Then start chntpw with the following command:
sudo chntpw -l SAM

Decide which listed user you wish to clear the password for and enter the following command:
sudo chntpw -u (the user name you wish to clear the password for) SAM
If the user name is proper such as Joe Smith you will need to use quotation marks around it. If it is a single word or name you won't.

Type: 2 and hit Enter (if the user account is locked)
Type: 1 and hit Enter
Type: y and hit Enter
The password will be cleared

Exit chntpw. Exit the Windows directory. Exit the terminal. Unmount the Windows drive in file manager. Shut down. Boot into Windows and sign in to the user without a password.

Below are some helpful links about chntpw:

http://www.techrepublic.com/blog/tr-dojo/reset-windows-passwords-with-the-help-of-linux/
https://www.howtogeek.com/236807/how-to-mount-your-windows-10-or-8-system-drive-on-linux/
http://technozed.com/enable-universe-repository-ubuntu/

-foremost-

To recover lost files from your Windows drive using Linux foremost has the most features. See the link below.

https://www.howtoforge.com/recover-deleted-files-with-foremost

-scalpel-

Scalpel is a Linux file carver for recovering lost files on a Linux system. It is handy because it can be configured to find lost LibreOffice files. The link below contains the configurations to find lost LibreOffice files. You can copy and paste them into scalpel's configuration file.

https://community.linuxmint.com/tutorial/view/1332

They all work in Linux Lite.

TC
(posted from a Toshiba Satellite running Windows 8.1 with Kaspersky Secure Connection)
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 


Re: recover Windows files, passwords, etc. with Linux Lite
« Reply #1 on: July 25, 2017, 10:50:12 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7145
    Posts
  • Country: nz
  • Reputation: 670
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
Very helpful, thank you @trinidad
FYI, the universe repo should be already enabled in Series 3.x
Last Edit: July 25, 2017, 10:53:54 AM by Jerry
 

Re: recover Windows files, passwords, etc. with Linux Lite
« Reply #2 on: July 25, 2017, 09:54:01 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3185
    Posts
  • Country: 00
  • Reputation: 300

  • Linux Lite: 3.2 64bit
Very interesting and helpful @trinidad  :)


Last Edit: July 25, 2017, 11:06:22 PM by bitsnpcs
 

Re: recover Windows files, passwords, etc. with Linux Lite
« Reply #3 on: July 03, 2019, 05:28:04 AM »
 

Naicc

  • New to Forums
  • *
  • 1
    Posts
  • Country: jp
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.2 64bit

  • MEMORY: 16Gb
I'm confident of recovering password back,as i did it on my computer 2 months ago with it: https://www.winpwd.com/  And for how to recover files on Windows computer,you can look in the recyling bin (Note:Whether or not the deleted data is in the recycling bin depends on how it was deleted).
Last Edit: July 04, 2019, 11:22:33 PM by Naicc
 

Re: recover Windows files, passwords, etc. with Linux Lite
« Reply #4 on: July 03, 2019, 08:19:04 AM »
 

TheDead

  • Gold Level Poster
  • *******
  • 623
    Posts
  • Country: ca
  • Reputation: 54
  • Linux Lite Worshipper
    • My OpenDesktop Projects

  • Linux Lite: 3.8 32bit

  • CPU: HAL9000

  • MEMORY: 1Gb

  • VIDEO CARD: Oculus Rift v.5
Older post but still usefull and bookedmarked it! Thanks!

@trinidad
Since then, have you tried chntpw with a Windows10/UEFI/GPT hard drive?

In the land of Unicorns, I wish it could reset a bit-locker locked OS too.
People always lose their keys (or don't even take them down...) then, after a crash of other Windows problem...
Them : "I wanted to be secure, can you get my files back?" - Me : "Nope, you need to have your BitLocker key" - Them : "I see, then you are not that good an IT guy..."
I sooo feeel like Dilbert sometimes.
- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 


Tags:
 


Install Updates Gimp Error - see Security & Bug Fixes Section Sticky