@echo off setlocal EnableDelayedExpansion cls :: ========================================== :: EL NEXO BENCHMARK v17 (MEJORADO) :: Motor Estable + Analisis de Inicio :: ========================================== :: 1. DETECTOR DE SESION if "%1"=="AUTO" goto :FASE_2_ANALISIS if exist "%APPDATA%\ElNexoFlag.txt" goto :CLEANUP_OLD :: --------------------------------------------------------- :: FASE 1: INICIO (USUARIO) :: --------------------------------------------------------- :FASE_1_INICIO color 0b echo. echo ============================================================= echo EL NEXO BENCHMARK - v17 (VERSION MEJORADA) echo ============================================================= echo. echo [!] ESTADO: Preparando analisis completo. echo. :: Verificacion Admin fsutil dirty query %systemdrive% >nul if %errorlevel% neq 0 goto :ERROR_NO_ADMIN echo Se realizara: echo 1. Programacion de arranque. echo 2. Analisis de aplicaciones de inicio. echo 3. REINICIO DEL SISTEMA. echo. set /p eleccion=" >> Aceptar y Reiniciar? [S/N]: " if /i "%eleccion%"=="S" goto :PREPARAR_SISTEMA if /i "%eleccion%"=="s" goto :PREPARAR_SISTEMA exit :PREPARAR_SISTEMA cls echo. echo [1/4] Creando bandera de control... echo 1 > "%APPDATA%\ElNexoFlag.txt" echo [2/4] Copiando script... copy /Y "%~f0" "%APPDATA%\ElNexoBench.bat" >nul echo [3/4] Programando Tarea de Sistema... schtasks /create /tn "ElNexoBenchTask" /tr "\"%APPDATA%\ElNexoBench.bat\" AUTO" /sc ONLOGON /rl HIGHEST /f >nul 2>&1 echo [4/4] REINICIANDO... timeout /t 2 shutdown /r /t 0 /f exit :: --------------------------------------------------------- :: FASE 2: ANALISIS (AUTO) :: --------------------------------------------------------- :FASE_2_ANALISIS cls color 0a :: AUTO-ELEVACION fsutil dirty query %systemdrive% >nul if %errorlevel% neq 0 ( powershell -Command "Start-Process '%APPDATA%\ElNexoBench.bat' -ArgumentList 'AUTO' -Verb RunAs" exit ) echo. echo ============================================= echo INICIO DETECTADO. CALCULANDO... echo ============================================= echo. :: POWERSHELL MEGA-ANALISIS powershell -NoProfile -ExecutionPolicy Bypass -Command "& { try { $ErrorActionPreference = 'Stop'; Write-Host ' [+] Obteniendo hora del Kernel...' -ForegroundColor Cyan; $os = Get-CimInstance Win32_OperatingSystem; $lastBoot = $os.LastBootUpTime; $now = Get-Date; $uptime = $now - $lastBoot; $timeSec = [math]::Round($uptime.TotalSeconds, 2); $rank = 'F'; if ($timeSec -lt 20) { $rank = 'S-PLUS' } elseif ($timeSec -lt 40) { $rank = 'A' } elseif ($timeSec -lt 70) { $rank = 'B' }; Write-Host ''; Write-Host ' [+] Analizando Hardware...' -ForegroundColor Cyan; $cpu = (Get-CimInstance Win32_Processor).Name; $gpu = (Get-CimInstance Win32_VideoController).Name; $ramObj = Get-CimInstance Win32_ComputerSystem; $ramGB = [math]::Round($ramObj.TotalPhysicalMemory / 1GB, 1); $winVer = (Get-CimInstance Win32_OperatingSystem).Caption; Write-Host ''; Write-Host ' [+] Detectando aplicaciones de inicio...' -ForegroundColor Cyan; $startupApps = Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location; $startupRegistry = Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -ErrorAction SilentlyContinue; $startupCount = $startupApps.Count; if ($startupRegistry) { $startupCount += ($startupRegistry.PSObject.Properties | Where-Object { $_.Name -ne 'PSPath' -and $_.Name -ne 'PSParentPath' -and $_.Name -ne 'PSChildName' -and $_.Name -ne 'PSDrive' -and $_.Name -ne 'PSProvider' }).Count }; $outFolder = [Environment]::GetFolderPath('MyDocuments') + '\..\Downloads\Resultados_El_Nexo'; New-Item -ItemType Directory -Force -Path $outFolder | Out-Null; $outFile = $outFolder + '\resultado_nexo.txt'; $readmeFile = $outFolder + '\LEEME_AHORA.txt'; $guiaFile = $outFolder + '\GUIA_MEJORAR_ARRANQUE.txt'; $content = '=== EL NEXO CENTER - BENCHMARK REPORT ===' + [Environment]::NewLine + '-----------------------------------------' + [Environment]::NewLine + 'TIEMPO_BOOT=' + $timeSec + 's' + [Environment]::NewLine + 'FUENTE_DATO=WMI_KERNEL (Compatible)' + [Environment]::NewLine + 'RANGO_NEXO=' + $rank + [Environment]::NewLine + '-----------------------------------------' + [Environment]::NewLine + 'CPU=' + $cpu + [Environment]::NewLine + 'GPU=' + $gpu + [Environment]::NewLine + 'RAM=' + $ramGB + ' GB' + [Environment]::NewLine + 'SISTEMA=' + $winVer + [Environment]::NewLine + 'APPS_INICIO=' + $startupCount + [Environment]::NewLine + '-----------------------------------------' + [Environment]::NewLine + 'SUBE ESTE ARCHIVO A: elnexocenter.com'; Set-Content -Path $outFile -Value $content; $readmeContent = '=== INSTRUCCIONES ===' + [Environment]::NewLine + [Environment]::NewLine + '1. El navegador se abrira automaticamente en:' + [Environment]::NewLine + ' https://elnexocenter.com/nexos/benchmark.html' + [Environment]::NewLine + [Environment]::NewLine + '2. Sube el archivo resultado_nexo.txt en la web.' + [Environment]::NewLine + [Environment]::NewLine + '3. Obten tu insignia de Rango.' + [Environment]::NewLine + [Environment]::NewLine + 'TU TIEMPO: ' + $timeSec + ' segundos (' + $rank + ')' + [Environment]::NewLine + 'APPS EN INICIO: ' + $startupCount + [Environment]::NewLine + [Environment]::NewLine + 'CONSEJO: Revisa GUIA_MEJORAR_ARRANQUE.txt para reducir tu tiempo.'; Set-Content -Path $readmeFile -Value $readmeContent; $guiaContent = '================================================================' + [Environment]::NewLine + ' GUIA: COMO MEJORAR TU TIEMPO DE ARRANQUE' + [Environment]::NewLine + ' El Nexo Center - Optimizacion de Inicio' + [Environment]::NewLine + '================================================================' + [Environment]::NewLine + [Environment]::NewLine + 'TU TIEMPO ACTUAL: ' + $timeSec + ' segundos' + [Environment]::NewLine + 'TU RANGO: ' + $rank + [Environment]::NewLine + 'APLICACIONES DETECTADAS EN INICIO: ' + $startupCount + [Environment]::NewLine + [Environment]::NewLine + '================================================================' + [Environment]::NewLine + ' APLICACIONES DETECTADAS' + [Environment]::NewLine + '================================================================' + [Environment]::NewLine + [Environment]::NewLine; foreach ($app in $startupApps) { $guiaContent += '[APP] ' + $app.Name + [Environment]::NewLine + ' Comando: ' + $app.Command + [Environment]::NewLine + ' Ubicacion: ' + $app.Location + [Environment]::NewLine + [Environment]::NewLine }; if ($startupRegistry) { $guiaContent += '--- REGISTRO (HKCU Run) ---' + [Environment]::NewLine; foreach ($prop in $startupRegistry.PSObject.Properties) { if ($prop.Name -notlike 'PS*') { $guiaContent += '[REG] ' + $prop.Name + [Environment]::NewLine + ' Ruta: ' + $prop.Value + [Environment]::NewLine + [Environment]::NewLine } } }; $guiaContent += '================================================================' + [Environment]::NewLine + ' RECOMENDACIONES DE EL NEXO' + [Environment]::NewLine + '================================================================' + [Environment]::NewLine + [Environment]::NewLine + '1. DESACTIVA ESTAS APLICACIONES (Poco Utiles):' + [Environment]::NewLine + ' ----------------------------------------' + [Environment]::NewLine + ' - Adobe Creative Cloud' + [Environment]::NewLine + ' - Spotify (iniciar manualmente cuando lo uses)' + [Environment]::NewLine + ' - Discord (iniciar manualmente)' + [Environment]::NewLine + ' - Steam / Epic Games / Origin (NO necesitan arrancar con Windows)' + [Environment]::NewLine + ' - OneDrive (si no lo usas constantemente)' + [Environment]::NewLine + ' - Microsoft Teams (si no trabajas con el a diario)' + [Environment]::NewLine + ' - Skype' + [Environment]::NewLine + ' - Aplicaciones de impresoras (HP Smart, Epson, Canon)' + [Environment]::NewLine + ' - Java Update / Adobe Updater' + [Environment]::NewLine + ' - NVIDIA GeForce Experience (usa solo el driver)' + [Environment]::NewLine + [Environment]::NewLine + '2. MANTENER ACTIVAS (Necesarias):' + [Environment]::NewLine + ' ----------------------------------------' + [Environment]::NewLine + ' - Drivers de GPU (NVIDIA/AMD Control Panel)' + [Environment]::NewLine + ' - Drivers de Audio (Realtek, etc)' + [Environment]::NewLine + ' - Antivirus / Windows Security' + [Environment]::NewLine + ' - Software de teclado/raton gaming (Logitech, Razer, Corsair)' + [Environment]::NewLine + ' - Software de sincronizacion critico (Google Drive si trabajas con el)' + [Environment]::NewLine + [Environment]::NewLine + '3. COMO DESACTIVAR APLICACIONES DE INICIO:' + [Environment]::NewLine + ' ----------------------------------------' + [Environment]::NewLine + ' METODO 1 - Administrador de Tareas:' + [Environment]::NewLine + ' a) Presiona Ctrl + Shift + Esc' + [Environment]::NewLine + ' b) Ve a la pestana \"Inicio\"' + [Environment]::NewLine + ' c) Click derecho en la app > \"Deshabilitar\"' + [Environment]::NewLine + [Environment]::NewLine + ' METODO 2 - Configuracion de Windows:' + [Environment]::NewLine + ' a) Windows + I (Configuracion)' + [Environment]::NewLine + ' b) Aplicaciones > Inicio' + [Environment]::NewLine + ' c) Desactiva las apps que no necesites' + [Environment]::NewLine + [Environment]::NewLine + '4. OPTIMIZACIONES ADICIONALES (AVANZADO):' + [Environment]::NewLine + ' ----------------------------------------' + [Environment]::NewLine + ' - Ejecuta \"Max_rendimiento_pc_El_Nexo.bat\" de la suite' + [Environment]::NewLine + ' - Desactiva servicios innecesarios con \"Process_Killer_v4.0.bat\"' + [Environment]::NewLine + ' - Limpia archivos temporales con \"Limpieza_del_sistema_El_Nexo.bat\"' + [Environment]::NewLine + ' - Optimiza tu SSD con \"Nexo_SSD_Turbo.bat\"' + [Environment]::NewLine + [Environment]::NewLine + '5. OBJETIVOS DE TIEMPO POR RANGO:' + [Environment]::NewLine + ' ----------------------------------------' + [Environment]::NewLine + ' S-PLUS: Menos de 20 segundos (Elite)' + [Environment]::NewLine + ' A: 20-40 segundos (Excelente)' + [Environment]::NewLine + ' B: 40-70 segundos (Bueno)' + [Environment]::NewLine + ' C: 70-100 segundos (Mejorable)' + [Environment]::NewLine + ' D: 100-150 segundos (Necesita optimizacion)' + [Environment]::NewLine + ' F: Mas de 150 segundos (Urgente)' + [Environment]::NewLine + [Environment]::NewLine + 'TIP: Cada app que desactives puede ahorrarte 2-5 segundos.' + [Environment]::NewLine + 'Si tienes 10+ apps innecesarias, puedes ganar 20-50 segundos!' + [Environment]::NewLine + [Environment]::NewLine + '================================================================' + [Environment]::NewLine + 'Vuelve a ejecutar el benchmark despues de optimizar para ver' + [Environment]::NewLine + 'tu mejora y subir tu nuevo rango a El Nexo Center!' + [Environment]::NewLine + '================================================================'; Set-Content -Path $guiaFile -Value $guiaContent; Write-Host ''; Write-Host ' RESULTADOS FINALES' -ForegroundColor White -BackgroundColor DarkBlue; Write-Host ' ------------------------------------'; Write-Host ' TIEMPO: ' $timeSec 's' -ForegroundColor Yellow; Write-Host ' RANGO: ' $rank -ForegroundColor Cyan; Write-Host ' APPS INICIO: ' $startupCount -ForegroundColor Magenta; Write-Host ' ------------------------------------'; Write-Host ' ARCHIVOS CREADOS EN DESCARGAS'; Write-Host ' Abriendo navegador...'; Start-Sleep -Seconds 2; Start-Process 'https://elnexocenter.com/nexos/benchmark.html'; Start-Process explorer.exe $outFolder; } catch { Write-Host ''; Write-Host ' [ERROR]: ' $_.Exception.Message -ForegroundColor Red; Read-Host 'Pause'; } }" :: LIMPIEZA FINAL schtasks /delete /tn "ElNexoBenchTask" /f >nul 2>&1 del "%APPDATA%\ElNexoFlag.txt" >nul 2>&1 del "%APPDATA%\ElNexoBench.bat" >nul 2>&1 echo. echo [FIN] Proceso completado. echo Pulsa cualquier tecla para cerrar. pause >nul exit :CLEANUP_OLD echo. echo [!] Limpiando intento anterior... del "%APPDATA%\ElNexoFlag.txt" >nul 2>&1 schtasks /delete /tn "ElNexoBenchTask" /f >nul 2>&1 goto :FASE_1_INICIO :ERROR_NO_ADMIN cls color 0c echo. echo [ERROR] EJECUTA COMO ADMINISTRADOR. pause exit