the instructions I've found suggested to use a GUI Bitlocker console, and that doesn't seem to offer the "suspend" option.
I'm trying to fix a 'stuck' Windows Update on a friend's (otherwise fully updated) Windows 10 laptop. It's the KB5034441. On my own machine I found I could fix this by manually resizing the WinRE partition (something I know little about!) as described in KB5028997.
On my friend's laptop, it allowed me to delete the WinRE partition but wouldn't
allow me to recreate it. I understand that's because Bitlocker is running, and
that the operation should (!) succeed if it's suspended.
But the instructions I've found suggested to use a GUI Bitlocker console, and that doesn't seem to offer the "suspend" option. I'm getting nervous, so I tried to back up the key. However, the printed output of that process invites
me to compare the "following identifier" with the one displayed on my PC. (Er,
where?) So I tracked down a Device ID for the computer (different) and I can't
find any property for the disk (including using Disk Management) which matches.
I'm astonished that in this day and age MS makes us chase down these rabbit- holes. For now, I'm left with anallocated space where the WinRE partion was and the update still won't install. Should i just wait for the next major update version? Any advice welcome!
VanguardLH wrote on 3/2/24 12:15 PM:
Microsoft's excuse in enlarging the WinPE partition (Recovery) is code
got added to address some vulnerability. "address a security
vulnerability that could allow attackers to bypass BitLocker encryption
by using WinRE." I don't use BitLocker, so no vulnerability to me!
Fyi....it's WinRE (not PE)
You're a bit behind in on the chronolgoy of updating the WinRe partition. KB5034441 is the latest, but for Win10 22H2 and 22H1, it's the third
WinRE update this year.
- for those same two versions and others dating back to 2004, WinRE has been auto-updated(and resized larger when necessary by shrinking C:).
I'm trying to fix a 'stuck' Windows Update on a friend's (otherwise fully updated) Windows 10 laptop. It's the KB5034441. On my own machine I found I could fix this by manually resizing the WinRE partition (something I know little about!) as described in KB5028997.
On my friend's laptop, it allowed me to delete the WinRE partition but wouldn't
allow me to recreate it. I understand that's because Bitlocker is running, and
that the operation should (!) succeed if it's suspended.
But the instructions I've found suggested to use a GUI Bitlocker console, and that doesn't seem to offer the "suspend" option. I'm getting nervous, so I tried to back up the key. However, the printed output of that process invites
me to compare the "following identifier" with the one displayed on my PC. (Er,
where?) So I tracked down a Device ID for the computer (different) and I can't
find any property for the disk (including using Disk Management) which matches.
I'm astonished that in this day and age MS makes us chase down these rabbit- holes. For now, I'm left with anallocated space where the WinRE partion was and the update still won't install. Should i just wait for the next major update version? Any advice welcome!
On a 128 GB disk enlarging from 413 to 663 MB occupies 0.52%. An increase
of 0.19%.
KB5034441's contribution to the increase in size of the WinRE partition
is ~20-30 MB.
- the 250 MB increase covers all possible devices(over 500 million Win
11 and up to the remaining Windows 10 devices - 1 Billion[or more] less
those upgraded or replaced with Win11)
i.e. A number(size increase) large enough to cover every single device
in existence, not the actual space used for the update process but a free space bogey number that can be checked as a minimum size free space to perform and ensure a successful update on every single device, not the
actual size of free space physically necessary.
- It's quite common to incorrectly look at that 250 MB number from the wrong perspective. Especially because it also does not mean that future
WinRE updates also need 250 MB free space(doing so would be incorrect, too).
You're a bit behind in on the chronolgoy of updating the WinRe partition. >>> KB5034441 is the latest, but for Win10 22H2 and 22H1, it's the third
WinRE update this year.
- for those same two versions and others dating back to 2004, WinRE has >>> been auto-updated(and resized larger when necessary by shrinking C:).
That would require the Recovery partition be after the OS partition:
shrink the OS partition to make room to enlarge the Recovery partition.
However, the order of my partitions is:
Recovery
EFI
Reserved
Windows (boot & OS)
unallocated (gets used for SSD overprovisioning)
Your device - either by the OEM, System Builder, or someone when Windows
was installed chose to ignore GPT partition layout guidelines order.
System(EFI), MSR, Windows, Recovery
=> that GPT guideline has been in place at least, since
2007-2008(release of 64 bit Win7 beta editions) and July 2009 for Win7
RTM consumer, enterprise, edu editons)..but GPT, iirc first appeared,
years earlier than Win7, for Windows 2003 SP1.
Maybe you didn't realize that if you follow the directions and disable
the Recovery partition, then select the disk # where the os resides,
shrink Windows(C:\ usually), the create a new WinRE partition on the
same disk #(e.g. 1 GB which would be more than sufficient for WinRE
files and all future Win10 WinRE partition updates until Win10 EOL)
using the directions Set ID, attribute and format variables, the
enable WinRE the end result will WinRE partition in the design intent
GPT location(after Windows) => Correct, it would not address that
first partition(now old, useless Recovery) which as you noted, you
wouldn't address until a later point in time(possibly b/f Win10 EOL). -optionially, one could select that 1st partition, delete it, an
still create the WinRE after Windows by checking for and selecting
the Windows partition(shrink, create WinRE etc.) - the only
difference would be the space at the front would be unallocated, not
much different that a useless partition.
VanguardLH wrote on 3/3/24 12:36 AM:
I did a fresh install of Windows 10. Windows chose the layout, not
me. I don't do upgrades from a prior version of Windows, nor was
there ever any multi-booting involved with OSes in different
partitions.
Which indicates you used 2004 or earlier Win10 Media Creation Tool usb
or dvd media, instead of the separate optional downloadable ISO(later
using 3rd party tools to create bootable usb/dvd media).
Even Macrium Reflect with its use of WinPE on boot creates a .wim file
the boot manager uses to load WinPE and Reflect, or creates a bootable
CD with WinPE+Reflect, or I can create bot, so the OS partition is
quiescent during a restore, but Reflect using WinPE does not occupy a
partition on the disk with the OS partition.
You really should check the date and Service Pack level of your current winre.wim on that first partition.
For Win10 it should have a Service Pack Build of 3920.
reagentc /info
- will verify if the WinRe status is enabled
- will provide the WinRE location path
Then look at the ¡Location¢ path and create the DISM line with the
correct disk# and partition# number shown.
or just copy the line below and replace the # with the correct numbersDISM /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk#\partition#\Recovery\WindowsRE\winre.wim
/index:1
- the result will shown the Service Pack Level and date
If the Service Pack Number is not 3920, then your WinRE is outdated and possibly also Macrium's WinPE tools.
=> Macrium's WinPE depends on the the source the user chooses for the
base WIM - multiple options - WinRE(the current on the device) or one
from Msft's WADK version 10 or 5 or 4.
- 4 supports 8.0 and earlier, 5 supports up to 8.1
- 10 supports Win10 but uses Win10 2004
i.e. best to update the devices recovery partition with a successful
install of 5034441, then use updated and latest Win10 22H2-WinRE 3920 ti build your Macrium PE media
Guess Microsoft doesn't obey those recommendations for all fresh
installs.
See above, they fixed it along time ago.
No, one would not use the old partition location or if deleted it's unallocated space. WinRE belongs after C:
By the way, in those GPT intents you mention, just where is unallocated
space supposed to exist to use for SSD overprovisioning? Where those
intents supposed to have unallocated space at the start of the disk?
If not adopting overprovisioning already included and already
built-in by the SSD manufacture and choosing the DIY route, it by
design must be to the furthest right partition on the SSD(i.e. the
last, and yes after WinRE(after C:) *and* after any GPT data
partitions.
If I were you and had a WinRE as the first GPT partition, I would have
wiped that drive to bare metal way back when 21H1 was released[May 2021]
- 21H1, 21H2, 22H2 have the same core o/s files and setup the
partitioning properly!
I've given you sufficient information, whether you take it or not, is
your choice. Take it or complain to someone else about losing a scant
amount of space that you'll unlikely ever need or use on your device.
- especially since shrinking C to enlarge and create WinRE after the C partition has been in place, known and the norm for over 3 yrs.
VanguardLH wrote:
Deployment Image Servicing and Management tool
Version: 10.0.19041.3636
Details for image :
\\?\GLOBALROOT\device\harddisk2\partition1\Recovery\WindowsRE\winre.wim
Index : 1
Name : Microsoft Windows Recovery Environment (x64)
Description : Microsoft Windows Recovery Environment (x64)
Size : 2,320,898,360 bytes <--- Only 2.16 GB in a 519 GB partition!
WIM Bootable : No If just the file size, perhaps WIM
Architecture : x64 extraction occupies much more space.
You're partition is 519 MB
The size shown above is the entire Windows o/s system image :)
Version : 10.0.19041
ServicePack Build : 1
ServicePack Level : 0
Created : 12/7/2019 - 1:11:48 AM
Modified : 10/20/2020 - 11:48:59 PM
Yes, never updated. No longer supported either.
VanguardLH wrote on 3/4/24 4:50 PM:
winston <winstonmvp@gmail.com> wrote:
VanguardLH wrote:
Deployment Image Servicing and Management tool
Version: 10.0.19041.3636
Details for image :
\\?\GLOBALROOT\device\harddisk2\partition1\Recovery\WindowsRE\winre.wim >>>>
Index : 1
Name : Microsoft Windows Recovery Environment (x64)
Description : Microsoft Windows Recovery Environment (x64)
Size : 2,320,898,360 bytes  <--- Only 2.16 GB in a 519 GB partition! >>>> WIM Bootable : No                If just the file size, perhaps WIM
Architecture : x64Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â extraction occupies much more space.
You're partition is 519 MB
The size shown above is the entire Windows o/s system image :)
Version : 10.0.19041
ServicePack Build : 1
ServicePack Level : 0
Created : 12/7/2019 - 1:11:48 AM
Modified : 10/20/2020 - 11:48:59 PM
Yes, never updated. No longer supported either.
This is the first time the Recovery (WinRE) partition had to be enlarged
to accomodate a larger image.
; Your WinRE version, on the partition is no longer supported.In hindsight, if we had this same discussion in June 2023(when the first WinRE partition update was included in monthly cumulative updates), the answer would be same.
 - To resolve - disable the current, shrink C and create a new after Windows and one larger than the original(e.g. 1024 MB).
Your issue is not than uncommon.
When I went back and checked the version of the winre after Winston's suggestion after I thought I had it all, it still wasn't updated. I
deleted the .wim file in the recovery directory and re-enabled and
finally got it all done properly.
sticks <wolverine01@charter.net> wrote:
When I went back and checked the version of the winre after Winston's
suggestion after I thought I had it all, it still wasn't updated. I
deleted the .wim file in the recovery directory and re-enabled and
finally got it all done properly.
Is that a .wim file somewhere in the Recovery /partition/? If so, did
you mount the Recovery partition to get a drive letter assigned to get
at the file system to delete a winre.wim file in the Recovery partition?
Or was it a .wim file in the C:\Recovery directory (aka folder)?
I didn't find a .wim file under C:\Recovery, but I found a winre.wim
file under C:\$WinREAgent\Backup and an update.wim file under C:\$WinREAgent\Scratch.
https://www.majorgeeks.com/content/page/what_is_the_winreagent_folder_and_can_i_delete_it.html
Seems C:\$WinREAgent is a temp folder that got left behind after a
failed WinRE update, possibly for KB5034441. That I don't have a
winre.wim file under C:\Recovery doesn't seem a problem, either. I
thought the C:\Recovery folder (along with Windows.old) was to let you
revert back to a prior version of Windows after an upgrade. I don't do Windows upgrades. I always do fresh Windows installs. There are just a couple files in my C:\Recovery folder, and no winre.wim file, either.
From some reading, the winre.wim file under C:\Recovery is there if
there is no Recovery partition for it.
VanguardLH wrote on 3/5/24 11:05 AM:
sticks <wolverine01@charter.net> wrote:
When I went back and checked the version of the winre after Winston's
suggestion after I thought I had it all, it still wasn't updated. I
deleted the .wim file in the recovery directory and re-enabled and
finally got it all done properly.
Is that a .wim file somewhere in the Recovery /partition/? If so, did
you mount the Recovery partition to get a drive letter assigned to get
at the file system to delete a winre.wim file in the Recovery partition?
Windows source files on installation media includes install.wim or install.esd
- the MCT created USB/DVD media has install.esd
- the ISO file has install.wim
During installation, the winre.wim is extracted from the respective above
install.* file
- Winre.wim is initially placed into the C:\Windows\System32\Recovery folder
During the installation process to empty media the required GPT
partitions are created
=> System(EFI), MSR, Windows, WinRE(aka or named Recovery)
During installation, the installer eanbles the WinRE partition and in
doing so, moves(not copies) the winre.wim to the WinRE partition
Post installation and after a Windows admin logon, the logged on user can open a Command.com or Powershell in admin mode and issue the following command
reagentc /info
- to see the status of the WinRE
=> it will show the status (e.g. Enabled and the location, etc.)
=> if one issues the reagentc /disable command
- winre.wim is moved back(not copied) to the
C:\Windows\System32\Recovery folder. To see the file in this folder,
File Explorer needs to be configured to 'Show hidden files, folders' and uncheck ' Hide protected operating system files)
Note: Looking at winre.wim's properties in the
C:\Windows\System32\Recovery isn't going to show the version or Service
Pack #.
You see that with the DISM command, the same command you used earlierto report the info about your WinRE partition
DISM /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk#\partition#\Recovery\WindowsRE\winre.wim
/index:1
=> which you modified with the correct harddisk # and partition # that
you found when issuing the reagentc /info command.
At this point, and to reduce risk, seems easier for me to save an image backup of the disk (all partitions), save duplicate backups of just the
data (in .zip files, not backup files), delete all partitions on the
disk, and use the MediaCreationTool22H2.exe tool to create an install
ISO used to lay a fresh install of Windows on the disk with whatever partition layout it assumes.
VanguardLH wrote on 3/5/24 1:39 PM:
At this point, and to reduce risk, seems easier for me to save an image
backup of the disk (all partitions), save duplicate backups of just the
data (in .zip files, not backup files), delete all partitions on the
disk, and use the MediaCreationTool22H2.exe tool to create an install
ISO used to lay a fresh install of Windows on the disk with whatever
partition layout it assumes.
Hopefully it will use the recommended GPT layout winston mentioned. If
the install ISO wants to use up all disk space for the partitions, I'll
use a 3rd party partition manager to shrink the OS partition enough to:
- Allow enlarging the WinRE partition up to 1 GB (so later WinRE updates
that want more room will have some).
- 10 GB of unallocated space at the end (after the Recovery partition)
to up the drive maker's default unassignable space (6-10%) for SSD
overprovisioning to provide a total of 16-20%.
- Reinstall all the software again.
- Recover all the data.
When wiping and clean installing Win10 22H2...why not just use the
Advanced option and use Diskpart to create and format(where necessary all
the partitions to you desired size) rather than tweak it later with 3rd
party software.
[1] very few admins in the Enterprise community would overprovision.
Why? B/c they would already have considered, and well in advance, to
never install a piece of hardware(SSD) with a size that would run out of space(the primary reason to overprovision)
- if no chance of running out of space on the SSD, overprovisioning,
imo, is a waste.
VanguardLH wrote on 3/6/24 3:43 PM:
Overprovisioning isn't about have spare space available for later. It's
about increasing the longevity of the drive.
My hardware and security colleagues advise that it offers no
additional value when the SSD has sufficient free spacce(iirc the
general rule - same imapact/effect with 10-15% free unused space) on
the Windows and if present Data partitions
Additionally all reputable SSD manufacturer's have over provisioning
built in.
It tweaking for the sake of being able to tweak, micromanaging an
unnecessary variable.
VanguardLH wrote on 3/6/24 3:43 PM:
Overprovisioning isn't about have spare space available for later. It's
about increasing the longevity of the drive.
My hardware and security colleagues advise that it offers no additional value when the SSD has sufficient free spacce(iirc the general rule - same imapact/effect with 10-15% free unused space) on the Windows and if present Data partitions
Additionally all reputable SSD manufacturer's have over provisioning built in.
It tweaking for the sake of being able to tweak, micromanaging an unnecessary variable.
https://www.techpowerup.com/ssd-specs/samsung-870-evo-1-tb.d3
Overprovisioning: 92.7 GB / 10.0 %
https://www.techpowerup.com/ssd-specs/samsung-870-evo-4-tb.d5
Overprovisioning: 370.7 GB / 10.0 %
Paul <nospam@needed.invalid> wrote:
https://www.techpowerup.com/ssd-specs/samsung-870-evo-1-tb.d3
Overprovisioning: 92.7 GB / 10.0 %
https://www.techpowerup.com/ssd-specs/samsung-870-evo-4-tb.d5
Overprovisioning: 370.7 GB / 10.0 %
I'd like to know where they got the OP spec. Can't find it mentioned at Samsung's site:
https://semiconductor.samsung.com/us/consumer-storage/internal-ssd/870evo/
Nor in the linked docs (datasheet, brochure). Samsung has their data
center SSD doc at:
http://semiconductor.samsung.com/resources/white-paper/S190311-SAMSUNG-Memory-Over-Provisioning-White-paper.pdf
What is OP (over-provisioning)?
Typically, Samsung DC SSDs are set to provide 6.7% of capacity for OP
by default, but the user can manually adjust the size of the space if
he or she requires additional OP depending on the user environment.
I guess you could figure out the factory OP space by computing the
difference between rated capacity and actual usable capacity (without
any partitioning, just what you could define in the usable space), as mentioned in the "How do I calculate the OP ratio?" section.
The article also mentions how having more OP space will provide a
performance boost to SSDs to allow for faster garbage collection, and
show a graph under the "What are the advantages of increasing OP?"
section, along with increased longevity with more OP space.
The article is for data center (DC) SSDs. I thought the drive makers allocated more factory OP for those, like 20% OP space (and 6.7% to 10%
for consumer SSDs) to accomodate the expectation by their enterprise customers of longer longevity and longer performance maintenance, but
not per Samsung's article. The folks I know as sysadmins increase OP
space to reduce failure rate, and try to maintain new-disk performance.
The SSDs are far more than big enough to afford losing a bit of space in
the OS/boot partition to accomodate for more OP space (as unallocated
space on the disk).
I suspect the TechPowerUp articles are just assuming what is the typical factory/inherent OP space instead of actually somehow measuring it. You
can always find out how much unallocated space there is on an SSD just
by using Disk Management (diskmgmt.msc), a 3rd-party partition manager,
or maybe even with diskpart, but those won't show the factory OP space
of which you will never have access. If they have a means of
interrogating the SSD's firmware to get at how big is the factory OP
space, I'd sure love to know what tool to use to find that out.
I'm trying to fix a 'stuck' Windows Update on a friend's (otherwise fully updated) Windows 10 laptop. It's the KB5034441. On my own machine I found I could fix this by manually resizing the WinRE partition (something I know little about!) as described in KB5028997.
On my friend's laptop, it allowed me to delete the WinRE partition but wouldn't
allow me to recreate it. I understand that's because Bitlocker is running, and
that the operation should (!) succeed if it's suspended.
But the instructions I've found suggested to use a GUI Bitlocker console, and that doesn't seem to offer the "suspend" option. I'm getting nervous, so I tried to back up the key. However, the printed output of that process invites
me to compare the "following identifier" with the one displayed on my PC. (Er,
where?) So I tracked down a Device ID for the computer (different) and I can't
find any property for the disk (including using Disk Management) which matches.
I'm astonished that in this day and age MS makes us chase down these rabbit- holes. For now, I'm left with anallocated space where the WinRE partion was and the update still won't install. Should i just wait for the next major update version? Any advice welcome!
Sorry about the lack of acknowledgement for these valuable responses. I've been really quite unwell. I'll get back to this when I'm recovered, which might be a good few days yet.
On 3/8/2024 1:10 PM, Philip Herlihy wrote:
Sorry about the lack of acknowledgement for these valuable responses. I've been really quite unwell. I'll get back to this when I'm recovered, which might be a good few days yet.
I'm sure everybody understands and hopes you get better soon!
In article <us19va$2d26r$1@dont-email.me>, Paul wrote...
On 3/2/2024 10:59 AM, Philip Herlihy wrote:
I'm trying to fix a 'stuck' Windows Update on a friend's (otherwise fully >>> updated) Windows 10 laptop. It's the KB5034441. On my own machine I found I
could fix this by manually resizing the WinRE partition (something I know >>> little about!) as described in KB5028997.
On my friend's laptop, it allowed me to delete the WinRE partition but wouldn't
allow me to recreate it. I understand that's because Bitlocker is running, and
that the operation should (!) succeed if it's suspended.
But the instructions I've found suggested to use a GUI Bitlocker console, and
that doesn't seem to offer the "suspend" option. I'm getting nervous, so I >>> tried to back up the key. However, the printed output of that process invites
me to compare the "following identifier" with the one displayed on my PC. (Er,
where?) So I tracked down a Device ID for the computer (different) and I can't
find any property for the disk (including using Disk Management) which matches.
I'm astonished that in this day and age MS makes us chase down these rabbit-
holes. For now, I'm left with anallocated space where the WinRE partion was
and the update still won't install. Should i just wait for the next major >>> update version? Any advice welcome!
If you're still having trouble, provide:
Make and model of hardware, and whether drive is an original image
Picture of Disk Management partitions
Version of OS (winver.exe is a start, but not very thorough as an identifier)
You can hand-draw ascii-art disk management info if you want.
If doesn't have to be a screenshot with snippingtool.exe .
Paul
Thanks Paul - and everyone who's contributed.
Notwithstanding the excursions about WinRE (95% of which went over my head) I think I've got the gist of this now.
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded): 500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've used manage-bde to list the Bitlocker Key (and ID) and I have a copy on another machine. There are two accounts on the laptop, both Local, and the Key/ID come out the same in both (just a sanity check!). A TPM ID is also listed, but that presumably is a constant for this machine.
I need to resize the partitions and re-create the WinRE partition in the Unallocated space. To do this, I can suspend (not disable) Bitlocker using the
manage-bde command with -disable and -enable arguments, I understand.
Any gotchas in that? And should I delete the other two Recovery Partitions before recreating the WinRE partition (same things, right?).
Phew! I'm getting to old for this s***, especially after a couple of weeks of
fever...
In article <us19va$2d26r$1@dont-email.me>, Paul wrote...
On 3/2/2024 10:59 AM, Philip Herlihy wrote:
I'm trying to fix a 'stuck' Windows Update on a friend's (otherwise fully >>> updated) Windows 10 laptop. It's the KB5034441. On my own machine I found I
could fix this by manually resizing the WinRE partition (something I know >>> little about!) as described in KB5028997.
On my friend's laptop, it allowed me to delete the WinRE partition but wouldn't
allow me to recreate it. I understand that's because Bitlocker is running, and
that the operation should (!) succeed if it's suspended.
But the instructions I've found suggested to use a GUI Bitlocker console, and
that doesn't seem to offer the "suspend" option. I'm getting nervous, so I >>> tried to back up the key. However, the printed output of that process invites
me to compare the "following identifier" with the one displayed on my PC. (Er,
where?) So I tracked down a Device ID for the computer (different) and I can't
find any property for the disk (including using Disk Management) which matches.
I'm astonished that in this day and age MS makes us chase down these rabbit-
holes. For now, I'm left with anallocated space where the WinRE partion was
and the update still won't install. Should i just wait for the next major >>> update version? Any advice welcome!
If you're still having trouble, provide:
Make and model of hardware, and whether drive is an original image
Picture of Disk Management partitions
Version of OS (winver.exe is a start, but not very thorough as an identifier)
You can hand-draw ascii-art disk management info if you want.
If doesn't have to be a screenshot with snippingtool.exe .
Paul
Thanks Paul - and everyone who's contributed.
Notwithstanding the excursions about WinRE (95% of which went over my head) I think I've got the gist of this now.
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded): 500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've used manage-bde to list the Bitlocker Key (and ID) and I have a copy on another machine. There are two accounts on the laptop, both Local, and the Key/ID come out the same in both (just a sanity check!). A TPM ID is also listed, but that presumably is a constant for this machine.
I need to resize the partitions and re-create the WinRE partition in the Unallocated space. To do this, I can suspend (not disable) Bitlocker using the
manage-bde command with -disable and -enable arguments, I understand.
Any gotchas in that? And should I delete the other two Recovery Partitions before recreating the WinRE partition (same things, right?).
Phew! I'm getting to old for this s***, especially after a couple of weeks of
fever...
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I need to resize the partitions and re-create the WinRE partition in the Unallocated space. To do this, I can suspend (not disable) Bitlocker using the
manage-bde command with -disable and -enable arguments, I understand.
Any gotchas in that? And should I delete the other two Recovery Partitions before recreating the WinRE partition (same things, right?).
Phew! I'm getting to old for this s***, especially after a couple of weeks of
fever...
Without knowing which Recovery partition you changed..let's back up
Did you use an admin Command or Powershell console to run/execute:
1. reagentc /info
- to determine the active WinRE partition
2. reagentc /disable
- to disable the active recovery partition
3. Is the unallocated space after the o/s partition previously the active then later disabled before deleting the recovery partition?
If the unallocated space was the old, no longer present active recovery partition, the shrink C by 172 MB then create WinRE as a 1024 MB partition.
- use Diskpart for the above
- in advance, ensure you know the o/s harddisk # because you need to
select the correct disk to shrink c and create the new WinRE partition on
the same disk in that unallocated space(after the o/s partition)
If you need the steps to do so reply for more detailed help.
Philip Herlihy wrote on 3/15/24 11:05 AM:...
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence
in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
If the file is not present, it would seem to indicate you didn't disable
the WinRE partition prior to deleting the WinRE partition or something
else is/was in play.
- i.e. the file is important, because once a new Recovery partition is created, the reagentc /enable command will look for that file in C:\Windows\System32\Recovery and move it back(not copy) to the newly
created WinRE partition.
Do you have a backup image of the WinRE recovery partiton, e.g. Macrium Reflect?
Please answer the questions(and advance thanks for doing so)
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
Philip Herlihy wrote on 3/15/24 11:05 AM:...
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re- enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence
in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
If the file is not present, it would seem to indicate you didn't disable the WinRE partition prior to deleting the WinRE partition or something
else is/was in play.
- i.e. the file is important, because once a new Recovery partition is created, the reagentc /enable command will look for that file in C:\Windows\System32\Recovery and move it back(not copy) to the newly created WinRE partition.
Do you have a backup image of the WinRE recovery partiton, e.g. Macrium Reflect?
No, but all the user data was copied off to another machine first, and I'd have
been content to reinstall the machine if needed.
Please answer the questions(and advance thanks for doing so)
Least I could do after your help.
My knowledge on how the Recovery partition works is sketchy at best. I recognise winre.wim (I think?) as a possible source for system files when doing
a DISM /online /RestoreHealth. Is there a concise *introductory* article you could recommend for getting my head round all this?
In article <MPG.40600faf8bed89c6989ab7@news.eternal-september.org>, Philip Herlihy wrote...
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
...
Philip Herlihy wrote on 3/15/24 11:05 AM:
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>>
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re-
enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to
everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence
in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including >> reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
If the file is not present, it would seem to indicate you didn't disable >>> the WinRE partition prior to deleting the WinRE partition or something
else is/was in play.
- i.e. the file is important, because once a new Recovery partition is >>> created, the reagentc /enable command will look for that file in
C:\Windows\System32\Recovery and move it back(not copy) to the newly
created WinRE partition.
Do you have a backup image of the WinRE recovery partiton, e.g. Macrium
Reflect?
No, but all the user data was copied off to another machine first, and I'd have
been content to reinstall the machine if needed.
Please answer the questions(and advance thanks for doing so)
Least I could do after your help.
My knowledge on how the Recovery partition works is sketchy at best. I
recognise winre.wim (I think?) as a possible source for system files when doing
a DISM /online /RestoreHealth. Is there a concise *introductory* article you
could recommend for getting my head round all this?
Reagentc /info gives the Recovery partition as partition 6, which Disk Management shows as immediately following the OS partition. After partition 6
there are two other Recovery partitions, presumably redundant. Can I delete them?
On 3/16/2024 5:53 PM, Philip Herlihy wrote:
In article <MPG.40600faf8bed89c6989ab7@news.eternal-september.org>, Philip Herlihy wrote...
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
...
Philip Herlihy wrote on 3/15/24 11:05 AM:
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>>
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re-
enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to
everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence >>> in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including >> reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
If the file is not present, it would seem to indicate you didn't disable >>> the WinRE partition prior to deleting the WinRE partition or something >>> else is/was in play.
- i.e. the file is important, because once a new Recovery partition is >>> created, the reagentc /enable command will look for that file in
C:\Windows\System32\Recovery and move it back(not copy) to the newly
created WinRE partition.
Do you have a backup image of the WinRE recovery partiton, e.g. Macrium >>> Reflect?
No, but all the user data was copied off to another machine first, and I'd have
been content to reinstall the machine if needed.
Please answer the questions(and advance thanks for doing so)
Least I could do after your help.
My knowledge on how the Recovery partition works is sketchy at best. I
recognise winre.wim (I think?) as a possible source for system files when doing
a DISM /online /RestoreHealth. Is there a concise *introductory* article you
could recommend for getting my head round all this?
Reagentc /info gives the Recovery partition as partition 6, which Disk Management shows as immediately following the OS partition. After partition 6
there are two other Recovery partitions, presumably redundant. Can I delete
them?
Yes, as long as your knowledge of the numbering is flawless.
Remember that Disk Management does not show the tiny 16MB MSR, as
it does not have a file system. But the partition table uses up
a number, to define a space for it. It's still a partition, and
that's how the numbering does not make sense when counting from 1.
What you typically see in Disk Management, is 1 3 4 5 6...
And partition 2 is the MSR. Partition 3 could be C:
Partition 4 could be the one used by ReagentC. If
you had a Partition 5 and Partition 6, they could be
deleted (as left-over versions of a Partition 4).
Just make sure that anything to the right of the deletion,
does not rely upon a partition number for its operation.
For example, a Linux uses a partition number for the GRUB boot
sequence, even though "most of the time" Linux stuff relies on
UUID/blkid for identifiers, which tends to make Linux number-independent. It's when GRUB is installed, that the jump from one phase of GRUB
to the next, happens to use a partition number. If you were dual
booting and screwed it up, the Linux "Boot Repair" package could fix it for you.
When I had three of the Recovery Partitions to the right of C: , I did
delete two of them, but that was not on a Bitlockered PC. And I have
screwed up Linux booting, by removing a partition to the left of
Windows C: partition. In your situation, I don't think the odds
of damage are that high. But then, I don't understand what
the Bitlocker on a Home setup is doing, either :-) No idea.
It's supposed to be FDE, but it does not seem to be that.
I always thought FDE encrypted the entire drive, every byte of it.
It does not seem to be doing that.
Paul
Philip Herlihy wrote on 3/16/24 1:22 PM:
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
...
Philip Herlihy wrote on 3/15/24 11:05 AM:
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re-
enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to
everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence >> in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
Now would be a good time to verify it as present and determine the
current Service Pack Build number and last modified date
Run reagentc /info and look for the harddisk# and partition#, then
replace the number in the following Powershell command, once done enter
the full now edited(with your harddisk and parition #'s) command line in
a Powershell admin window
DISM /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk#\partition#\Recovery\WindowsRE\winre.wim
/index:1
Once done, report five items from the output
Version, Service Pack Build, Service Pack Level, Created date, Modified date.
In article <ut55o8$341m1$1@dont-email.me>, Paul wrote...
On 3/16/2024 5:53 PM, Philip Herlihy wrote:
In article <MPG.40600faf8bed89c6989ab7@news.eternal-september.org>, Philip >>> Herlihy wrote...
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>>
Philip Herlihy wrote on 3/15/24 11:05 AM:...
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>>>>
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re-
enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to
everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence >>>>> in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including >>>> reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
If the file is not present, it would seem to indicate you didn't disable >>>>> the WinRE partition prior to deleting the WinRE partition or something >>>>> else is/was in play.
- i.e. the file is important, because once a new Recovery partition is >>>>> created, the reagentc /enable command will look for that file in
C:\Windows\System32\Recovery and move it back(not copy) to the newly >>>>> created WinRE partition.
Do you have a backup image of the WinRE recovery partiton, e.g. Macrium >>>>> Reflect?
No, but all the user data was copied off to another machine first, and I'd have
been content to reinstall the machine if needed.
Please answer the questions(and advance thanks for doing so)
Least I could do after your help.
My knowledge on how the Recovery partition works is sketchy at best. I >>>> recognise winre.wim (I think?) as a possible source for system files when doing
a DISM /online /RestoreHealth. Is there a concise *introductory* article you
could recommend for getting my head round all this?
Reagentc /info gives the Recovery partition as partition 6, which Disk
Management shows as immediately following the OS partition. After partition 6
there are two other Recovery partitions, presumably redundant. Can I delete
them?
Yes, as long as your knowledge of the numbering is flawless.
Remember that Disk Management does not show the tiny 16MB MSR, as
it does not have a file system. But the partition table uses up
a number, to define a space for it. It's still a partition, and
that's how the numbering does not make sense when counting from 1.
What you typically see in Disk Management, is 1 3 4 5 6...
And partition 2 is the MSR. Partition 3 could be C:
Partition 4 could be the one used by ReagentC. If
you had a Partition 5 and Partition 6, they could be
deleted (as left-over versions of a Partition 4).
Just make sure that anything to the right of the deletion,
does not rely upon a partition number for its operation.
For example, a Linux uses a partition number for the GRUB boot
sequence, even though "most of the time" Linux stuff relies on
UUID/blkid for identifiers, which tends to make Linux number-independent.
It's when GRUB is installed, that the jump from one phase of GRUB
to the next, happens to use a partition number. If you were dual
booting and screwed it up, the Linux "Boot Repair" package could fix it for you.
When I had three of the Recovery Partitions to the right of C: , I did
delete two of them, but that was not on a Bitlockered PC. And I have
screwed up Linux booting, by removing a partition to the left of
Windows C: partition. In your situation, I don't think the odds
of damage are that high. But then, I don't understand what
the Bitlocker on a Home setup is doing, either :-) No idea.
It's supposed to be FDE, but it does not seem to be that.
I always thought FDE encrypted the entire drive, every byte of it.
It does not seem to be doing that.
Paul
Thanks, Paul,
Diskpart lists the disks in this order:
Microsoft DiskPart version 10.0.19041.3636
Copyright (C) Microsoft Corporation.
On computer: DESKTOP-4C4MNUB
Disk 0 is now the selected disk.
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 500 MB 1024 KB
Partition 2 Reserved 128 MB 501 MB
Partition 3 Primary 225 GB 629 MB
Partition 6 Recovery 1101 MB 225 GB
Partition 4 Recovery 10 GB 226 GB
Partition 5 Recovery 1078 MB 237 GB
(Output obtained from diskpart /s temp.txt | clip)
Disk Management (graphic) shows them in the same order.
In article <ut6btt$3ekrs$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
Philip Herlihy wrote on 3/16/24 1:22 PM:
In article <ut2of9$2hmc1$1@dont-email.me>, ...w¡ñ§±¤ñ wrote...
...
Philip Herlihy wrote on 3/15/24 11:05 AM:
In article <ustvec$1e302$1@dont-email.me>, ...w¡ñ§±¤ñ wrote... >>>>>>
Philip Herlihy wrote on 3/13/24 4:12 PM:
The machine is a Dell XPS 13. Partitions (in Disk Management) are (rounded):
500MB EFI System partition
225GB OS
852MB now Unallocated after my meddling
10GB Recovery Partition
1GB Recovery Partition
I've now completed all the steps in https://bit.ly/3TCu9Y8, disabling and re-
enabling Bitlocker on either side. Everything seemed to work, and all commands
gave positive status. The 'stuck' update is now safely installed. Thanks to
everyone for help with this.
Did you disable the the WinRE partition before deleting the WinRE partition?
- reagentc /disable
Did you verify the harddisk# and partition# of the WinRE recovery
partition before deleting the WinRE partition?
- reagentc /info
YES
If you disabled the WinRE partition before deletion, the necessaryt
winre.wim file will be located in C:\Windows\System32\Recovery
- you will need to configure File Explorer to see the file's presence >>>> in the above folder
File Explorer/Options/View
- Enable 'Show hidden files, folders, and drives
- Uncheck 'Hide extensions of known file types'
- Uncheck 'Hide protected operating system files'
Well, it's not there now, though I have completed all the steps, including >>> reagentc /enable, so from what you say winre.wim should have been moved to the
newly re-created Recovery partition.
Now would be a good time to verify it as present and determine the
current Service Pack Build number and last modified date
Run reagentc /info and look for the harddisk# and partition#, then
replace the number in the following Powershell command, once done enter
the full now edited(with your harddisk and parition #'s) command line in
a Powershell admin window
DISM /Get-ImageInfo
/ImageFile:\\?\GLOBALROOT\device\harddisk#\partition#\Recovery\WindowsRE\winre.wim
/index:1
Once done, report five items from the output
Version, Service Pack Build, Service Pack Level, Created date, Modified
date.
Details for image : \\?\GLOBALROOT\device\harddisk0\partition6\Recovery \WindowsRE\winre.wim
Index : 1
Name : Microsoft Windows Recovery Environment (x64)
Description : Microsoft Windows Recovery Environment (x64)
Size : 2,851,512,365 bytes
WIM Bootable : No
Architecture : x64
Hal : <undefined>
Version : 10.0.19041
ServicePack Build : 3920
ServicePack Level : 0
Edition : WindowsPE
Installation : WindowsPE
ProductType : WinNT
ProductSuite :
System Root : WINDOWS
Directories : 3789
Files : 18630
Created : 07/12/2019 - 07:11:48
Modified : 15/03/2024 - 19:10:39
Languages :
en-US (Default)
The operation completed successfully.
DISM /Get-ImageInfo /ImageFile:D:\win10-winre.wim /index:1
On 3/17/2024 11:31 AM, Philip Herlihy wrote:...
In article <ut55o8$341m1$1@dont-email.me>, Paul wrote...
On 3/16/2024 5:53 PM, Philip Herlihy wrote:
In article <MPG.40600faf8bed89c6989ab7@news.eternal-september.org>, Philip
Herlihy wrote...
Diskpart lists the disks in this order:
Microsoft DiskPart version 10.0.19041.3636
Copyright (C) Microsoft Corporation.
On computer: DESKTOP-4C4MNUB
Disk 0 is now the selected disk.
Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 System 500 MB 1024 KB
Partition 2 Reserved 128 MB 501 MB
Partition 3 Primary 225 GB 629 MB
Partition 6 Recovery 1101 MB 225 GB
Partition 4 Recovery 10 GB 226 GB
Partition 5 Recovery 1078 MB 237 GB
(Output obtained from diskpart /s temp.txt | clip)
Disk Management (graphic) shows them in the same order.
<sigh> :-) Classic partition renumbering goodness.
So does that mean the sequence is
reagentc /info
reagentc /disable
(remove partition 5, screw up partition order, 6 becomes some other partition number)
reagentc /setreimage <insert_renumbered_path_specification_here>
reagentc /enable
reagentc /info
or something.
I take it the 10GB partition is for some kind of OEM hardware-level recovery ?
Be careful.
Paul
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 437 |
Nodes: | 16 (2 / 14) |
Uptime: | 197:09:48 |
Calls: | 9,137 |
Calls today: | 4 |
Files: | 13,432 |
Messages: | 6,035,717 |