close to final rev

This commit is contained in:
2026-06-12 23:15:57 -06:00
parent 30a81a23ca
commit a515b9c765
+6 -6
View File
@@ -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