Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 10 » How To Change The Active Partition On Unbootable PC

How To Change The Active Partition On Unbootable PC

Last Updated on June 9, 2016 by admin 10 Comments

A couple of days ago, when I connected one of my external hard drives to my Windows 10/8.1 machine, the USB drive didn’t show up in My Computer or This PC. After reconnecting the drive, I noticed that the drive was not having a drive letter.

While assigning a drive letter to the external hard drive, I accidentally clicked on the next option labelled Mark partition as active instead of clicking the Change drive letter and paths option.

After realizing that I have set an external drive as active, I decided to change the same before shutting down the PC at the end of the day but I somehow forget to set the drive containing Windows as active and ended up with Operating system not found error the next day when I turned on my desktop.

change active partiton from command prompt picture01

Even though I could have easily changed the active boot partition with the help of live CD/DVDs and I didn’t have much time and hence, decided to use my ready-to-use bootable USB to set Windows drive as active partition.

If you’re also in the same situation and want to set the drive containing Windows as the active on an unbootable PC, please follow the given below instructions. Note that you must have either bootable DVD of Windows or bootable USB of Windows in order to follow the instructions in this guide.

Warning: Changing the active partition should be done only if you know what you’re doing. You must know the drive containing the Windows installation files in order to follow the instructions in this guide.

This method works great on both Windows 10 as well as Windows 8.

Change the active partition without booting into Windows

Step 1: Connect your Windows bootable USB to the PC or insert the Windows DVD into the optical drive and boot from the bootable media. As you likely know, you need to change the boot order under BIOS/UEFI in order to boot from a bootable media.

If you’re unable to boot from the bootable USB, please go through our Fix: Can’t boot from bootable USB guide.

Step 2: Boot from the bootable media. In a couple of seconds, you’ll see the following screen:

Step 3: Once you see the above screen, simultaneously press Shift + F10 keys to open Command Prompt.

change active partiton from command prompt

Step 4: In the Command Prompt window, execute the following commands:

Diskpart

List disk

Select disk X (if you have multiple disks, be sure to select the correct one)

(In the above command, replace X with the drive number)

Select disk X

List partition

Select partition X

(Replace X with the partition number of your Windows drive)

Active

Exit

change active partiton from command prompt picture1

Step 5: Restart your PC. You PC should start normally without any errors now. Good luck!

How to backup data from unbootable PC guide might also interest you.

Filed Under: Windows 10 Tagged: Tips

Related Posts

  • How To Change The Bluetooth Name Of Windows 10 PC
  • How To Change Windows 10 Computer Name
  • How To Change Your Computer Name In Windows 10
  • Use Ubuntu Live USB To Back Up Data From Unbootable Windows 10 PC
  • Change Start Menu Button In Windows 7
  • How To Change Computer Icon in Windows 7

Comments

  1. Adam says

    February 1, 2023 at 1:09 am

    Only solution that worked for me! Absolutely amazing. Thank you!

  2. Mohamed says

    November 21, 2022 at 3:09 pm

    very helpful thank you

  3. Chabor Lewis Ofovwe says

    January 18, 2022 at 8:21 pm

    Life saving tip! Thank you!

  4. Adeniji Adeleye says

    December 8, 2021 at 11:07 pm

    This is 2021 and it really helped me. Thank you, really ??

  5. David says

    January 14, 2021 at 11:40 pm

    Thanks! This is great!

  6. admin says

    December 3, 2020 at 1:49 pm

    Thank you, Wilson for the love:)

  7. Wilson says

    November 30, 2020 at 12:38 am

    I love you whoever you are.

  8. Priidu says

    July 25, 2019 at 9:45 pm

    This saved my day. Thank you!

  9. RobBob says

    July 17, 2017 at 6:35 am

    Why could I have not found these instructions 6 hours ago when I started? Instructions were easy to follow and problem was fixed in less than 10 minutes.

  10. Rajkumar B says

    August 6, 2016 at 8:03 pm

    This is very helpful. Thank u so much

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows