To undo that command, please run the command below on that volume:
gpt attributes=0x0000000000000000
Ensure you run this command after selecting that particular volume/partition in Diskpart.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I was trying to follow the instructions on a possible fix for update KB5028997 not working but when following the instructions found at https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf I accidently ran "gpt attributes =0x8000000000000001" on the primary partition on the drive. Thankfully I was in the wrong drive on accident but now I can not do anything with the drive in disk management with the partition. I want to add the disk space back to the partition I removed but with the only option when I right click the partition in disk management being "Help" which links me to a bing search of "windows 10 disk management" I am at a loss. This is a fairly large partition with more space used then I have free on any other drive so moving the data and then formatting the drive at this point would prove to be a large headache. Idk what "gpt attributes =0x8000000000000001" did to the drive but is there any way to undo this?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
To undo that command, please run the command below on that volume:
gpt attributes=0x0000000000000000
Ensure you run this command after selecting that particular volume/partition in Diskpart.