[SOLVED] is it possible to edit the Windows file system with Linux on a flash-drive?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.