How to Troubleshoot Azure ATP (Advanced Threat Protection) Sensor Failed Installs (Installations) - August 2022
Retrieve your list of serversImport the list of servers from a text file into your Remote Desktop ProgramRemote into each ServerFrom a command line or PowerShell type: services.mscCheck to see if the AATPSensor service is runningCreate a TEMP folder in the root of C:\ DriveFrom a command line or PowerShell type: mkdir "C:\temp"From a command line or PowerShell type: mkdir "C:\temp\registry backup"From a command line or PowerShell type: REGEDITFrom a command line or PowerShell type: reg export HKCR "C:\temp\registry backup\HKCR.Reg" /yFrom a command line or PowerShell type: reg export HKCR "C:\temp\registry backup\HKCU.Reg" /yFrom a command line or PowerShell type: reg export HKCR "C:\temp\registry backup\HKLM.Reg" /yFrom a command line or PowerShell type: reg export HKCR "C:\temp\registry backup\HKU.Reg" /yFrom a command line or PowerShell type: reg export HKCR "C:\temp\registry backup\HKCC.Reg" /yFrom a command line type: wmic product get nameFrom PowerShell type: Get-WmiObject -Class Win32_ProductFrom a command line type: MSIEXEC /X {c0bf9f15-5220-4f89-abae-11320e145a37}From a command line or PowerShell type: cd "C:\ProgramData\Package Cache\{c0bf9f15-5220-4f89-abae-11320e145a37}\"From a command line type: "wmic product get name "Azure ATP Sensor Setup.exe" /uninstall /quietFrom PowerShell type: $MyApp = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "Azure Advanced Threat Protection Sensor"}From PowerShell type: $MyApp.Uninstall()From a command line or PowerShell type: REGEDITSearch/Find: Azure AdvancedFrom PowerShell type: Get-ChildItem -Path HKLM:\ -Recurse -Include *azure* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCU:\ -Recurse -Include *azure* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCC:\ -Recurse -Include *azure* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCR:\ -Recurse -Include *azure* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKU:\ -Recurse -Include *azure* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKLM:\ -Recurse -Include *atp* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCU:\ -Recurse -Include *atp* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCC:\ -Recurse -Include *atp* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKCR:\ -Recurse -Include *atp* -ErrorAction SilentlyContinueFrom PowerShell type: Get-ChildItem -Path HKU:\ -Recurse -Include *atp* -ErrorAction SilentlyContinueTHIS BASICALLY BRINGS US TO THE END OF RUNNING A NUKE UNINSTALL REMOVAL OF AZURE ATP (ADVANCED THREAT PROTECTION)NOW WE WANT TO BEGIN THE INSTALL/REINSTALLFrom a command line or PowerShell type: cd "C:\temp\AdvancedThreatProtection"From a command line type: "Azure ATP sensor Setup.exe" /quiet NetFrameworkCommandLineArguments="/q" AccessKey="jdkjfaojdfjajlkjflaijdjsajdfidfjaindifnaindinjk3iijjj030j33820j0jdd"