Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Partition - Mark as Inactive



Partition - Mark as Inactive

How to Mark a Partition as Inactive in Windows 7 and Vista
Published by Brink
14 Nov 2011
Default Partition - Mark as Inactive

How to Mark a Partition as Inactive in Windows 7 and Vista


information   Information
Marking a partition as active on a basic disk means that the computer will use the loader (an operating system tool) on that partition to start the operating system. Marking a partition as active if it doesn't contain the loader for an operating system may cause your computer to become unbootable.

This tutorial will show you how to mark a partition as inactive in Windows 7 and Vista in case you marked it as active by mistake.

Tip   Tip
If you mark the wrong active partition as inactive by mistake and can no longer boot from it, then you can do a startup repair to fix it.


EXAMPLE: Partition Marked as Active and Inactive
NOTE: This is an example of my D: data partition shown as active by mistake in Disk Management (diskmgmt.msc). I used the steps in this tutorial to mark it as inactive since my System Reserved partition is my true active partition instead.
Partition - Mark as Inactive-active.jpg

Partition - Mark as Inactive-inactive.jpg


Here's How:
1. Open a elevated command prompt, or a command prompt at boot.

2. In the command prompt, type diskpart and press Enter. (see screenshot below step 6)

3. In the command prompt, type list volume and press Enter. (see screenshot below step 6)
NOTE: Make note of the volume number or letter that you wanted to mark as inactive. At boot, the drive letters may not be the same as they are in Windows.

4. In the command prompt, type select volume # or select volume letter and press Enter. (see screenshot below step 6)
NOTE: You would substitute # for the volume number listed, or letter for the volume/partition letter. For example, I want to mark my D: partition as inactive, so I would type either select volume 2 or select volume D and press Enter.

5. In the command prompt, type inactive and press Enter. (see screenshot below step 6)

6. In the command prompt, type exit and press Enter. (see screenshot below)
Name:  CMD.jpg
Views: 20255
Size:  90.2 KB
7. Close the elevated command prompt in Windows, or restart the computer if at boot.

That's it,
Shawn





Published by
14 Nov 2011   #1
theog

Microsoft Community Contributor Award Recipient

ME/XP/Vista/Win7
 
 

Nice one, Shawn.


My System SpecsSystem Spec
14 Nov 2011   #2
StalkeR

Windows 7 Ultimate SP1 x64
 
 

Excellent tutorial Brink !
My System SpecsSystem Spec
14 Nov 2011   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you guys.
My System SpecsSystem Spec
.


19 Aug 2012   #4
Lopy

California
 
 

I can't seem to figure this out like you guys.


I'm trying to mark O as inactive. This is my removable usb hard drive.
My System SpecsSystem Spec
19 Aug 2012   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Lopy, and welcome to Seven Forums.

See if using the command below at step 4 may work instead.

select volume 7

Hope this helps,
Shawn
My System SpecsSystem Spec
19 Aug 2012   #6
Lopy

California
 
 

Thanks.
This is the result I get. It doesnt seem to work

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 E DVD-ROM 0 B No Media
Volume 1 C HP NTFS Partition 583 GB Healthy System
Volume 2 D FACTORY_IMA NTFS Partition 13 GB Healthy
Volume 3 G Removable 0 B No Media
Volume 4 H Removable 0 B No Media
Volume 5 I Removable 0 B No Media
Volume 6 J Removable 0 B No Media
Volume 7 O FAT32 Partition 466 GB Healthy

DISKPART> select volume 7

Volume 7 is the selected volume.

DISKPART> inactive

There is no partition selected.
Please select a partition and try again.

DISKPART>
My System SpecsSystem Spec
19 Aug 2012   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Could you post back with a screenshot of your Disk Management (diskmgmt.msc) showing all of your HDDs' full layout?

Do you have anything on the HDD that you need to keep? If so, do you have space on another HDD to move it to temporarily?
My System SpecsSystem Spec
19 Aug 2012   #8
Lopy

California
 
 

Yes, I can back it up to my main hdd.

My System SpecsSystem Spec
19 Aug 2012   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Ok, good.

After backing up the contents of O, you could run the clean (not "clean all") command on the O drive to wipe it out and leave the HDD as "unallocated space". Afterwards, you can just format it again without it being "active", and copy the data back to it.

Disk - Clean and Clean All with Diskpart Command
My System SpecsSystem Spec
Comment

 Partition - Mark as Inactive




Tutorial Tools



Similar help and support threads for2: Partition - Mark as Inactive
Windows 7 Tutorial Category
System does not boots "Mark Partition as Active" General Discussion
Partition - Mark as Active Tutorials
USB 3 ports inactive? Hardware & Devices
System does not boot "Mark Partition as Active" . General Discussion
Solved USB ports inactive? Hardware & Devices
Can't mark OS partition as Active Installation & Setup
How can i create a new partition to mark it as active ? Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:53 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33