From a515b9c765eb1a862a3d4847bc485e13cdd992eb Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 23:15:57 -0600 Subject: [PATCH] close to final rev --- Windows-Scripts/windows-repair.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index 7892e80..37daa85 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -33,15 +33,15 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Write-Host "CLEARING ARP CACHE" Remove-NetNeighbor -Confirm:$false > $null - Write-Host "Clearing all SAMBA Credentials" + Write-Host "CLEARING ALL SAMBA CREDENTIALS" net use * /delete /y > $null Write-Host "RENEWING DHCP" ipconfig /releasen > $null ipconfig /renew > $null - Write-Host "LAUNCHING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT) FOLLOW DIRECTIONS FOR FULL SCAN (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, wait to proceed + 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 "UPDATING MALWARE SIGNATURES" Update-MpSignature # update windows defender malware siggs @@ -56,13 +56,13 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S SFC.exe /scannow Write-Host "SCHEDULING OFFLINE CHECK DISK AND REPAIR OF C: (CHKDSK)" - Write-Host y | chkdsk.exe /f /r C: # cmd checks C drive after reboot to waste time and fix errors (noninteractive) + echo y | chkdsk.exe /f /r C: # cmd checks C drive after reboot to waste time and fix errors (noninteractive via y ffuckery) - Write-Host "SCHEDULING WINDOWS DEFENDER OFFLINE SCAN MAY REBOOT UNEXPECTEDL" + Write-Host "SCHEDULING WINDOWS DEFENDER OFFLINE SCAN MAY REBOOT UNEXPECTEDLY" Start-MpWDOScan # powershell starts Windows Defender Offline Scan after reboot Write-Host "SCHEDULINMG OFFLINE MEMTEST" - mdsched.exe # schedule offline memtest + mdsched.exe /s # schedule offline memtest (noninteractive) Write-Host "`nREBOOTING IN 5 MINUTES MAX PROVBABLY SOONER`n" shutdown.exe /r /t 300 # shutdown in 5 minutes as failsafe