Symbols download: ERROR - Unable to download file. Error reported was 2

Hello,

I created manifest.txt for windows 7 embedded using:
symchk.exe /om manifest.txt /ie ntoskrnl.exe

Then I tried to download the symbols with:
symchk /im manifest.txt /s SRVC:\MySymbolshttp://msdl.microsoft.com/download/symbols

The problem: c:\MySymbols was not created.
For all lines in manifest.txt I got:
ERROR - Unable to download file. Error reported was 2

Can you please tell what is wrong with this procedure ?

I ran symchk under windows 10 (64) with admin privilege.
Attached manifest.txt

Thank you,
Zvika

What if you create this directory first?

Hi Pavel,

I created c:\MySymbols (also tried d:\MySymbols) and then ran symchk.
Problem is the same.

Can you please try my manifest.txt with my command at your place ?

Best regards,
Zvika

Hi Zvi,

I’ve run this command wih your manifest:

C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\symchk.exe /im "%USERPROFILE%\Downloads\manifest.txt" /s srv*c:\tmp\dbgsyms*https://msdl.microsoft.com/download/symbols

It downloads. Directory c:\tmp\dbgsyms already existed.

Regards,
– pa

Hi Paval, All,

The cause to the problem:
I ran symchk in a PC that has only symchk.exe, symbolcheck.dll
When I installed DDK and ran it, it’s working.

Thank you very much,
Zvika