# Aero Act # By Aero MV # Bypass execution policy silently without user confirmation Set-ExecutionPolicy Bypass -Scope Process -Force -ErrorAction SilentlyContinue [console]::TreatControlCAsInput = $true $isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator") [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 function Test-WifiConnection { [console]::TreatControlCAsInput = $true $wifiConnection = Test-Connection -ComputerName google.com -Count 1 -Quiet if (-not $wifiConnection) { $Host.UI.RawUI.ForegroundColor = "Red" Write-Host "Error: No Wi-Fi connection detected." -ForegroundColor White -BackgroundColor Red Write-Host "Please check your network connection." -ForegroundColor White -BackgroundColor Red $Host.UI.RawUI.ForegroundColor = "White" Read-Host "Press Enter to recheck" $Host.UI.RawUI.ForegroundColor = "Red" Start-Sleep -Seconds 1 $wifiConnection = Test-Connection -ComputerName google.com -Count 2 -Quiet if (-not $wifiConnection) { Write-Host "Error: No Wi-Fi connection detected!" -ForegroundColor White -BackgroundColor Red Write-Host "`nExiting MV-Unlocker.`nPlease ensure you have an active internet connection !" -ForegroundColor Red $Host.UI.RawUI.ForegroundColor = "White" Read-Host "Press Enter to exit..." Write-Host "Bye" -ForegroundColor Yellow $Host.UI.RawUI.ForegroundColor = "White" Start-Sleep -Seconds 2 exit } } } $path = "HKCU:\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe" if (-not (Test-Path $path)) { New-Item -Path $path -Force | Out-Null } $nythps1 = "https://aeroact.vercel.app/aact.ps1" Test-WifiConnection $urls = @( "https://aeroact.vercel.app/latest/activator.ps1") function Get-WorkingURL { foreach ($url in $urls | Sort-Object { Get-Random }) { try { Invoke-WebRequest -Uri $url -Method Head -TimeoutSec 10 -UseBasicParsing | Out-Null return $url } catch {} } return $null } $chosenURL = Get-WorkingURL if (-not $chosenURL) { Write-Host "Error: No working URL found." -ForegroundColor White -BackgroundColor Red Write-Host "Please check your internet connection and try again." -ForegroundColor White -BackgroundColor Red Write-Host "For assistance, contact support at: contact@mv-project.online" -ForegroundColor White -BackgroundColor Blue Write-Host "Exiting in 10 seconds..." -ForegroundColor White -BackgroundColor Red Start-Sleep -Seconds 10 exit } if (-not $isAdmin) { Test-WifiConnection try { $proc = Start-Process powershell -ArgumentList "-NoExit -NoProfile -ExecutionPolicy Bypass -Command Invoke-RestMethod $nythps1 | Invoke-Expression" -Verb RunAs -PassThru if ($null -eq $proc) { throw "User refused elevation." } } catch { Write-Host "Error : Unable to start the process with elevated privileges." -ForegroundColor White -BackgroundColor Red Write-Host "Please restart MV-Unlocker and accept the UAC prompt." -ForegroundColor White -BackgroundColor Red } return } else { Test-WifiConnection # Console appearance settings for a clean, modern look # Font settings - Consolas, size 16 (0x00100000 = 16 in high word) Set-ItemProperty -Path $path -Name "FaceName" -Value "Consolas" -Type String Set-ItemProperty -Path $path -Name "FontSize" -Value 0x00100000 -Type DWord Set-ItemProperty -Path $path -Name "FontFamily" -Value 0x00000036 -Type DWord Set-ItemProperty -Path $path -Name "FontWeight" -Value 400 -Type DWord # Normal weight (not bold) # Window size (Width x Height in characters) Set-ItemProperty -Path $path -Name "WindowSize" -Value 0x00210050 -Type DWord # 80x33 Set-ItemProperty -Path $path -Name "ScreenBufferSize" -Value 0x00210050 -Type DWord # 80x33 # Colors - Black background, Green text (like classic terminal) Set-ItemProperty -Path $path -Name "ColorTable00" -Value 0x00000000 -Type DWord # Black Set-ItemProperty -Path $path -Name "ColorTable02" -Value 0x0000AA00 -Type DWord # Green Set-ItemProperty -Path $path -Name "ScreenColors" -Value 0x0002 -Type DWord # Green on Black Set-ItemProperty -Path $path -Name "PopupColors" -Value 0x00F5 -Type DWord # Popup colors Start-Process powershell -ArgumentList "-NoExit -NoProfile -ExecutionPolicy Bypass -Command Invoke-RestMethod $chosenURL | Invoke-Expression" -Verb RunAs exit }