Modelworks
Lifer
"GPT help" lists:
required
no drive letter
hidden
shadow copy
and read only
The first one is the only one I would try, but what's the point? How is setting the attributes supposed to repair the GPT? The problem is there is no volume, so I can't even give this command. I am required to "select a volume" first anyway.
If there are no volumes when you use select disk, then detail disk , the GPT header is gone. You can restore it from the last sector of the drive using a hex editor. If that copy is gone then you will need to use DISKPART to create the volumes again. Creating the volume will not destroy the data, it just adds an entry in the table. Make them the exact same size they were before. Then use GPT and UNIQUEID command to put the correct ID for each partition back into the table. You have to tell DISKPART what each partition is for because it has no way of knowing without the headers , so if it is an EFI partition you have to tell DISKPART that and it will set in the headers.
Last edited: