Reset Windows Password With Usb

0 views
Skip to first unread message

Carmen Kalua

unread,
Aug 5, 2024, 11:10:40 AM8/5/24
to taimititer
Youcan still use the rename cmd to utilman. Although I also just enable the built-in administrator with net user and then boot and login. I actually just tried this on my machine to confirm and it still works. I am on 20H2.

I have used this trick before when users have forgotten their passwords. There are even ways to reset Microsoft account passwords by using this method. This is why we enable encryption on all our drives. (I suspended it while I tried this bypass.)


I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process.


Note 2: If you are still using the original Ubuntu subsystem that came with the Anniversary Update, use the command lxrun. Upgrade to the subsystem version distributed via Microsoft Store is recommended.)


Important This answer is (a) for the older WSL1 only, (b) is outdated as it references paths that are no longer used by WSL1, even, and (c) most importantly, can cause filesystem corruption, per Microsoft. Please refer to other answers here for proper methods of changing the password.


I've got myself into a bit of a pickle and could really use your collective wisdom. I've been locked out of my Windows 10 computer (yeah, I know, should've written down the password) and I'm scratching my head on how to get back in. Has anyone here been through this and managed to reset their password without being able to log in?


I've seen a few methods online involving bootable USB drives and using command prompts, but I'm not super tech-savvy and a bit hesitant to dive into something that seems so complex. I'm looking for a more straightforward, beginner-friendly way to reset my password and get back to my files.


[Edit] A few folks asked me if the problem was solved? Yes. The password was reset with the help of Passcue Windows Password Recovery software. Thanks Jack888 for the recommendation!


Once, I also encountered a situation where I forgot Windows 10 password of local account. I was really a little panicked at that time. After all, all the important files were in that account. I remember that I really didn't want to use those complicated technical means at that time, and wondered if there was a simple way to solve it.


So, I saw a "Reset Password" link on the login screen. Although I hadn't noticed it before, I decided to click it this time. After clicking it, the system prompted me to answer the security questions I had set before. I was quite glad that I didn't fill in some random answers at that time. The question was the name of my elementary school. I remembered that I set the name of my alma mater and answered it without hesitation. Then the system actually let me enter the interface for setting a new password.


After entering and confirming the new password, I was able to log in smoothly. This experience made me realize that setting security questions is really useful, especially when you forget Windows 10 password.


@zcbadeedee Ophcrack is not recommended if the password was strong enough. Ophcrack relies on rainbow tables to recover the forgotten Windows 10 passwords. These tables are precomputed lists of possible passwords and their corresponding hashes. If a password is complex (long, uses special characters, or is otherwise not common), it may not be included in the available rainbow tables.


In addition, Ophcrack has not been actively updated to handle newer hashing algorithms or security measures implemented in Windows 10 and 11. Newer versions of Windows have strengthened password security. So it is no longer a good choice to reset Windows 10 password when the computer is locked due to forgotten password.


Once, I also encountered a situation where I forgot my Windows 10 password. I was really anxious at the time, after all, all my important documents and work data were on that computer. I tried various possible password combinations, but none of them worked. At this time, I remembered that I had a backup consciousness before and made a Windows 10 password reset disk.


I quickly rummaged through the boxes and found the USB drive and inserted it into the computer. I restarted the computer and went to the login screen. I saw a link to "Reset Password" and clicked it without hesitation. The system recognized my password reset disk and began to guide me step by step.


A Windows 10 password reset disk is a special type of disk that allows you to reset Windows 10 user account password if you forget it. This disk is created while you still have access to your account and can be used in case you get locked out. The below tutorial shows you how to reset Windows 10 password without logging in:


Once, I forgot Windows 10 password and it felt like the end of the world. I tried all possible passwords but none of them worked, and I became more and more anxious. However, I suddenly remembered that a friend once told me about a way to reset Windows 10 password using the command prompt. I didn't pay much attention to it at the time because it seemed too complicated, but now it has become a lifesaver.


So, I decided to give this method a try. First, I needed a Windows installation disk or a bootable USB drive. Fortunately, I had an old Windows installation disk at home, so I immediately found it, inserted it into the computer, and restarted to enter the installation interface.


Step 5. Open the Command Prompt: At the login screen, click the "Accessibility" icon (usually a small circle icon) in the lower right corner. Now, the Command Prompt should open instead of Accessibility.


Although this method sounds a bit complicated, it is actually quite smooth to follow the steps. After the operation, I successfully logged in to the computer with the new password, and the big stone in my heart finally fell. I really recommend that if you are also locked out, you can try this method, but you must be careful in operation, after all, it involves modifying system files.


I am facing an issue while using the gcloud compute reset-windows-password command in Google Cloud. When I try to execute the following command with my main account, everything works as expected:


I've already verify both the connection and the system time and everything appears to be correct. At this point, I'm starting to suspect that the issue might be related to a lack of permissions associated with the service account. However, I'm unsure how to address this or troubleshoot further. Are there specific permissions or configurations required for a service account to successfully execute the reset-windows-password command?


You seem to be on the right path in resetting the password for instance2, to dig deeper you may need to check other factors like firewalls that may be blocking the communication between the Google Cloud Services and the VM. If possible you can try to do a restart and try again to check if the issue persists. I attached some helpful links for your use case.[1][2]


If you (or someone you know) ever forget your Windows password, you'll be glad to know about chntpw, a neat Linux utility that you can use to reset a Windows password. For this how-to, I created a Windows virtual machine and set the password to pass123 on my user account, Archit-PC. I also created a Live USB with Fedora 27 using the Fedora Media Writer application.


Spotted a small glitch. Looks like the screenshot that supposed to illustrate the execution of a mounting command, sudo mount /dev/sda2 /mnt/Microsoft/, is wrong. For me it shows the result of the execution of a chntpw command, sudo chntpw -i SAM.


This only works if your Windows drive is not encrypted. If you have encrypted it using the storage option of Windows, you won't even be able to mount the volume correctly and edit its content from an external tool to clear the password stored in the SAM registry file, you first need the password.

It may also not work if the encryption password comes from the TPE module which won't allow you to boot from the external drive which was not first allowed to run as it was not signed.

But anyway it's good to signal users that their Windwos password is not a real protection for their data, and that it can be easily cleared in most cases: suppose your PC is stolen (or seized by the police/justice...), they know what they can do easily to enter your drive and get access to all the contents.

Also clearing a password this way may invalidate all access tokens that allow you to use some remote sites or storage that will need a new authorization, because the SAM database will no longer have the necessary access tokens.Your PC will then be "disconnected" from a secure corporate domain and you'll need to contact the domain admin to reauthorize your PC (and fbefore they accept to reconnect you they'll want to inspect your PC, and may force you to resintall it completely).

So don't do that to bypass the protections that have been set in a corporate domain against such personal use of a PC you don't really own and have no right to adminsiter yourself.


Opensource.com aspires to publish all content under a Creative Commons license but may not be able to do so in all cases. You are responsible for ensuring that you have the necessary permission to reuse any work on this site. Red Hat and the Red Hat logo are trademarks of Red Hat, Inc., registered in the United States and other countries.


Self-service password reset (SSPR) gives users in Microsoft Entra ID the ability to change or reset their password, with no administrator or help desk involvement. Typically, users open a web browser on another device to access the SSPR portal. To improve the experience on computers that run Windows 7, 8, 8.1, 10, and 11 you can enable users to reset their password at the Windows sign-in screen.

3a8082e126
Reply all
Reply to author
Forward
0 new messages