{"id":60981,"date":"2024-03-27T09:00:28","date_gmt":"2024-03-27T08:00:28","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=60981"},"modified":"2024-07-09T08:34:01","modified_gmt":"2024-07-09T06:34:01","slug":"create-a-new-recovery-partition-in-windows","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/create-a-new-recovery-partition-in-windows\/","title":{"rendered":"Create a new Recovery Partition in Windows"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-60987 size-full\" title=\"windows-create-new-recovery-partition-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-01.jpg\" alt=\"windows-create-new-recovery-partition-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>If your <a href=\"https:\/\/nolabnoparty.com\/en\/install-windows-11-on-vmware-vsphere\/\">Microsoft Windows<\/a> installation doesn't have the Recovery Partition configured. you can create a new Recovery Partition by following a specific procedure.<\/p>\n<p>When Windows is deployed, the installation wizard automatically\u00a0creates a Recovery Partition placed as <strong>last partition on the OS disk<\/strong>.<!--more--><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60989 size-full\" title=\"windows-create-new-recovery-partition-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-02.jpg\" alt=\"windows-create-new-recovery-partition-02\" width=\"600\" height=\"193\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Create a new Recovery Partition<\/h2>\n<p>In this example, a <a href=\"https:\/\/www.microsoft.com\/en-us\/evalcenter\/evaluate-windows-server-2022\" target=\"_blank\" rel=\"noopener\">Microsoft Windows Server 2022<\/a> has been configured.<\/p>\n<p>Open the <strong>Command Prompt<\/strong> as <strong>Administrator<\/strong> and run the <em>diskpart<\/em> command to list the available disks:<\/p>\n<p><span style=\"color: #0000ff;\"># diskpart<\/span><br \/>\n<span style=\"color: #0000ff;\"># list disk<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60991 size-full\" title=\"windows-create-new-recovery-partition-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-03.jpg\" alt=\"windows-create-new-recovery-partition-03\" width=\"600\" height=\"280\" \/><\/p>\n<p>Select the disk where the OS is installed (usually disk 0).<\/p>\n<p><span style=\"color: #0000ff;\"># select disk 0<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60993 size-full\" title=\"windows-create-new-recovery-partition-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-04.jpg\" alt=\"windows-create-new-recovery-partition-04\" width=\"600\" height=\"69\" \/><\/p>\n<p>List the installed partitions.<\/p>\n<p><span style=\"color: #0000ff;\"># list part<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60995 size-full\" title=\"windows-create-new-recovery-partition-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-05.jpg\" alt=\"windows-create-new-recovery-partition-05\" width=\"600\" height=\"160\" \/><\/p>\n<p>In the displayed list, the <em>Recovery<\/em> partition is missing. Select the last partition where usually is the OS partition.<\/p>\n<p><span style=\"color: #0000ff;\"># select part 3<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60997 size-full\" title=\"windows-create-new-recovery-partition-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-06.jpg\" alt=\"windows-create-new-recovery-partition-06\" width=\"600\" height=\"100\" \/><\/p>\n<p>Since the creation of the <em>Recovery<\/em> partition requires <strong>some space<\/strong>, we need to <strong>shrink the selected partition<\/strong> by some GB (in the example 8 GB). Make sure you have <strong>enough free space<\/strong> in the OS partition.<\/p>\n<p><span style=\"color: #0000ff;\"># shrink desired=8192<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-60999 size-full\" title=\"windows-create-new-recovery-partition-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-07.jpg\" alt=\"windows-create-new-recovery-partition-07\" width=\"600\" height=\"100\" \/><\/p>\n<p>Create a new partition.<\/p>\n<p><span style=\"color: #0000ff;\"># create partition primary<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61001 size-full\" title=\"windows-create-new-recovery-partition-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-08.jpg\" alt=\"windows-create-new-recovery-partition-08\" width=\"600\" height=\"96\" \/><\/p>\n<p>Format the new partition as <strong>NTFS<\/strong> with label <strong>Recovery<\/strong>.<\/p>\n<p><span style=\"color: #0000ff;\"># format quick fs=ntfs label=\"Recovery\"<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61003 size-full\" title=\"windows-create-new-recovery-partition-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-09.jpg\" alt=\"windows-create-new-recovery-partition-09\" width=\"600\" height=\"132\" \/><\/p>\n<p>Mark the created partition as <strong>GPT<\/strong>.<\/p>\n<pre><span style=\"color: #0000ff;\"># set id = \"de94bba4-06d1-4d40-a16a-bfd50179d6ac\"<\/span><\/pre>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61005 size-full\" title=\"windows-create-new-recovery-partition-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-10.jpg\" alt=\"windows-create-new-recovery-partition-10\" width=\"600\" height=\"100\" \/><\/p>\n<p>Assign a <strong>letter to the new partition<\/strong> to copy the required files later.<\/p>\n<p><span style=\"color: #0000ff;\"># assign letter=R<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61007 size-full\" title=\"windows-create-new-recovery-partition-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-11.jpg\" alt=\"windows-create-new-recovery-partition-11\" width=\"600\" height=\"98\" \/><\/p>\n<p>Exit from diskpart.<\/p>\n<p><span style=\"color: #0000ff;\"># exit<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61009 size-full\" title=\"windows-create-new-recovery-partition-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-12.jpg\" alt=\"windows-create-new-recovery-partition-12\" width=\"600\" height=\"104\" \/><\/p>\n<p>Make sure the recovery environment is disabled.<\/p>\n<p><span style=\"color: #0000ff;\"># reagentc \/disable<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61011 size-full\" title=\"windows-create-new-recovery-partition-13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-13.jpg\" alt=\"windows-create-new-recovery-partition-13\" width=\"600\" height=\"104\" \/><\/p>\n<p>Create a new directory in <strong>disk C:\\<\/strong> (<em>DISM<\/em> in the example).<\/p>\n<p><span style=\"color: #0000ff;\"># mkdir c:\\DISM<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61013 size-full\" title=\"windows-create-new-recovery-partition-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-14.jpg\" alt=\"windows-create-new-recovery-partition-14\" width=\"600\" height=\"65\" \/><\/p>\n<p>Mount the Windows installation media and identify the <strong>install.wim file location<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61015 size-large\" title=\"windows-create-new-recovery-partition-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-15-600x396.jpg\" alt=\"windows-create-new-recovery-partition-15\" width=\"600\" height=\"396\" \/><\/p>\n<p>Mount the <em>install.wim<\/em>.<\/p>\n<p><span style=\"color: #0000ff;\"># DISM \/Mount-image \/imagefile:D:\\sources\\install.wim \/Index:1 \/MountDir:C:\\dism \/readonly \/optimize<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61017 size-large\" title=\"windows-create-new-recovery-partition-16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-16-600x169.jpg\" alt=\"windows-create-new-recovery-partition-16\" width=\"600\" height=\"169\" \/><\/p>\n<p>Copy <em>WinRe.wim<\/em> and <em>ReAgent.xml<\/em> files to <em>C:\\Windows\\System32\\Recovery<\/em> folder.<\/p>\n<p><span style=\"color: #0000ff;\"># robocopy \/MIR \/XJ C:\\DISM\\Windows\\System32\\Recovery\\ C:\\Windows\\System32\\Recovery<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61019 size-large\" title=\"windows-create-new-recovery-partition-17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-17-600x509.jpg\" alt=\"windows-create-new-recovery-partition-17\" width=\"600\" height=\"509\" \/><\/p>\n<p>When the copy operation has been completed, unmount the image.<\/p>\n<p><span style=\"color: #0000ff;\"># dism \/unmount-image \/mountdir:C:\\dism \/discard<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61021 size-full\" title=\"windows-create-new-recovery-partition-18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-18.jpg\" alt=\"windows-create-new-recovery-partition-18\" width=\"600\" height=\"185\" \/><\/p>\n<p>Now create a recovery directory in the created partition.<\/p>\n<p><span style=\"color: #0000ff;\"># mkdir R:\\Recovery\\WindowsRE<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61023 size-full\" title=\"windows-create-new-recovery-partition-19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-19.jpg\" alt=\"windows-create-new-recovery-partition-19\" width=\"600\" height=\"72\" \/><\/p>\n<p>Copy the <em>Winre.wim<\/em> file to the created folder.<\/p>\n<p><span style=\"color: #0000ff;\"># xcopy \/h C:\\Windows\\System32\\Recovery\\Winre.wim R:\\Recovery\\WindowsRE<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61025 size-full\" title=\"windows-create-new-recovery-partition-20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-20.jpg\" alt=\"windows-create-new-recovery-partition-20\" width=\"600\" height=\"102\" \/><\/p>\n<p>Enable the recovery image.<\/p>\n<p><span style=\"color: #0000ff;\"># reagentc \/setreimage \/path R:\\Recovery\\WindowsRE \/target C:\\Windows<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61027 size-large\" title=\"windows-create-new-recovery-partition-21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-21-600x125.jpg\" alt=\"windows-create-new-recovery-partition-21\" width=\"600\" height=\"125\" \/><\/p>\n<p>Enable the recovery environment.<\/p>\n<p><span style=\"color: #0000ff;\"># reagentc \/enable<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61037 size-full\" title=\"windows-create-new-recovery-partition-22\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-22.jpg\" alt=\"windows-create-new-recovery-partition-22\" width=\"600\" height=\"110\" \/><\/p>\n<p>Check if the recovery environment is configured to the correct partition.<\/p>\n<p><span style=\"color: #0000ff;\"># reagentc \/info<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61039 size-large\" title=\"windows-create-new-recovery-partition-23\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-23-600x231.jpg\" alt=\"windows-create-new-recovery-partition-23\" width=\"600\" height=\"231\" \/><\/p>\n<p>Open <em>diskpart<\/em> and remove the letter previously assigned to the recovery partition.<\/p>\n<p><span style=\"color: #0000ff;\"># diskpart<br \/>\n# list disk<\/span><br \/>\n<span style=\"color: #0000ff;\"># select disk 0<br \/>\n# list part<\/span><br \/>\n<span style=\"color: #0000ff;\"># select part 4<\/span><br \/>\n<span style=\"color: #0000ff;\"># remove letter=R<\/span><br \/>\n<span style=\"color: #0000ff;\"># exit<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-61041 size-full\" title=\"windows-create-new-recovery-partition-24\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2024\/03\/windows-create-new-recovery-partition-24.jpg\" alt=\"windows-create-new-recovery-partition-24\" width=\"600\" height=\"672\" \/><\/p>\n<p>The procedure is now complete and the Recovery Partition has been created successfully.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your Microsoft Windows installation doesn't have the Recovery Partition configured. you can create a new Recovery Partition by following a specific procedure. When Windows is deployed, the installation wizard automatically\u00a0creates a Recovery Partition placed as last partition on the OS disk.<\/p>\n","protected":false},"author":3,"featured_media":60987,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[1065,919],"tags":[2809,932],"class_list":["post-60981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-en","category-windows-server-en","tag-recovery-partition","tag-windows-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/60981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=60981"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/60981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/60987"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=60981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=60981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=60981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}