In my case id did not work.
My recovery partition is Partition 1
(My OS is in Spanish)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf (I was following steps from this link. I saw that I have 520MB of Healthy Recovery Partition in which I failed to shrink and the error was "you may not shrink OEM, ESPY or recovery partitions, or, offline volumes. The volume you have selected may not be shrunk. Please select another volume and try again.".) (Also when I shrink from C: and then I do not see new partition which suppose to be seen).
So kindly help.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
We automated this in our deployment console via powershell code and also a diskpart script executed via powershell. I noticed that alot of our systems we had to decrypt bitlocker to get this to work, especially the reagentc.exe /enable command. Time consuming, but it seems to work alot better. Once the update installs, I re-enable bitlocker and let in encrypt. I also automated that in the console.
reagentc.exe /disable
get-partition | where-object {$_.type -eq 'recovery'} | Remove-Partition -confirm:$false
diskpart.exe /s c:\newpartre.txt
reagentc.exe /enable
Here is the diskpart script getting called above:
select disk 0
create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes =0x8000000000000001
format quick fs=ntfs label=”Windows RE tools”
For the bitlocker part I mostly used the manage-bde command, so for example to turn off bitlocker I used manage-bde -off c:
When I turn it back on I used :
manage-bde -on c: -s
Get-BitLockerVolume | Add-BitLockerKeyProtector -RecoveryPasswordProtector
Get-BitLockerVolume | Add-BitLockerKeyProtector -TpmProtector
This seemed to work well and alleviated alot of manual work, the only downside is you have to wait for full decryption before you can apply the update.
I'm also waiting for the fix. Just in case anyone from Microsoft can use the information, here's my experience in following the instructions to manually resize the WinRE partition:
I've spent too much time on this already. Waiting for the fix.
BTW, I do use BitLocker to encrypt USB thumb drives, and then to read the encrypted thumb drive. Am I at risk until this gets fixed?
Honestly I'd rather not have to mess about with shrinking partitions etc at all. Are Microsoft going to create an update fix? It's been several weeks....
You're shrinking the wrong partition if you get this error. The instructions state that you must shrink the OS partition first, then delete the recovery partition, and finally create a new recovery partition of the previous size PLUS the size that you shrunk the OS partition by.