Drive X:, created by the FBWF is not "full" disk, it can not lead to performance of some programs that use it.
Example - mount wim images, and other bugs with some multimedia applications and the like.
True, RamDisk, created by IMDISK the same is not devoid of these shortcomings, so create it with the Primo or Arsenal RamDisk.
I have a script for XPE, XPE I modified a bit, have to edit the script.
I can lay out a script, if it is for someone interesting.