Skip to content

Instantly share code, notes, and snippets.

@TheCrether
Last active February 27, 2021 18:03
Show Gist options
  • Save TheCrether/b0cf77d06530b1db561857ccf8ac1435 to your computer and use it in GitHub Desktop.
Save TheCrether/b0cf77d06530b1db561857ccf8ac1435 to your computer and use it in GitHub Desktop.
taskmgr with process explorer
reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v Debugger /f
start taskmgr.exe
reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe" /v Debugger /t REG_SZ /d "Your Process Explorer Path" /f
@TheCrether
Copy link
Author

For this, you need to replace "Your Process Explorer Path" with your process explorer path and this can only be executed with Administrator privileges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment