Skip to content

Instantly share code, notes, and snippets.

@nissel
Last active January 12, 2025 23:45
Show Gist options
  • Save nissel/48ac68a245c4f3e80ff2257f869ac8f6 to your computer and use it in GitHub Desktop.
Save nissel/48ac68a245c4f3e80ff2257f869ac8f6 to your computer and use it in GitHub Desktop.
Windows 11 Reg fix for SN770, SN580 (and other) HMB force to 64M
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorPort]
"HMBAllocationPolicy"=dword:00000002
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device]
"HostMemoryBufferBytes"=hex(7):56,00,45,00,4e,00,5f,00,31,00,35,00,42,00,37,00,\
26,00,44,00,45,00,56,00,5f,00,35,00,30,00,31,00,37,00,26,00,52,00,45,00,56,\
00,5f,00,3f,00,3f,00,20,00,36,00,37,00,31,00,30,00,38,00,38,00,36,00,34,00,\
00,00,56,00,45,00,4e,00,5f,00,31,00,35,00,42,00,37,00,26,00,44,00,45,00,56,\
00,5f,00,35,00,30,00,34,00,31,00,26,00,52,00,45,00,56,00,5f,00,3f,00,3f,00,\
20,00,36,00,37,00,31,00,30,00,38,00,38,00,36,00,34,00,00,00,00,00
@flowerdealer
Copy link

Anyone know what these values should be for an sn550 drive? I've also been affected by BSOD but no firmware update. New HWinfo update reports 200mb hmb even if it set all variables.

@ZolKush
Copy link

ZolKush commented Oct 22, 2024

Anyone know what these values should be for an sn550 drive? I've also been affected by BSOD but no firmware update. New HWinfo update reports 200mb hmb even if it set all variables.

Just try to disable HMB, setting the limit didn't help me initially either, although I have an SN770

@DemoJameson
Copy link

Anyone know what these values should be for an sn550 drive? I've also been affected by BSOD but no firmware update. New HWinfo update reports 200mb hmb even if it set all variables.

check the device manager
image

@flowerdealer
Copy link

Thanks, value that worked for the sn550 if anyone else is interested is:
VEN_15B7&DEV_5009&REV_?? 67108864

@handymenny
Copy link

SN530 too seems to be affected, the value to add to HostMemoryBufferBytes is VEN_15B7&DEV_5008&REV_?? 67108864

@nissel
Copy link
Author

nissel commented Dec 15, 2024

Possibly you will need to check your PCI device id in device manager.

You might to experiencing a different issue, as WD don't list your drive as affected ? Have you checked your current HMB allocation?

@handymenny
Copy link

handymenny commented Dec 15, 2024

Have you checked your current HMB allocation?

This is what I see in HWinfo with the fix:
image

Without the fix I get IO1 Initialization failed BSOD

@nissel
Copy link
Author

nissel commented Dec 15, 2024

Interesting looks like WD have missed some affected models. You could try and let them know via a support ticket.

@handymenny
Copy link

handymenny commented Dec 15, 2024

But I'm not 100% sure it's a problem, for example now successfully booted with HMB 200MB (which still seems abnormal to me) without BSOD:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment