# Lista de ejecutables de Roblox, MEmu y BlueStacks $listadoBloqueo = @( # Roblox "RobloxPlayerBeta.exe", "RobloxPlayerLauncher.exe", "RobloxAppLauncher.exe", # MEmu "MEmu.exe", "MEmuConsole.exe", "MEmuHeadless.exe", "MultipleMEmu.exe", # BlueStacks "HD-Player.exe", "BlueStacks.exe", "BstkHD.exe", "HD-MultiInstanceExtract.exe", "BlueStacksServices.exe" ) Write-Host "Iniciando bloqueo de aplicaciones..." -ForegroundColor Cyan foreach ($exe in $listadoBloqueo) { $registryPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\$exe" try { # Crear la llave si no existe if (!(Test-Path $registryPath)) { New-Item -Path $registryPath -Force | Out-Null } # Aplicar el bloqueo (Redirigir a un proceso nulo) New-ItemProperty -Path $registryPath -Name "Debugger" -Value "systray.exe" -PropertyType String -Force | Out-Null Write-Host "[BLOQUEADO] -> $exe" -ForegroundColor Green } catch { Write-Host "[ERROR] No se pudo bloquear $exe: $($_.Exception.Message)" -ForegroundColor Red } } # Matar procesos si están abiertos actualmente Write-Host "Cerrando procesos activos si existen..." -ForegroundColor Yellow $listadoBloqueo | ForEach-Object { $name = $_.Replace(".exe", "") Stop-Process -Name $name -Force -ErrorAction SilentlyContinue } Write-Host "Operación completada." -ForegroundColor Cyan