From aa0ab287ca2c7c7a3e78fb9cae0e744ac0278117 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 12 Jun 2026 23:37:51 -0600 Subject: [PATCH] balzac --- Windows-Scripts/windows-repair.ps1 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Windows-Scripts/windows-repair.ps1 b/Windows-Scripts/windows-repair.ps1 index 8b1a7f7..a210c20 100644 --- a/Windows-Scripts/windows-repair.ps1 +++ b/Windows-Scripts/windows-repair.ps1 @@ -19,26 +19,27 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S Write-Host "`nFIXING WINDOWS FULL STYLE`n" Write-Host "ABORTING ANY SCHEDULED SHUTDOWN" - shutdown /a 2> $null > $null # cmd abort scheduled shutdowns + shutdown.exe /a 1> $null # cmd abort scheduled shutdowns Write-Host "GENERATING AND DISPLAYING COMPREHENSIVE STABILITY REPORT" - Start-Process "perfmon" -ArgumentList "/report" -Wait + Start-Process "perfmon.exe" -ArgumentList "/report" -Wait Write-Host "GENERATING AND DISPLAYING STABILITY HISTORY" - Start-Process "perfmon" -ArgumentList "/rel" -Wait + Start-Process "perfmon.exe" -ArgumentList "/rel" -Wait Write-Host "CLEARING DNS" - ipconfig /flushsdns > $null + ipconfig.exe /flushsdns 1> $null Write-Host "CLEARING ARP CACHE" - Remove-NetNeighbor -Confirm:$false > $null + Remove-NetNeighbor -Confirm:$false 1> $null Write-Host "CLEARING ALL SAMBA CREDENTIALS" - net use * /delete /y > $null 2> $null + net.exe use * /delete /y 1> $null # nuke all samba creds Write-Host "RENEWING DHCP" - ipconfig /releasen > $null - ipconfig /renew > $null + # release and renew dhcp + ipconfig.exe /release 1> $null + ipconfig.exe /renew 1> $null Write-Host "UPDATING MALWARE SIGNATURES" Update-MpSignature # update windows defender malware siggs