Open notepad and copy the following lines. Save it as "crashWin.reg". (including the double quotes)
Windows Registry Editor Version 5.00
Save and exit notepad.
Or if you know how to edit the registry you can do it as in the picture below.
Right click the file crashwin.reg and select merge.
You will get a dialog box asking if you want to add information to registry.
You will be greeted saying the information were added successfully.
Now restart the computer.
After your windows boots up, press and hold Right Control key(Left control key will not work) and hit Scroll Lock key twice.
Your windows will crash generating the memory dump file.
P.S. This is not a bug. This is a feature provided by Microsoft to generate memory dump file.