Comandos de Optimización para Windows 11

Ejecuta estos comandos en PowerShell como Administrador.

1. Desactivar Telemetría

POWERSHELL
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\DataCollection" -Name "AllowTelemetry" -Value 0

¿Qué hace? Detiene el envío de datos de uso a Microsoft.

2. Desactivar Servicios Innecesarios

POWERSHELL
"ps-variable">$servicios = @("DiagTrack", "SysMain", "WSearch", "dmwappushservice", "MapsBroker", "lfsvc", "RetailDemo")
foreach ("ps-variable">$s in "ps-variable">$servicios) {
Stop-Service -Name "ps-variable">$s -Force -ErrorAction SilentlyContinue
Set-Service -Name "ps-variable">$s -StartupType Disabled -ErrorAction SilentlyContinue
}

¿Qué hace?

  • DiagTrack: Telemetría y diagnósticos
  • SysMain: Superfetch, precarga apps en RAM
  • WSearch: Indexación de Windows Search
  • dmwappushservice: Mensajería push de telemetría
  • MapsBroker: Descarga de mapas offline
  • lfsvc: Servicio de geolocalización
  • RetailDemo: Modo demo de tiendas
  • 3. Desactivar Cortana

    POWERSHELL
    New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Name "AllowCortana" -Value 0 -PropertyType DWord -Force

    ¿Qué hace? Desactiva Cortana completamente.

    4. Desactivar Sugerencias y Anuncios

    POWERSHELL
    "ps-variable">$paths = @(
    "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
    )
    "ps-variable">$keys = @(
    "SubscribedContent-338388Enabled",
    "SubscribedContent-310093Enabled",
    "SubscribedContent-338389Enabled",
    "SilentInstalledAppsEnabled",
    "SoftLandingEnabled",
    "FeatureManagementEnabled"
    )
    foreach ("ps-variable">$key in "ps-variable">$keys) {
    Set-ItemProperty -Path "ps-variable">$paths[0] -Name "ps-variable">$key -Value 0 -ErrorAction SilentlyContinue
    }

    ¿Qué hace? Elimina sugerencias, anuncios y apps que se instalan solas.

    5. Desactivar Hibernación

    POWERSHELL
    powercfg -h off

    ¿Qué hace? Elimina hiberfil.sys y libera varios GB de espacio.

    6. Activar TRIM para SSD

    POWERSHELL
    fsutil behavior set DisableDeleteNotify 0

    ¿Qué hace? Mantiene el SSD saludable y con buen rendimiento.

    7. Limpiar Archivos Temporales

    POWERSHELL
    Remove-Item -Path ""ps-variable">$env:TEMP\" -Recurse -Force -ErrorAction SilentlyContinue
    Remove-Item -Path "C:\Windows\Temp\
    " -Recurse -Force -ErrorAction SilentlyContinue
    Remove-Item -Path "C:\Windows\Prefetch\*" -Recurse -Force -ErrorAction SilentlyContinue
    Clear-RecycleBin -Force -ErrorAction SilentlyContinue

    ¿Qué hace? Limpia temporales, prefetch y papelera.

    8. Desactivar Efectos Visuales

    POWERSHELL
    Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "UserPreferencesMask" -Value ([byte[]](0x90,0x12,0x03,0x80,0x10,0x00,0x00,0x00))
    Set-ItemProperty -Path "HKCU:\Control Panel\Desktop\WindowMetrics" -Name "MinAnimate" -Value 0
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarAnimations" -Value 0
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\DWM" -Name "EnableAeroPeek" -Value 0

    ¿Qué hace? Desactiva animaciones, transparencias y efectos para más rendimiento.

    9. Plan de Energía Alto Rendimiento

    POWERSHELL
    powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
    powercfg -setacvalueindex SCHEME_CURRENT SUB_PROCESSOR PERFBOOSTMODE 2
    powercfg -setactive SCHEME_CURRENT

    ¿Qué hace? Activa máximo rendimiento del CPU.

    10. Optimizar Red (Reduce latencia)

    POWERSHELL
    Set-NetTCPSetting -SettingName InternetCustom -AutoTuningLevelLocal Disabled -ErrorAction SilentlyContinue
    netsh int tcp set global autotuninglevel=disabled
    netsh int tcp set global timestamps=disabled
    netsh int tcp set global rss=enabled

    ¿Qué hace? Reduce latencia de red, ideal para gaming.

    11. Desactivar Xbox Game Bar y DVR

    POWERSHELL
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\GameDVR" -Name "AppCaptureEnabled" -Value 0
    Set-ItemProperty -Path "HKCU:\System\GameConfigStore" -Name "GameDVR_Enabled" -Value 0
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\GameBar" -Name "UseNexusForGameBarEnabled" -Value 0

    ¿Qué hace? Desactiva grabación en segundo plano y overlay de Xbox.

    12. Desactivar Windows Defender (Solo si usas otro antivirus)

    POWERSHELL
    Set-MpPreference -DisableRealtimeMonitoring "ps-variable">$true

    ¿Qué hace? Desactiva la protección en tiempo real. Solo si tienes otro antivirus.

    13. Limpiar Caché de DNS e IP

    POWERSHELL
    Clear-DnsClientCache
    ipconfig /release
    ipconfig /renew
    netsh winsock reset

    ¿Qué hace? Limpia caché de red y renueva conexión.

    14. Desactivar Widgets

    POWERSHELL
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarDa" -Value 0

    ¿Qué hace? Elimina el panel de widgets de la barra de tareas.

    15. Desactivar Bing en el Menú Inicio

    POWERSHELL
    Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" -Name "DisableSearchBoxSuggestions" -Value 1 -Force

    ¿Qué hace? Elimina las búsquedas web de Bing al buscar en el menú inicio.

    16. Verificar y Reparar Sistema

    POWERSHELL
    sfc /scannow
    DISM /Online /Cleanup-Image /RestoreHealth
    chkdsk C: /F /R

    ¿Qué hace? Repara archivos corruptos y verifica el disco. El chkdsk requiere reinicio.

    17. Desactivar Notificaciones de Apps

    POWERSHELL
    Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\PushNotifications" -Name "ToastEnabled" -Value 0

    ¿Qué hace? Desactiva todas las notificaciones toast.

    18. Aumentar Prioridad de GPU para Juegos

    POWERSHELL
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" -Name "GPU Priority" -Value 8
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Games" -Name "Priority" -Value 6

    ¿Qué hace? Da prioridad a los juegos en el uso de GPU y CPU.

    Notas Importantes

  • Algunos cambios requieren reiniciar el PC
  • Si algo no funciona bien, revierte el cambio específico
  • El comando de Defender solo usar si tienes otro antivirus
  • Haz un punto de restauración antes de ejecutar cambios masivos