Restoring recovery partition


  1. Posts : 25
    Windows 10
       #1

    Restoring recovery partition


    I have a client who has Windows 10 running in a VM. He set the virtual boot drive size too conservatively, and now the update package for 1903 won't fit in the available space.

    I successfully added more space to his virtual drive, but when I went to grow the C partition to encompass the new space, I discovered that there was a recovery partition inbetween them preventing it. I tried some tools to move the recovery partition to the head end of the drive to get it out of the way, but none of them would even offer to do it. I gather that partition and/or the C partition has some kind of property that says it's unable to be moved.

    I found many places on the web advising me to just blow the recovery partition away to accomplish this task. I would be willing to do that if there were a way to recreate a recovery partition at the end of the new drive. It's there for a reason, after all.

    Can this be done?
      My Computer


  2. Posts : 4,144
    Windows 3.1 to Windows 11
       #2

    yes it can be done... But you must first run via cmd prompt(admin)
    reagentc /disable
    that will move the winre.wim back to windows OS
    then you can remove that partition and merge the freespace
      My Computer


  3. Posts : 25
    Windows 10
    Thread Starter
       #3

    Well, that's half the answer. Now, how do I get the recovery partition back once I have merged the space?
      My Computer


  4. Posts : 18,432
    Windows 11 Pro
       #4

    Why are you so set on having a recovery partition? ESPECIALLY in a VM environment? There is nothing the recovery partition will do that simply booting from a Windows 10 USB flash drive (or an ISO in the case of a VM) can't do.
      My Computer


  5. Posts : 4,144
    Windows 3.1 to Windows 11
       #5

    you do not need the Recovery "Partition" windows will work just fine without it.. But you can reset the Recovery "Environment" by typing in cmd prompt(admin)
    reagentc /enable
      My Computer


  6. Posts : 524
    Windows 11 Pro x64, Windows 10 Pro x64
       #6

    Kyhi said:
    you do not need the Recovery "Partition" windows will work just fine without it.. But you can reset the Recovery "Environment" by typing in cmd prompt(admin)
    reagentc /enable

    Thanks, while I know the recovery partition may not be necessary, I wanted to keep it and remove old ones left by Windows update but I found that just moving cause the recovery to be disabled and I could not determine how to re-enable it.
    By first disabling it, as you indicated, and then moving things, I could use the reagentc /enable command successfully.

    Thanks again.
      My Computers


  7. Posts : 4,144
    Windows 3.1 to Windows 11
       #7

    Your Welcome...
      My Computer


  8. Posts : 25
    Windows 10
    Thread Starter
       #8

    NavyLCDR said:
    Why are you so set on having a recovery partition? ESPECIALLY in a VM environment? There is nothing the recovery partition will do that simply booting from a Windows 10 USB flash drive (or an ISO in the case of a VM) can't do.
    Well, that's a fair observation. If that's true, I won't mind blowing it away.

    I wanted to preserve it because I had no idea what would break in Windows if I got rid of it. It's a belt and suspenders caution.

    Most of the work I do is on macOS. Removing the restore partition on a Mac will surrender significant functionality, like the ability to force-reset passwords, perform certain disk maintenance and recovery operations, and reinstall a damaged OS with no working network connections. Also, I had somewhere gotten the impression that the recovery partition constituted some of the information store used by the sfc /scannow procedure. But if it's as worthless as you maintain, I'll just remove it and not worry about it.

    - - - Updated - - -

    Kyhi said:
    you do not need the Recovery "Partition" windows will work just fine without it.. But you can reset the Recovery "Environment" by typing in cmd prompt(admin)
    reagentc /enable
    What does the recovery "environment" offer that I would miss having, assuming the absence of a restore partition?
      My Computer


  9. Posts : 4,144
    Windows 3.1 to Windows 11
       #9

    Windows by Default creates a Recovery Partition for the Recovery Enviroment (WinRE.wim)
    Once you disable the recovery - windows moves the winre.wim out of the partition and back into windows/system32/recovery
    once you delete the partition windows can no longer place it there.. so if you enable recovery - windows by new default will copy winre. to C:\Recovery..
    MS tries to keep winre separate from OS - Recovery allows you Refresh Windows keeping existing Programs and setting
    or Overwrite windows keeping nothing... In the older days windows used a recovery image - now windows 10 just uses the WinSXS folder for Refresh and Restore.. Basically as Navy said useless in vm
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:40.
Find Us




Windows 10 Forums