π’1. How to Reset Password in Windows 11 WITHOUT Bootable Pendrive (CMD Method)
If you forgot your Windows 11 password but donβt have any bootable pendrive or installation media, you can still reset it using Windows Recovery Environment + CMD.
This trick uses the Sticky Keys CMD method, and it works on any Windows 11 PC.
π§ Step-by-Step Method
Step 1: Enter Windows Recovery Mode (No USB Needed)
Force your PC into recovery:
Turn ON your PC
As Windows loads β Hold the Power button to force shutdown
Repeat 3 times
You will now see:
Preparing Automatic Repair β Advanced Options
Step 2: Open Command Prompt
Navigate:
Troubleshoot β Advanced Options β Command Prompt
Step 3: Replace Sticky Keys with CMD
In the CMD window, type:
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe
Press Y to confirm overwrite.
Step 4: Restart the PC
Boot normally to the Login Screen.
Step 5: Press SHIFT Key 5 Times
This will open CMD with full system access.
Step 6: Reset the Forgotten Password
Use:
net user username newpassword
Example:
net user Ashraf 112233
Your password is reset instantly. Login normally.
β Optional: Restore Sticky Keys Later
After login:
copy c:\windows\system32\sethc_original.exe c:\windows\system32\sethc.exe
Β
π’ 2. How to Add a New User in Windows 11 Using CMD
If you want to create a completely new user, use Command Prompt:
β Create a new local user:
net user username password /add
Example:
net user Student1 12345 /add
This creates a new standard user account.
π’ 3. How to Give Admin Privileges to Any User in CMD
After adding the user, assign Administrator rights:
net localgroup Administrators username /add
Example:
net localgroup Administrators Student1 /add
Now the user has full system access.
Β
π’ 4. How to Reset Any User Password in CMD (Inside Windows)
If you are already logged in with any admin account, this is the simplest method.
β Open CMD as Administrator
Then type:
net user username newpassword
Example:
net user Nosu 887766
Password resets instantly.
π’ 5. Reset Windows 11 Password Using Another Admin Account
If your PC has multiple users:
Log in using a different admin account
Open CMD as admin
Run:
net user mainusername newpassword
This resets the main account password immediately.
β Important Notes & Warnings
These methods work only on local accounts, not Microsoft online accounts.
For Microsoft account password reset:
https://account.live.com/password/resetSticky Keys method is allowed only on devices you own.
Always restore Sticky Keys for accessibility users.
π’ Frequently Asked Questions (FAQ)
Q1. Can I reset Windows 11 password without USB or installation media?
Yes. Using the Windows Recovery Environment + Sticky Keys CMD method, you can reset your password without any external tools.
Q2. Will this method delete my files?
No. This method only resets the password, it does not touch your data.
Q3. Does it work on Windows 10 also?
Yes. The same commands and method work on Windows 10, 8.1, and 7.
Q4. Can I reset Microsoft Account password using CMD?
No. Microsoft accounts require online reset at the Microsoft password recovery website.
Q5. Is CMD safe for password reset?
Yes, if you use it responsibly and on your own device.
π’ Conclusion
Resetting your Windows 11 password without a bootable pendrive is 100% possible using CMD. Whether you want to:
β Reset forgotten password
β Add a new user
β Give admin privileges
β Access CMD from login screen