
10.06.2004
Debugging - launch a different app than what was requested
(another one that's not exactly .NET related, but comes in handy once in a while)
Wow - buried registry key that tells the OS to launch a different process than what was requested.
Thanks Matt!
Debugging application startup when you don't directly launch the app
For reference, if his page is gone, it's here at Microsoft.
And if THAT's gone too, the reg key is here (used by sysinternals.com process explorer to "replace" the built-in taskmgr.exe):
(more info)
in my registry, I have other apps listed that have settings other than "debugger", like "ApplicationGoo", etc. Searched on that setting and found this description of other possible settings.
Maybe I'll add this guy to my news aggregator for a while... :)
(even better)
Tim Marman comes up with a slant on how to screw with your co-workers. Replace notepad.exe with calc.exe, or LOCK WORKSTATION (%systemroot%\system32\rundll32.exe user32.dll LockWorkStation)!. User wants to browse the web, get some work done, fire up word.exe
Wow - buried registry key that tells the OS to launch a different process than what was requested.
Thanks Matt!
Debugging application startup when you don't directly launch the app
For reference, if his page is gone, it's here at Microsoft.
And if THAT's gone too, the reg key is here (used by sysinternals.com process explorer to "replace" the built-in taskmgr.exe):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe
Debugger=c:\utils\procexp.exe
(more info)
in my registry, I have other apps listed that have settings other than "debugger", like "ApplicationGoo", etc. Searched on that setting and found this description of other possible settings.
Maybe I'll add this guy to my news aggregator for a while... :)
(even better)
Tim Marman comes up with a slant on how to screw with your co-workers. Replace notepad.exe with calc.exe, or LOCK WORKSTATION (%systemroot%\system32\rundll32.exe user32.dll LockWorkStation)!. User wants to browse the web, get some work done, fire up word.exe
Comments:
Post a Comment