From 96b5747ad9d91b1e55678b8a226068a6e51de5b0 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 18:09:53 -0600 Subject: [PATCH] 1781309393 --- Windows-Scripts/windows-repair.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index 657b174..07d9013 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -19,7 +19,7 @@ Write-Host "Clearing DNS" ipconfig /flushsdns | Out-Null Write-Host "Clearing ARP Cache" -Start-Process -FilePath "Remove-NetNeighbor" -Verb RunAs -ArgumentList "-Confirm:$false" | Out-Null +Remove-NetNeighbor -Confirm:$false | Out-Null Write-Host "Renewing DHCP" ipconfig /releasen | Out-Null @@ -32,10 +32,10 @@ Start-Process -FilePath "MRT.exe" -Verb RunAs -Wait # pause until mrt is done 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 -Write-Host "LAUNCHING SYSTEM FILE CHECKER (sfc)" +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 -Write-Host "SCHEDULING OFFLINE CHECK DISK AND REPAIR OF C: (chkdsk)" +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) Write-Host "SCHEDULING WINDOWS DEFENDER OFFLINE SCAN MAY REBOOT UNEXPECTEDL"