From ddec60146b36acf5ec11546938fcd04e547000ed Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 19:25:44 -0600 Subject: [PATCH] testan weindows fizz --- Windows-Scripts/windows-repair.ps1 | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index badeb2c..3419aeb 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -19,33 +19,44 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Write-Host "`nFIXING WINDOWS FULL STYLE`n" Write-Host "ABORTING ANY SCHEDULED SHUTDOWN" - shutdown /a | Out-Null # cmd abort scheduled shutdowns + shutdown /a > $null # cmd abort scheduled shutdowns + + Write-Host "GENERATING AND DISPLAYING COMPREHENSIVE STABILITY REPORT" + Start-Process "perfmon" -ArgumentList "/report" -Wait + + Write-Host "GENERATING AND DISPLAYING STABILITY HISTORY" + Start-Process "perfmon" -ArgumentList "/rel" -Wait Write-Host "CLEARING DNS" - ipconfig /flushsdns | Out-Null + ipconfig /flushsdns > $null Write-Host "CLEARING ARP CACHE" - Remove-NetNeighbor -Confirm:$false | Out-Null + Remove-NetNeighbor -Confirm:$false > $null Write-Host "RENEWING DHCP" - ipconfig /releasen | Out-Null - ipconfig /renew | Out-Null + ipconfig /releasen > $null + ipconfig /renew > $null Write-Host "LAUNCHING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT) FOLLOW DIRECTIONS FOR FULL SCAN" Start-Process "MRT.exe" -NoNewWindow -Wait # builtin malware removal tools -ArgumentList Write-Host "RUNNING DISM ONLINE IMAGE CLEANUP" - Start-Process "DISM.exe" -ArgumentList "/Online /Cleanup-Image /RestoreHealth" -Wait -NoNewWindow # powershell checks image and replaces bad filesm waits to fimis + DISM /Online /Cleanup-Image /RestoreHealth + # 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" -ArgumentList "/scannow" -Wait -NoNewWindow # cmd system file checker, retreives and replaces bad system files and waits fir it to finish + SFC /scannow + # 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" -ArgumentList "-c 'echo y | chkdsk /f /r C:; exit'" # cmd checks C drive after reboot to waste time and fix errors (noninteractive) + 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" Start-MpWDOScan # powershell starts Windows Defender Offline Scan after reboot + Write-Host "SCHEDULINMG OFFLINE MEMTEST" + mdsched.exe + Write-Host "`nREBOOTING IN 5 MINUTES MAX PROVBABLY SOONER`n" shutdown /r /t 300 } \ No newline at end of file