microsoft/diskspd

api-ms-win-core-libraryloader-l1-2-1.dll is missing

burgonyapure opened this issue · 8 comments

Environment: Windows Server 2012 R2 Build 9600

Error when trying to run diskspd.exe
image

I found if I used the older version of DiskSpd 2.0.21 I was able to get past this issue.

dl2n commented

Are you using the pre-built binary, or is this one you built yourself?

I found if I used the older version of DiskSpd 2.0.21 I was able to get past this issue.

Yeah that one is fine for me also.
I'd wanted to use the new xml functionality where I can run it like:

diskspd.exe -t12 -o32 -r4k -w0 -d30 -Sh -D -L -c5G -Rpxml .\IO.dat > .\profile.xml
diskspd.exe -X'profile.xml' > .\bench.xml

And this works on my pc with Windows10 ver.1909 18363.1801 build
But sadly not with win server 2012 r2

dl2n commented

This is strange - the binaries are being produced out of our internal processes targeting Windows 7/2008 R2. I'll see about figuring out what went wrong with that. If you have the ability to compile from source that should work.

I use visual studio 2019 to compile diskspd version 2.1.0.0 and it works on the Windows Server 2012 R2 Build 9600.

and, the pre-built binary show "api-ms-win-core-libraryloader-l1-2-0.dll" on the Windows Server 2008 R2 Build 7601.
image

Indeed, if compiled from source I can get it working on windows server 2012 R2.

getting same error with latest (? 2.1) pre-compiled version.
win2008 R2 standard, SP1.

:(