Hide an gpt partition


  1. Posts : 10
    Windows 10
       #1

    Hide an gpt partition


    Hi,
    i need to hide my recovery partition but i'm using gpt.
    does anyone know how to hide?
    the Set id only work in mbr mode
    thanks
      My Computer


  2. Posts : 15,479
    Windows10
       #2

    Are you saying your recovery partition has been assigned a drive letter.

    If so, you could just try removing drive letter in disk management?
      My Computer


  3. Posts : 10
    Windows 10
    Thread Starter
       #3

    cereberus said:
    Are you saying your recovery partition has been assigned a drive letter.

    If so, you could just try removing drive letter in disk management?
    Thanks for replying.
    I'm using winpe to deploy my computers but i need to hide my recovery partition to not be seen in Windows.
    I know how to remove drive letter in Windows using diskpart, but i need to hide in winpe after applying the image.
    Thanks
      My Computer


  4. Posts : 5,478
    2004
       #4

    Assuming your recovery partition is 1, using diskpart
    Code:
    select disk 0
    select partition 1
    remove
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001
    Deploy Windows RE
      My Computer


  5. Posts : 10
    Windows 10
    Thread Starter
       #5

    lx07 said:
    Assuming your recovery partition is 1, using diskpart
    Code:
    select disk 0
    select partition 1
    remove
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001
    Deploy Windows RE
    Thank you i will try it out.
    But remove option will not delete the partition?
    And how can i show it again to make a backup.
    Thank you once again.
      My Computer


  6. Posts : 5,478
    2004
       #6

    It will not delete the partition.

    remove removes any assigned drive letter, assign letter=x assigns drive letter x to the currently selected partition.

    You don't normally need to assign a drive letter to make a backup though (depending how you are doing it).
      My Computer


  7. Posts : 10
    Windows 10
    Thread Starter
       #7

    lx07 said:
    It will not delete the partition.

    remove removes any assigned drive letter, assign letter=x assigns drive letter x to the currently selected partition.

    You don't normally need to assign a drive letter to make a backup though (depending how you are doing it).
    I'm using dism to backup and restore.
      My Computer


  8. Posts : 10
    Windows 10
    Thread Starter
       #8

    lx07 said:
    Assuming your recovery partition is 1, using diskpart
    Code:
    select disk 0
    select partition 1
    remove
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001
    Deploy Windows RE
    I just want to thank you.
    the gpt attributes=0x8000000000000001 works flawless.
    Thanks
      My Computer


  9. Posts : 5,478
    2004
       #9

    You are most welcome.
      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 14:05.
Find Us




Windows 10 Forums