LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2020, 07:24 PM   #1
Brant
Member
 
Registered: Oct 2007
Posts: 235

Rep: Reputation: 13
is it possible to edit the Windows file system with Linux on a flash-drive?


I was asked to look at a friend's laptop that was refusing to let them log-in, and that was showing this message:

Your Device/PC Is Offline. Please Sign in With the Last Password Used on This Device/PC

Looking on line, I saw this (among other things):

Run regedit to open the Registry Editor and go to the following key: HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL\StoredIdentities
Expand StoredIdentities and delete the key of the Microsoft account that is creating issues.

This left me wondering if I could do the same thing while running Linux from a live USB key, and if so, how to locate the key.
Screenshot-1 shows what I see when I open the file system. Screenshot-2 shows the content of the Windows folder.

Is this do-able?
Thanks!
Attached Thumbnails
Click image for larger version

Name:	Screenshot -1.png
Views:	13
Size:	66.3 KB
ID:	33542   Click image for larger version

Name:	Screenshot-2.png
Views:	13
Size:	79.6 KB
ID:	33543  
 
Old 06-29-2020, 07:37 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,016

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
Before you lose a friend maybe have them log into some computer web page for almost any microsoft page that has a user to log into. Might see if their password works as expected.

All of this work is subject to data loss.

https://mashtips.com/how-to-edit-the...-using-ubuntu/

Last edited by jefro; 06-29-2020 at 07:39 PM.
 
2 members found this post helpful.
Old 06-29-2020, 07:52 PM   #3
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 697

Rep: Reputation: 158Reputation: 158
i have used a modified version of the utilman.exe method described in this article to reset a local (not microsoft live account) windows 10 password.
 
Old 06-29-2020, 08:10 PM   #4
Brant
Member
 
Registered: Oct 2007
Posts: 235

Original Poster
Rep: Reputation: 13
Jefro's link is extremely interesting, and is almost an answer in itself, as my first question was "is it possible?".
I am safe with my friend (touch wood) as their original request was that I install Linux; wanting to access the old operating system was part curiosity, partly to ascertain there were no valuable files.

I confess that I did not understand "log into some computer web page for almost any microsoft page that has a user to log into. Might see if their password works as expected."
If the password works on a Microsoft page, how does that advance the situation? Or are we simply verifying that they gave me the right password?
 
Old 06-29-2020, 10:14 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,016

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
I didn't really want to get into the entire scope of this issue on a linux site. There are plenty of web articles on this topic that don't involve using linux to nuke it.

There are a number of variables that you haven't mentioned that could be critical. Backups? Encrypted folders? Exact version and level and if it has a local account still or ever.

What the error starts as it is saying that it can't authenticate the user's password. The most simple is to do what it said. Did you try the last known password?
 
3 members found this post helpful.
Old 06-30-2020, 10:02 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,791
Blog Entries: 13

Rep: Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963Reputation: 3963
It's absolutely possible to view and edit other OS files, Windows included, using a live boot of Linux, in fact that's done many, many times by persons repairing systems. Another fact is that built in recovery and restore software on laptop PCs is typically Linux.

Curiosity appeased I'd say, and given that your friend simply asked for Linux, then confirm with them whether or not they wish any files backed up, and then put Linux on the system.
 
1 members found this post helpful.
Old 06-30-2020, 10:45 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,948

Rep: Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372
Quote:
Originally Posted by Brant View Post
I was asked to look at a friend's laptop that was refusing to let them log-in, and that was showing this message:
Code:
Your Device/PC Is Offline. Please Sign in With the Last Password Used on This Device/PC
Looking on line, I saw this (among other things):
Code:
Run regedit to open the Registry Editor and go to the following key: HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL\StoredIdentities
Expand StoredIdentities and delete the key of the Microsoft account that is creating issues.
This left me wondering if I could do the same thing while running Linux from a live USB key, and if so, how to locate the key. Screenshot-1 shows what I see when I open the file system. Screenshot-2 shows the content of the Windows folder. Is this do-able?
Nope; regedit is a Windows program...can't run it under Linux, and even if you could, it's going to look for a C:\ drive to locate the registry. You hint at the fact that this is an online account, but don't provide many details. If they're signing in with a Microsoft account, they can go online and reset it easily. Certain Windows 10 patch-levels will let a user set security questions to be able to reset a lost/forgotten password...but we don't know if that's the case here.

Simplest way is to use a Windows 10 install media, and follow this: https://4sysops.com/archives/reset-a...s-10-password/
 
Old 06-30-2020, 02:09 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,904
Blog Entries: 9

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
It seems that editing the Windows registry is possible with Linux.
 
1 members found this post helpful.
Old 06-30-2020, 05:58 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,016

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
I guess I didn't add the link I wanted to yesterday and now I can't find it. It has maybe 20 or 30 tips on this issue.

Anyway this is less but similar. https://troubleshooter.xyz/wiki/your...n-this-device/
or https://windowsreport.com/your-pc-is...ror-windows-8/
 
1 members found this post helpful.
Old 07-01-2020, 08:30 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,948

Rep: Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372Reputation: 6372
Nice one, ondoho; never even would have looked for that. I'd typically stick with Windows solutions for Windows problems, and regedit was the only thing I'd ever used.

Personally, I've always found that 'hack' about replacing utilman with cmd easiest. You can then just use a "net use" command to change passwords, or add a user.
 
1 members found this post helpful.
Old 07-13-2020, 07:09 PM   #11
Brant
Member
 
Registered: Oct 2007
Posts: 235

Original Poster
Rep: Reputation: 13
Sorry I have been so slow getting back to this: my internet connection has been hit-or-miss ...

I took the simple route, and simply installed Linux Mint; if nothing else, looking at all this reminded me of how much I dislike Windows.

However the next time I have an unimportant computer to play with I may go back to this, and try out chntpw.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 04:32 AM
help to edit Edit my bootloader's config file from kernel prompt jagdishpandey Linux - Kernel 5 07-03-2007 06:59 AM
linux on flash drive, is this possible and flash writes, where?? lizzie_jianne Linux - General 1 01-04-2007 12:12 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration