![]() |
The term hacking is usually used for finding security faults in a System or network. To hack something also means getting unauthorized access to data in a system. To hack password protected computer using Windows Command Prompt is not a feasible technique. However, In this article, we will see how we can use CMD and get into a password protected Computer. Using Administrative PrivilegesStep 1: Log into the ComputerTurn on the computer and use the administrative username and password to log in. To check if you as a user have administrative privileges or not, go to Control Panel and then click on User Accounts. Step 2: Open Command Prompt (CMD)Search for CMD in Windows search and select Command Prompt. Click on Run as administrator. This will open CMD for us to use in Admin mode. Step 3: Configure ChangesNow either you can change the password for current user and log into it using the new password next time you login. Otherwise create a new user in the computer to have a access.
net user
Output:
net user [username] *
Give your new password and confirm it. Then press Enter. Output:
net user [username] [password] /add
Output: Step 4: Check ChangesOnce you have completed the above steps, You can again go to Control Panel and check the user accounts. You can see that two user accounts are there including the one we have just created. You will also get the option to change between these accounts on the lock screen. Without Administrative PrivilegesStep 1: Advance StartupWe need to use advance startup to modify system configuration. To open advance startup without Log in, either you can use the installation media or just Force shutdown the computer using power key. Repeat the force shutdown for 3-4 times or until the advance startup menu appears similar to the following, Step 2: Open CMDNow to open Command Prompt here, click on Troubleshoot to open the Advance Options. In Advance Option menu select Command Prompt. Step 3: Configure DirectoryTo make any changes first of all you need to be in the system32 directory of windows system. To do so, run the following command in CMD. cd /
cd Windows/System32
Output: Step 4: Rename Windows Ease of AccessNow using CMD we will rename the Ease of Access application which is available on Lock screen. We will change CMD‘s name to get access to Command Prompt on the Lock screen.
ren utilman.exe utilman1.exe
ren cmd.exe utilman.exe
Output: Now Type exit to get back to the Advance Options menu and click on Continue to restart the computer. Step 5: Use CMD in Lock screenOnce the Computer restart, stay on the Log in screen and click on Ease of Access button on the lock screen as shown in the picture below. As we have renamed the executable files, this will open CMD instead. For some reasons if you can’t see CMD even after pressing this button, Click ALT + TAB and CMD will appear if it is behind the lock screen. Step 6: Change PasswordNow on Command Prompt, run the following command to to check users available on the Computer net users
Output: Now execute the following Command to change password for the user. Enter the new password and re enter to confirm when asked. net user [username] *
Output: Now restart the computer and Log in with the new password and you will get access to the Computer. Thus, you have successfully hacked into a password protected computer using cmd. Step 7: Again Re-name the programsNow once you have access to the computer, it’s time to change the program names to it’s original names. Use the steps given in previous section to open CMD in Advance startup. Then change the directory to System32 as done earlier. Run the following command to restore the original names. ren utilman.exe cmd.exe
ren utilman1.exe utilman.exe
Output: ConclusionCMD is a utility tool for Windows operating system and used to communicate with the Operating system. CMD is not a hacking interface to use for password breaking or get into a password protected computer. However using some tricks we have used CMD here to get into a password protected Computer without password. You can use this method for unlock your Windows device in case you have forgotten your password and don’t want to lose data. To learn more about hacking, check out Ethical Hacking Tutorial on GeeksForGeeks. How to Hack password protected Computer using CMD – FAQsIs it possible to access a password protected computer without the password ?
Can I hack computers using CMD ?
How to unlock Computer using CMD if I forget the password ?
How to prevent unauthorized access to my computer ?
|
Reffered: https://www.geeksforgeeks.org
TechTips |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 14 |