“There isn’t enough memory available to create a ramdisk device” booting VMs on Hyper-V

Booting a virtual machine under Windows Server 2012 R2 Hyper-V may result in the following:

Recovery
Your PC needs to be repaired
There isn’t enough memory available to create a ramdisk device.
Error code: 0x0000017

There isn’t enough memory available to create a ramdisk device

Thankfully, the error message is pretty self explanatory.

Booting a standard Windows ISO does not result in the above error, but in this particular case, I’m booting a Gen 2 VM with a customised Microsoft Deployment Toolkit boot ISO with a scratch space size of 64Mb (I assume though, that the scratch space could be just about any size).

The VM is configured with dynamic memory enabled and the default startup RAM size of 512Mb. This issue is easily remedied by increasing the startup RAM size. The minimum RAM size can then still be configured for 512Mb, if required.

DynamicMemory

Print Friendly
  • Wayne

    Hey Aaron, great site

    I was using your hands off my gold image build when I came across the following that my explain the above.

    In the validate action of the task sequence there is a check for the minimum memory

    • http://stealthpuppy.com Aaron Parker

      Hi Wayne, thanks for pointing it out, I’d forgotten about that. In this case though, this stop screen occurs before the MDT environment loads, so the check for memory won’t have run yet.

  • Abin

    Worked thanks :)