Most of the computers preloaded with WIN8 are now in the new version of the UEFI firmware + GPT format disk, no longer like the previous BIOS + MBR. The benefits of using UEFI and GPT are many, such as enabling more new features such as secure booting, and support for more hard disk partitions and larger partition capacity.
Branded notebooks such as Dell have some diagnostic tools that can run before the system starts, and these tools are often stored in a hidden OEM partition on the hard disk. If you accidentally remove the system when you reload it, how do you restore the OEM hidden properties of the partition, even if you copy it from somewhere else to the program file?
For MBR-formatted hard drives, we can get the solution by Baidu Search, and in the case of a GPT-formatted hard drive, there is no valid solution on the network, and I'll uncover how to apply OEM partition properties to GPT hard drives.
Let's take a quick look at how to set up an OEM partition on an MBR disk: In the Diskpart command, perform the "create partition primary ID=XX size=xx" for the selected partition, where the ID identifies the OEM manufacturer, for example, id=de is to declare to Windows that it is a Dell OEM partition. For more vendor code descriptions, you can perform the command "help create par pri" to understand:
What about a GPT-formatted disk?
The above order certainly no longer applies. Is it the same as said online, can only use some of the "one-click Recovery" Software OEM to completely format and restore the partition, or use the Ghost to overload the previous hard disk backup can be set? Some of the answers to foreign forums also indicate contact with OEMs to recover. In fact, the answer is that we can also set, and the same is the use of Diskpart the system with the tool, but it is easy to be overlooked by everyone.
The new version of Diskpart has a command that is "GPT". With this command and the corresponding partition property code, you can easily set its properties. For example, if we need to set the OEM partition properties so that Windows automatically hides the partition, then we can perform the "Gpt attributes=0x0000000000000001" after creating a primary partition (create par pri size=xxx) You can set it as an OEM partition.
What does this 0x0000000000000001 mean? We can view it by executing help GPT:
Computer knowledge
Here, in addition to using the 0x0000000000000001 property to set a primary partition as an OEM partition, we can also apply other properties to the partition through other code:
64-bit ID |
Effect |
0x0000000000000001 |
Mark the partition as a required partition/set up an OEM |
0x8000000000000000 |
Set to default does not assign a letter to it |
0x4000000000000000 |
Hide the partition on the volume (the Mount Manager will not detect it) |
0x2000000000000000 |
To declare a shadow copy of a partition as another partition |
0x1000000000000000 |
Set to read-only to prevent data from being written |
To cancel an applied property, simply add a minus sign "-" before the GPT <64 bit property id> The property ID in this command. Do not exclude Microsoft in the next version of Windows, you will add more new properties for GPT disks.