From 0ce174f0f75eacfe240481a5d6fad0c80d3f403b Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 18:58:24 -0600 Subject: [PATCH] testan weindows fizz --- Windows-Scripts/windows-repair.ps1 | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index f6ece52..badeb2c 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -21,28 +21,27 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Write-Host "ABORTING ANY SCHEDULED SHUTDOWN" shutdown /a | Out-Null # cmd abort scheduled shutdowns - Write-Host "Clearing DNS" + Write-Host "CLEARING DNS" ipconfig /flushsdns | Out-Null - Write-Host "Clearing ARP Cache" + Write-Host "CLEARING ARP CACHE" Remove-NetNeighbor -Confirm:$false | Out-Null - Write-Host "Renewing DHCP" + Write-Host "RENEWING DHCP" ipconfig /releasen | Out-Null ipconfig /renew | Out-Null Write-Host "LAUNCHING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT) FOLLOW DIRECTIONS FOR FULL SCAN" - # mrt # builtin malware removal tools - Start-Process -FilePath "MRT.exe" -Verb RunAs -Wait # pause until mrt is done + Start-Process "MRT.exe" -NoNewWindow -Wait # builtin malware removal tools -ArgumentList Write-Host "RUNNING DISM ONLINE IMAGE CLEANUP" - Start-Process -FilePath "DISM.exe" -Verb RunAs -ArgumentList "/Online /Cleanup-Image /RestoreHealth" -Wait # powershell checks image and replaces bad filesm waits to fimish + Start-Process "DISM.exe" -ArgumentList "/Online /Cleanup-Image /RestoreHealth" -Wait -NoNewWindow # powershell checks image and replaces bad filesm waits to fimis Write-Host "LAUNCHING SYSTEM FILE CHECKER (SFC)" - Start-Process "SFC.exe" -Verb RunAs -ArgumentList "/scannow" -Wait # cmd system file checker, retreives and replaces bad system files and waits fir it to finish + Start-Process "SFC.exe" -ArgumentList "/scannow" -Wait -NoNewWindow # cmd system file checker, retreives and replaces bad system files and waits fir it to finish Write-Host "SCHEDULING OFFLINE CHECK DISK AND REPAIR OF C: (CHKDSK)" - Start-Process "cmd.exe" -Verb RunAs -ArgumentList "-c 'echo y | chkdsk /f /r C:'" # cmd checks C drive after reboot to waste time and fix errors (noninteractive) + Start-Process "cmd.exe" -ArgumentList "-c 'echo y | chkdsk /f /r C:; exit'" # cmd checks C drive after reboot to waste time and fix errors (noninteractive) Write-Host "SCHEDULING WINDOWS DEFENDER OFFLINE SCAN MAY REBOOT UNEXPECTEDL" Start-MpWDOScan # powershell starts Windows Defender Offline Scan after reboot