How to Add ADB to Path in Windows 11

0
Share

How to Add ADB to Path in Windows 11

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned.

STEP 1: Install Android SDK

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Enable USB Debugging

Next up, you will have to enable USB Debugging so that your device is recognizable by the PC in ADB mode. This will then also allow you to boot your device to Fastboot Mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.

STEP 3: Add ADB to System Variables Path in Windows 11

  1. To begin with, launch File Explorer via Windows+E shortcut keys and head over to the platform-tools folder. Then copy its location from the address bar.
  2. Next up, head over to the Start menu, search View Advanced System Settings, and open it.
  3. You shall now be taken to the Advanced tab of System Properties.
  4. Click on the Environmental Variables button situated at the bottom right
  5. Now select the Path field under System Variable and click on the Edit button.
  6. After that, click on the New button and paste the platform-tools folder location (that you had earlier copied) in the space provided.
  7. Then click OK to save this path. Again click OK to close Environmental Variable and finally click OK to close System Properties.
  8. That’s it. Now restart your PC (optional but recommended) and your tasks stand complete.

STEP 4: Test the ADB Path

Now that you have successfully added ADB to System Variables Path on your Windows 11 PC, it’s time to put it to the test! First off, we will test the ADB connection followed by the Fastboot Connection. Follow along.

  1. To begin with, connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.

Now type in the following command in the CMD window to verify the ADB Connection.

adb devices
  1. You should now get the device ID indicating that the connection has been successfully established
  2. After that, type in the below command to boot your device to Fastboot Modeadb reboot bootloader
adb reboot bootloader

Now let’s verify the Fastboot connection. So type in the below command and hit Enter

fastboot devices

You should get your device ID. This signifies that the Fastboot connection has been successfully established.

[su_button url=”https://t.me/getdroidroms” target=”blank” style=”flat” background=”#0064c9″ size=”7″]Join us on telegram[/su_button]