Change or Remove Windows Password
Changing windows password can come in handy when you lose or forgot your current password to log into your PC
To start, we’ll need to know a file called “sethc.exe” which exists in the c:\windows\system32\sethc.exe. It is the setup file to open the Windows Sticky Key program.
Furthermore, the sticky key can be activated when you press the Shift key 5 times.
Also, the cmd.exe file which is used to open the Command prompt program exists in the c:\windows\system32\cmd.exe
There for we’ll need to copy the content of the cmd.exe into the sethc.exe (Note: the name of the file will still remain sethc.exe)
Also, you should know the username of the password you want to change or remove.
Then we are good to go:
Copying the Command Prompt(cmd.exe) into Sticky Key (sethc.exe)
Get a windows bootable media. See how to make one
Step 1 – Boot into your windows installation media, from the Start Installation
Step 2 – The command prompt pop up. Type Diskpart (To help us detect the drive C)
Step 3 – Type list volumes
Step 4 – Identify the volume without a label name, that is your drive C: where windows is installed (Anyway, mine is C:)
Step 5 – type quit, and change drive to c: (Type c:)
Step 6 – (To know the user account, type cd Users)
Step 7 – Type dir, (this will show you the list of active user accounts on the PC)
Step 8 – Type cd C:\
Step 9 – Type Cd c:\windows\sytem32\
Step 10 – Type copy sethc.exe c:\ (Note to back up the Sticky key setup)
Step 11 – Type copy cmd.exe sethc.exe (press y to confirm the overwrite)
Step 12 – Restart your PC
Step 13 – Load windows to the log on screen and tap Shift key 5 times (The cmd will pop up)
Step 14 – Type “net user username newpassword” (Now use the new password to log on)
E.g net user ben password@1 (Here the “password@1” will be the new password for the user ben
You are done.
How to Prevent your PC from being attacked this way?
Log on to windows 10 with your Microsoft Mail Account and you are save.
Related posts
Subscribe for newsletter
* You will receive the latest news and updates on your favorite topics!
How to Downgrade Flutter Version – FIXED
Learn how to downgrade your flutter version to a lower version, in this article we will reduce the flutter version…
Generate Resources for Android Playstore & iOS Apple Store Flutter
In this post, we’ll generate resources for the flutter app we created in the previous post. we’ll be learning how…
Build a Quiz App using Flutter for Android and iOS
In this post we’ll be working with Flutter, a fast-rising Developer tool built by Google to develop an Android App,…
Setup Flutter on Kali, Ubuntu, and any other Linux Distro
In this post, we’ll be learning how to set up your Flutter on Linux for development. Flutter is a fast-rising…
FIXED xcodebuild: Failed to load code for plug-in – Repeatedly Being Asked to Install Command Line Tools
Hey there, updating your MacOS Montery Xcode can be a pin in the a$$ especially when you got Xcode working…
How to Downgrade Flutter Version – FIXED
Learn how to downgrade your flutter version to a lower version, in this article we will reduce the flutter version…
Build a Quiz App using Flutter for Android and iOS
In this post we’ll be working with Flutter, a fast-rising Developer tool built by Google to develop an Android App,…
Setup Flutter on Kali, Ubuntu, and any other Linux Distro
In this post, we’ll be learning how to set up your Flutter on Linux for development. Flutter is a fast-rising…