@echo off rem Providence Shield - CURE. Double-click to check this PC for known malware (free, by Providence: https://providenceai.pro/cure) rem Online: downloads the current cure script and runs it: your settings, then Microsoft Defender. Windows asks for admin rights. rem No internet: offers to run the Microsoft Defender quick scan that is built into Windows. rem Read the script first if you like: https://api.providenceai.pro/shield/files/cure.ps1.txt setlocal set "PS=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" "%PS%" -NoProfile -ExecutionPolicy Bypass -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 3072; try { $s = Invoke-RestMethod 'https://api.providenceai.pro/shield/cure.ps1' -ErrorAction Stop } catch { Write-Host ('Could not download the cure script: ' + $_.Exception.Message) -ForegroundColor Red; exit 7 }; Invoke-Expression $s" if not errorlevel 7 goto done if errorlevel 8 goto done echo. echo The cure script could not be downloaded (the reason is shown above), so NOTHING has been checked yet. echo Windows has its own scanner, Microsoft Defender. This can start its quick scan now; Windows will ask for echo administrator rights. Defender removes what it finds by itself. if defined SHIELD_ANSWER goto done "%SystemRoot%\System32\choice.exe" /C YN /M "Run the Microsoft Defender quick scan now" if errorlevel 2 goto done "%PS%" -NoProfile -Command "$m = Join-Path $env:ProgramFiles 'Windows Defender\MpCmdRun.exe'; if (-not (Test-Path $m)) { Write-Host 'Microsoft Defender was not found on this PC. Nothing was scanned.'; exit 3 }; try { $p = Start-Process -Verb RunAs -FilePath $m -ArgumentList '-Scan','-ScanType','1' -Wait -PassThru -ErrorAction Stop; if ($p.ExitCode -eq 0) { Write-Host 'Microsoft Defender quick scan finished: it reports nothing found, or that it dealt with what it found (exit code 0). See Windows Security - Protection history.' } else { Write-Host ('Microsoft Defender quick scan ended with exit code ' + $p.ExitCode + ': it found something it did not remove, or it could not finish. Open Windows Security - Protection history.') } } catch { Write-Host ('The scan did not start (administrator prompt declined?): ' + $_.Exception.Message) }" echo When this PC is online again, run this file once more for the full check. :done if not defined SHIELD_ANSWER pause endlocal