Location:
State:
Carrier
Country
Status

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

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

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

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

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

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.

It will not delete the partition.

removeremoves any assigned drive letter, assign letter=xassigns 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).

It will not delete the partition.

removeremoves any assigned drive letter, assign letter=xassigns 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.

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

You are most welcome.

Hide an gpt partition