Accessing windows 10 when you've forgotten your password

Published on
3,509 Points
1 Endorsement
Last Modified:
This article describes how to reset your Windows 10 password when you've forgotten it.
1. Insert the installation CD\DVD into your PC and Reboot your PC from the device.
2. After your PC Boots, click "Next".
3. On the Install screen, click "Repair your computer".
4. Choose advanced option and then choose "Command prompt".
5. Now you can recover your Windows 10 password by with entering the following commands:
A. Type: copy c:\windows\system32\sethc.exe c:\f B. Type: copy /y c:\windows\system32\cmd.exe   c:\windows\system32\sethc.exeC. Exit installation CD, and reboot your PC.
B. When the Windows 10 login screen appears, press Shift 5 times. The Command Prompt window will appear.
C. Type net user [name] [password] and you should be able to login with the new user and password.
D. Optionally you can activate the hidden administrator account like this 
net user administrator mypassword
net user administrator /active:yes
reboot the computer
6. Reboot the computer and you should be able to access the machine via the local admin account. You will not be to login to the original user account unless you used other means not discussed here, but you should be able to copy the files that you need to the new user account.

Note that the user account created through CMD.exe will NOT have admin privilege so from the admin account you activated earlier login and grant admin through the account users if so desired. You can disable the administrator account once you're finished like this net user administrator /active:no
Author:Natty Greg
LVL 14

Author Comment

by:Natty Greg
Hi Martin, 4 answers 5a its all in one with the changes I'm good so you can published
LVL 36

Expert Comment

This method is usable on any client based Windows Operating system version 5.1 (Windows XP) or greater.

And so long as it is not a domain controller, this method is also usable on any server based Windows Operating system version 5.2 (Server 2003) or greater.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month