Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Created April 11, 2024 07:27
Show Gist options
  • Save Fartomy/8764dcbee6ddcddbc6156fbef6533d42 to your computer and use it in GitHub Desktop.
Save Fartomy/8764dcbee6ddcddbc6156fbef6533d42 to your computer and use it in GitHub Desktop.
Revealing the Hidden OEM Part

🚫 Revealing the Hidden OEM Part

We can perform this operation using the diskpart tool command in Windows.

Setup

  1. Open Command Prompt as a Administrator
  2. Type diskpart
  3. List disks with lis dis
  4. Select disk with sel dis <disk_number>
  5. List part chosen of disk with lis par
  6. Select OEM partition with sel par <part_number>
  7. View chosen part details with det par
  8. Change part type with set id=7

Caution

This command set id=<number> is intended for use by original equipment manufacturers (OEMs) only. Changing partition type fields with this parameter might cause your computer to fail or be unable to boot. Unless you are an OEM or experienced with gpt disks, you should not change partition type fields on gpt disks by using this parameter. Instead, always use the create partition efi command to create EFI system partitions, the create partition msr command to create Microsoft Reserved partitions, and the create partition primary command without the ID parameter to create primary partitions on gpt disks.

That's it..

Source

  1. Accessing Hidden OEM Partition
  2. set id command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment