Guest User

Batch file to disable HP's Keylogger MicTray and MicTray.exe

a guest
May 11th, 2017
3,201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.56 KB | None | 0 0
  1. @echo off
  2.  
  3. IF EXIST "%PROGRAMFILES(X86)%" (GOTO Install64) ELSE (GOTO Install32)
  4.  
  5. :Install64
  6.     echo Adding registry key to disable MicTray64.exe...
  7.     REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MicTray64.exe" /v "debugger" /t REG_SZ /d "devenv /debugexe"
  8. GOTO END
  9.  
  10. :Install32
  11.     echo Adding registry key to disable MicTray.exe...
  12.     REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\MicTray.exe" /v "debugger" /t REG_SZ /d "devenv /debugexe"
  13. GOTO END
  14.  
  15. :END
  16.     echo Success!
  17.     timeout 20
Add Comment
Please, Sign In to add comment