How To Unlock Phone Password Using CMD (Command Prompt)

Steps To Unlock Phone Password Using Command Prompt

Have you ever forget the phone password of your phone’s lock screen? Do you want to unlock it using CMD? But you don’t know how to do this. Don’t Panic! You can easily remove the phone password and easily access your phone and enjoy all its features and data. Here, I will show you the steps to unlock phone password using CMD (command prompt).

Also Read: How To Remove or Bypass LG Screen Locks – [PIN, Pattern, Password Or Fingerprint]

Steps To Unlock Phone Password Using CMD (Command Prompt)

Note: The steps will only work if the USB debugging is enabled before your Android phone gets locked.

Step 1: Download and run Android SDK tool.

Step 2: Check Android SDK platform tool in package and then hit on Install Packages.

Step 3: With the help of USB cable connect your locked phone with your PC.

Step 4: Now, open Android SDK folder from where you have just installed it and then open Platform-Tools.

Step 5: After that right-click on black space and choose Open command windows here. Now, it will show the command and then execute commands.

Step 6: Enter adb devices and click Enter to check the connected Android phone.

Step 7: Now, you need to put the following commands:




adb shell rm /data/system/gesture.key

Step 8: Once this process gets over, restart your phone.

When your smartphone restarted, your phone passcode will be disabled. It also doesn’t erase data from your Android phone.

Also Read: How Do I Enable USB Debugging On Locked Android?

Related Frequently Asked Questions (FAQs)

Question 1 – How To Get Wi-Fi Password Using CMD?

Answer – To get Wi-Fi password using CMD (command prompt) you need to follow the below steps.

Step 1: To open command prompt you need to open Run (Windows + R) and by entering CMD. Then press Enter. (You can also use Search box and enter CMD. Then right-click on Command Prompt and choose Run As Administrator.)

Step 2: Now, enter command – NETSH WLAN SHOW PROFILE and press Enter.

Step 3: Now, list WLAN profiles that have been saved on your PC will be displayed. Note down the network name that you like to explore.

Step 4: Enter command – NETSH WLAN SHOW PROFILE WIFI KEY=CLEAR and change Wi-Fi with the network name.

Step 5: Once the above steps complete successfully, it will bring up WLAN profile of the network that you wish to connect to. Scroll down to get the password under Key Content.

Answer Reference Is Taken From Here – Find the WiFi Password in Windows 10 Using CMD

Question 2 – How To Find Administrator Password On Windows 10 Using Command Prompt?

Answer – You can’t display the Windows Administrator account password on CMD. It can only be displayed once the password gets smashed to a new one. Moreover, displaying the password, it can find and show you vast detail about Administrator account and also other accounts that have installed on the Windows.

Here, follow the steps to find administrator password on windows 10 using command prompt.

Step 1: On your PC, click on Search bar and enter CMD and run it as Administrator.

Step 2: Now, enter command – net user to show the Administrator account using CMD and hit on Enter.

Step 3: After a second you will see the list of all accounts.

Also Read: Network Locked SIM Card Inserted: Here What To Do!

Wrap Up

Every user locks their smartphone so that no one can access their personal data from their smartphone. But many times users forget the password as many users change the password from time to time and unable to remember the correct password or sometimes get confused about what the correct password is. But following the above-mentioned steps, you can unlock phone password using CMD (command prompt).

Please support us by subscribing to our YouTube Channel.