Recreating RECOVERY partition Error


glieb

New member
Local time
7:11 PM
Posts
2
OS
Windows 11
Windows 11 24H2. I replaced the 500 GB SSD SATA drive with M.2 drive and cloned the OS over to the new drive successfully, and it is running. Old drive removed. The new boot drive is drive 1 (not drive 0). But the new cloned drive has no RECOVERY partition. So I followed several identical instructions for recreating space for a RECOVERY partition. I can get as far as formatting that partition (1GB). But when I run SET ID=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC (with or without OVERRIDE), I get the error "The specified TYPE is not in the correct format".

I get that repeatedly and this same Set ID instruction is in every online instruction that I have followed. What am I doing wrong? This is a UEFI system.Screenshot 2025-08-10 171843.webp
 

My Computer My Computer

At a glance

Windows 11i7 8700
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Lenovo P330
CPU
i7 8700
Maybe there is a space after the last C.
 

My Computer My Computer

At a glance

Windows 10
OS
Windows 10
When you created this disk, did you specify a GPT disk type?
Code:
diskpart> select disk 1
diskpart> clean
diskpart> conv gpt

If you didn't, then it might be a MBR disk and "id=de94bba4-06d1-4d40-a16a-bfd50179d6ac" doesn't apply. What was your process for cloning this disk?
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Please run diskparinfo > post a share link



 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
The command used in the opening post image was:

setid=




Please use these commands:

create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac

gpt attributes =0x8000000000000001
 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
OK. Solved. Somehow my computer had reverted to MBR mode. That did not prevent Windows 11 from starting but it DID prevent me from using the required SET ID. It may have happened during the clone process of the OS. Ran the entire clone process over again and this time the partitions were correctly shown as GPT.
 

My Computer My Computer

At a glance

Windows 11i7 8700
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Lenovo P330
CPU
i7 8700


When the BIOS/drive is Legacy/MBR use the set id command.


When the BIOS/drive is UEFI/GPT use the create partition command.







set id (Diskpart)​



Code:
 Important

This command 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.



 

My Computer My Computer

At a glance

Windows 10Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz16 GB Total: Manufacturer : Samsung MemoryTyp...NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP
CPU
Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
Motherboard
Product : 190A Version : KBC Version 94.56
Memory
16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
Graphics Card(s)
NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
Sound Card
IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
Hard Drives
Model Hitachi HTS727575A9E364
Antivirus
Microsoft Defender
Other Info
Mobile Workstation
Back
Top Bottom