Can't unhide a partition

Page 4 of 7 FirstFirst ... 23456 ... LastLast

  1. Posts : 324
    Win 10
    Thread Starter
       #31

    Thanks Pentagon. I don't understand what you mean by - only if not !
    I opened Powershell admin and here's what it said

    Windows PowerShell
    Copyright (C) Microsoft Corporation. All rights reserved.

    Try the new cross-platform PowerShell https://aka.ms/pscore6

    PS C:\WINDOWS\system32> diskpart

    Microsoft DiskPart version 10.0.19041.3636

    Copyright (C) Microsoft Corporation.
    On computer: Q9450

    DISKPART> list

    Microsoft DiskPart version 10.0.19041.3636

    DISK - Display a list of disks. For example, LIST DISK.
    PARTITION - Display a list of partitions on the selected disk.
    For example, LIST PARTITION.
    VOLUME - Display a list of volumes. For example, LIST VOLUME.
    VDISK - Displays a list of virtual disks.

    DISKPART> list disk

    Disk ### Status Size Free Dyn Gpt
    -------- ------------- ------- ------- --- ---
    Disk 0 Online 372 GB 1024 KB
    Disk 1 Online 931 GB 0 B

    DISKPART> sel disk 1

    Disk 1 is now the selected disk.

    DISKPART> sel par 3

    Partition 3 is now the selected partition.

    DISKPART> det par

    Partition 3
    Type : 07
    Hidden: No
    Active: No
    Offset in Bytes: 88524980224

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    * Volume 6 F DATA WD 1T NTFS Partition 849 GB Healthy Hidden

    DISKPART> set id=07 override

    DiskPart successfully set the partition ID.

    DISKPART> assign letter=F

    Virtual Disk Service error:
    The specified drive letter is not free to be assigned.


    DISKPART>
      My Computers


  2. Posts : 865
    WIN 10 19045.4412
       #32

    According your screenshot
    disk 1, partition 3 is the problematic one. Is that right?

    You found
    Partition 3
    Type : 07
    Hidden: No
    if not means if you had found
    Partition 3
    Type : 27 for example that is not 07
    Hidden: No
      My Computer


  3. Posts : 324
    Win 10
    Thread Starter
       #33

    Pentagon said:
    According your screenshot
    disk 1, partition 3 is the problematic one. Is that right?
    yes. I assume the first partition is called partition 0. In powershell it described partition 3 perfectly as my large data partition. What's next?
      My Computers


  4. Posts : 865
    WIN 10 19045.4412
       #34

    GerryPeters said:
    yes. I assume the first partition is called partition 0. In powershell it described partition 3 perfectly as my large data partition. What's next?
    No, that's wrong
    the first disk is disk 0
    the first partition is always 1
      My Computer


  5. Posts : 6,393
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #35

    Leave the 1T drive where it is now

    To create a MBR partitions on drive 1

    Open a CMD window as administrator and type:

    diskpart
    select disk 1
    clean (this will erase all partitions)
    convert mbr
    create part primary size=100 (to create System partition)
    select part 1
    format fs=ntfs quick label=System
    assign letter=S
    active

    create part primary size= 75000 (to create C: partition)
    select part 2
    format fs=ntfs quick label=Windows
    assign letter=C

    create part primary size=1000 id=27 (to create Recovery partition)
    select part 3
    format fs=ntfs quick label=Recovery
    assign letter=R

    create part primary (to create Data partition)
    select part 4
    format fs=ntfs quick label=Data
    assign letter=D
    Exit (to exit diskpart)
    Exit (to exit CMD)

    Now you should have 4 partitions
    - System partition - NTFS - 100M
    - C: partition - NTFS - 75G
    - Recovery - partition - NTFS -1G
    - Data Partition - NTFS - the remaining drive space.

    Once you launch Macrium, select the source and on the target, delete the C: partition and then drag and drop your C partition from source to empty space (between System and Recovery partition) on the target drive.
      My Computers


  6. Posts : 865
    WIN 10 19045.4412
       #36

    This is the original Microsoft Script to prepare the disk.
    copy the file to C:\

    disk1.txt

    run cmd command
    C:\Windows\System32>DiskPart /s C:\disk1.txt


    after 5 seconds the disk is ready (C:) will be 75 GB

    See the result in Diskmanagement

    That's the professional way!
      My Computer


  7. Posts : 6,393
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #37

    Pentagon said:
    This is the original Microsoft Script to prepare the disk.
    copy the file to C:\

    disk1.txt

    run cmd command
    C:\Windows\System32>DiskPart /s C:\disk1.txt


    after 5 seconds the disk is ready (C:) will be 75 GB

    See the result in Diskmanagement

    That's the professional way!
    Good job. You automated the instructions I posted above. You only didn't give the last partition (Data) the label.
      My Computers


  8. Posts : 865
    WIN 10 19045.4412
       #38

    I use this script for years now and Microsoft doesn't use your instructions!
      My Computer


  9. Posts : 324
    Win 10
    Thread Starter
       #39

    Pentagon said:
    No, that's wrong
    the first disk is disk 0
    the first partition is always 1
    I'm using Powershell, not sure if that's different terminology than CMD. BUt I tried calling it part 4 and it gave info for EX Part.

    DISKPART> sel par 4

    Partition 4 is now the selected partition.

    DISKPART> det par

    Partition 4
    Type : 07
    Hidden: No
    Active: No
    Offset in Bytes: 79553363968

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    * Volume 5 EX PART NTFS Partition 8 GB Healthy Hidden

    DISKPART>
    Attached Thumbnails Attached Thumbnails Can't unhide a partition-disk-man.png  
      My Computers


  10. Posts : 865
    WIN 10 19045.4412
       #40

    And why don't you use cmd?

    I changed the drive letter to k

    diskpart
    sel disk 1
    sel par 3
    det par



    In det par output

    type = 07 ?
    only if not 07 !
    set id=07 override

    otherwise:
    assign letter=K
    exit


    reboot and see what happens.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:25.
Find Us




Windows 10 Forums