This commonly found vulnerability has been around since at least January 2024 and is quickly remediated.
As Microsoft has documented well here, this particular issue always appears to be the gift that keeps giving. We often see it remediated but refusing to go away or indeed recurring for various reasons.
After 28 years in IT, if a Windows device was going into recovery mode, I suggest it needs a reload anyway. Therefore, with the prevalent use of Microsoft Office 365 OneDrive to back up the local system anyway, there is minimal risk of losing anything on the device, so it's often better to reload/rebuild than recover.
Microsoft Windows 10 will also be end-of-life in October 2025, and while there may be options to purchase another year of support, you probably have older devices if you have this issue. A reload, if required at any point, may also offer other performance benefits.
Therefore, the particular issue with the Windows Recovery Environment (WinRE) can be quickly addressed by disabling the environment (quick command line) and removing a registry key.
Command Line to Disable the Windows Recovery Environment
(Administrative Command Line)
reagentc /disable
You can confirm its disabled status with the command:
reagentc /info
And finally, you need to remove the WinREVersion registry key, located at:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion
This can be achieved either manually or from an admin command line with this command:
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "WinREVersion" /f
And you can confirm this has been completed with the command:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "WinREVersion"
NOTE: When you have completed the disabling and effectual removal of the Microsoft Windows Recovery Environment, you won't be able to use Windows Recovery in case of an issue with your device. Microsoft would recommend following their article to fix this issue in the way described, we however, have, in asking many organisations and IT persons, that reloading of a device is quicker and most often used, therefore, this is not so much of an issue. Please consider the risks before you complete this change.