One of the widespread issues during Windows Update is where you receive an error— There isn’t enough memory available to create a ramdisk device, Error code 0xc0000017.
We recommend using – bcdedit /deletevalue {badmemory} badmemorylist
. That mostly works out, but one of the consumers reported that it resulted in another error— An error occurred while attempting to delete the specified data element, Element not found. In this post, we will share why it happened and how you can resolve it.
An error occurred while attempting to delete the specified data element, Element not found
Since the error occurs when trying to upgrade Windows, and it doesn’t work because all you get is BSOD. So instead of trying to upgrade using the built-in Windows feature, try upgrading your system from a Clean Boot state using Media Creation Tool.
One of the users who tried using the Windows Upgrade Assistant resulted in the ramdisk error.
C:\WINDOWS\system32>bcdedit /enum all
C:\WINDOWS\system32>bcdedit /deletevalue {badmemory} badmemorylist An error occurred while attempting to delete the specified data element. Element not found.
C:\WINDOWS\system32>
What is Clean Boot State?
It’s like Safe Mode but offers more control over services and programs that run at Startup and cause problems. Technically, it starts Windows with a minimal set of drivers and startup programs. It helps to find which application or driver is causing the problem.
- Type MSCONFIG in the Start menu, and open the System Configuration
- Choose Select startup on the General tab, and uncheck Load Startup Options.
- Switch to Services, check the box—Hide all Microsoft Services— and then disable the rest of the services
Click Apply/OK and restart the computer. When Windows reboots, it has only those services and applications that are essential to Windows.
Upgrade using Media Creation Tool
Next, upgrade Windows using Windows Media Creation Tool. It is used to Upgrade Windows without waiting for it arrives on the computer or when you need to upgrade multiple computers. This saves a lot of time, which is usually spent downloading updates.
That’s about it. There is no specific solution to the problem except for this. You can try one other thing: Enable the non-Microsoft services one by one and see if you can pass through. That will take time, but you can figure it out.
How to fix BCDEdit error?
To fix a BCDEdit error, open Command Prompt as an administrator and use the bcdedit /repair
command. For specific boot errors, commands like bcdedit /rebuildbcd
or bcdedit /fixboot
can be helpful. These commands help repair and restore the BCD store, resolving boot issues.
How to check BCDedit settings?
To check BCDEdit settings, open the Command Prompt and type BCDEdit /enum
. This command displays the current boot configuration data, including boot parameters and settings. Ensure you run the Command Prompt as an administrator for accurate results.