Download and Run the latest version of AdwCleaner for virus/adware scan

main
LeDragoX 4 years ago committed by Plínio Larrubia
parent deae1694d5
commit fb38030a73
No known key found for this signature in database
GPG Key ID: 057B0A87CB137C69

@ -66,6 +66,12 @@ function RunDebloatSoftwares {
Start-Process -FilePath ".\OOSU10.exe" -ArgumentList "ooshutup10.cfg", "/quiet" -Wait # quiet may be better? # Wait until the process closes
Remove-Item "*.*" -Exclude "*.cfg" -Force # Leave no traces
Pop-Location
Push-Location "AdwCleaner"
Start-BitsTransfer -Source "https://downloads.malwarebytes.com/file/adwcleaner" -Destination "adwcleaner.exe"
Start-Process -FilePath ".\adwcleaner.exe" -ArgumentList "/eula", "/clean", "/noreboot" -Wait
Remove-Item ".\adwcleaner.exe" -Force
Pop-Location
Pop-Location
Push-Location "..\utils"
@ -520,7 +526,7 @@ function TweaksForSecurity {
Write-Host "+ Enabling Windows Defender Sandbox mode... (if you already use another antivirus, this will make nothing)"
setx /M MP_FORCE_USE_SANDBOX 1 # Restart the PC to apply the changes, 0 to Revert
# The "utils\Shutdown-Shortcut-To-Desktop.bat" file actually uses .vbs script, so, i'll make this optional
# The "OpenPowershellHere.cmd" file actually uses .vbs script, so, i'll make this optional
# [DIY] Disable Windows Script Host (execution of *.vbs scripts and alike)
#Write-Host "- Disabling Windows Script Host..."
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows Script Host\Settings" -Name "Enabled" -Type DWord -Value 0

Loading…
Cancel
Save