Question

In command line I have run the following command: C:> set _NT_SYMBOL_PATH=srvc:\symbolshttp://msdl.microsoft.com/download/symbols enter image description here

But when I run the following command in adplus.exe

C:\Program Files (x86)\Debugging Tools for Windows (x86)>ADPlus -crash -pn w3wp .exe -o C:\dumps

I always get this warning: enter image description here

Was it helpful?

Solution

When you run the set command in a CMD shell it will only set the environment variable for that particular CMD instance and typically child processes. From your question it looks like you may be running the set and ADPlus commands from different CMD consoles. If that's the case this is the source of the problem.

In order to set a permanent environment variable do the following

  • Click on the Start Menu
  • Right click on Computer and select Properties
  • Select Adavanced System Settings
  • Click Environment Variables
  • Click New on User variables for ...
  • Add the _NT_SYMBOL_PATH value there

OTHER TIPS

The variable I'm using is formatted a bit differently (note the "symsrv" instead of just "srv", and the dll is referenced.) An example can be found on Microsoft KB 311503.

_NT_SYMBOL_PATH=symsrv*symsrv.dll*d:\debug\symbols*http://msdl.microsoft.com/download/symbols
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top