logoalt Hacker News

ajasmin • yesterday at 5:49 PM • 1 reply • view on HN

Is there a tool in Windows that will dump all of a process context to debug these kind of things: CWD, env vars, current user, elevation, etc.


Replies

donalhunt • yesterday at 9:54 PM

The Process Environment Block (PEB) should provide this info.

Process Explorer (Sysinternals) and System Informer both provide access to this info. There are powershell commands that will allow you to inspect it too.