From aafd05c9f3fb39248ae96bd46c803543cced0522 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 23:25:15 -0600 Subject: [PATCH] close to final rev --- Windows-Scripts/windows-repair.ps1 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index 86b52ce..8b1a7f7 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -43,20 +43,23 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Write-Host "UPDATING MALWARE SIGNATURES" Update-MpSignature # update windows defender malware siggs - Write-Host "LAUNCHING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT, MAY TAKE A LONG TIME, WONT SHOW STATUS)" - Start-Process -FilePath "MRT.exe" -ArgumentList "/F:Y /Q" -Wait # do full microsoft malicious software removal scan in background automatically removing anything found, wait to proceed + Write-Host "RUNNING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT, MAY TAKE A LONG TIME, WONT SHOW STATUS)" + # Start-Process -FilePath "MRT.exe" -ArgumentList "/F:Y /Q" -Wait # do full microsoft malicious software removal scan in background automatically removing anything found, wait to proceed - Write-Host "UPDATING MALWARE SIGNATURES" + Write-Host "UPDATING MALWARE SIGNATURES (AGAIN)" Update-MpSignature # update windows defender malware siggs - Write-Host "PERFORMING FULL WINDOWS DEFENDER SCAN" + Write-Host "RUNNING FULL WINDOWS DEFENDER SCAN" Start-MpScan -ScanType FullScan # full windows defender scan Write-Host "RUNNING DISM ONLINE IMAGE CLEANUP" - DISM.exe /Online /Cleanup-Image /RestoreHealth + DISM.exe /Online /Cleanup-Image /RestoreHealth # online check for bad files - Write-Host "LAUNCHING SYSTEM FILE CHECKER (SFC)" - SFC.exe /scannow + Write-Host "RUNNING SYSTEM FILE CHECKER (SFC)" + SFC.exe /scannow # older check for bad files + + Write-Host "SCHEDULING ESSENTIAL FILE CHECK ON NEXT BOOT" + SFC.exe /scanonce # check essential files on next boot Write-Host "SCHEDULING OFFLINE CHECK DISK AND REPAIR OF C: (CHKDSK)" echo y | chkdsk.exe /f /r C: # cmd checks C drive after reboot to waste time and fix errors (noninteractive via y ffuckery)