Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to retrieve the name of the user that was signed in when the dump was created. Is that possible to do with windbg? I did some searching and couldn't find anything.

share|improve this question
up vote 1 down vote accepted

try this command:

!envvar USERNAME

This reads the Environment-variable username which is filled by the system.

share|improve this answer
In case of a user mode dump and if the environment variable was not changed explicitly. – Thomas Weller Mar 2 '15 at 16:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.