Search code examples
debuggingwindbgdebug-symbols

Agree to the Microsoft Symbol Server dialog


Various debuggers with support for the Microsoft Symbol Server display a dialog with terms of use for the service upon first invocation.

How to get rid of it?

And yes, I maintain that debugging is an inherent part of programming and software development which is why this question is not off topic. Using the symsrv.dll in Windows is an inherent part of debugging and therefore it clearly relates to programming or software development


Solution

  • In order to get rid of the dialog, you should create an empty file or directory named symsrv.yes in the folder that contains the symsrv.dll, the component responsible for displaying the dialog and providing the connectivity to the service.

    Note: there can be several instances of the DLL all over your hard drive, depending on whether the debugger you are using comes with its own copy.

    Also note: it is also possible to decline the terms by placing a file named symsrv.no instead. If both files exist, symsrv.yes will take precedence.