Advertisement
Guest User

Conexant HD Audio Driver Package Keylogger Fix

a guest
May 12th, 2017
3,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # Add Support for Powershell V2
  2. if(!$PSScriptRoot){$PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent}
  3.  
  4. # Change Location to Script root
  5. Push-Location $PSScriptRoot
  6.  
  7. # Kill MicTray Process
  8. Stop-Process -processname MicTray* -Force
  9. Sleep 3
  10.  
  11. ## Remove Affected Files
  12. If (Test-Path $env:SystemDrive\Windows\System32\MicTray64.exe) {
  13. Remove-Item -Path $env:SystemDrive\Windows\System32\MicTray64.exe -Force | Out-Null
  14. }
  15. Else {
  16. }
  17.  
  18. If (Test-Path $env:SystemDrive\Windows\System32\MicTray.exe) {
  19. Remove-Item -Path $env:SystemDrive\Windows\System32\MicTray.exe -Force | Out-Null
  20. }
  21. Else {
  22. }
  23.  
  24. If (Test-Path $env:SystemDrive\Windows\System32\MicTray64.xml) {
  25. Remove-Item -Path $env:SystemDrive\Windows\System32\MicTray64.xml -Force | Out-Null
  26. }
  27. Else {
  28. }
  29.  
  30. If (Test-Path $env:SystemDrive\Windows\System32\MicTray.xml) {
  31. Remove-Item -Path $env:SystemDrive\Windows\System32\MicTray.xml -Force | Out-Null
  32. }
  33. Else {
  34. }
  35.  
  36. If (Test-Path $env:SystemDrive\Users\Public\MicTray.log) {
  37. Remove-Item -Path $env:SystemDrive\Users\Public\MicTray.log -Force | Out-Null
  38. }
  39. Else {
  40. }
  41.  
  42. # Done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement