How to disable Aero Peek during Alt+Tab?
Problem
Aero Peek is a nice feature generally but I find it very annoying during Alt+Tabbing (peek windows hiding the switch dialog, it doesn't really work on multiple monitors etc.). Is there a way to disable Aero Peek only during the Alt+Tab operation? I don't want to turn it off globally.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Disable Aero Peek During Alt+Tab Operation
Aero Peek is a Windows feature that allows users to preview open windows by hovering over their taskbar icons. During the Alt+Tab operation, this feature can interfere with the visibility of the window switcher, especially on multi-monitor setups, as it may display previews that obscure the Alt+Tab dialog. Unfortunately, Windows does not provide a built-in option to disable Aero Peek specifically during Alt+Tab, but we can achieve a workaround using registry settings and a script.
Awaiting Verification
Be the first to verify this fix
- 1
Create a Registry Backup
Before making changes to the Windows Registry, it's crucial to create a backup. This allows you to restore the original settings if something goes wrong.
bashreg export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced C:\Backup\AeroPeekBackup.reg - 2
Modify Registry for Aero Peek
Change the registry setting that controls Aero Peek. This setting will disable Aero Peek temporarily during Alt+Tab operations.
bashreg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v EnableAeroPeek /t REG_DWORD /d 0 /f - 3
Create a Script to Toggle Aero Peek
Create a script that toggles Aero Peek on and off. This script will allow you to disable Aero Peek before using Alt+Tab and re-enable it afterward.
bashecho "reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v EnableAeroPeek /t REG_DWORD /d 0 /f && timeout /t 1 && reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v EnableAeroPeek /t REG_DWORD /d 1 /f" > C:\ToggleAeroPeek.bat - 4
Run the Script Before Alt+Tab
Whenever you want to use Alt+Tab, run the created script (C:\ToggleAeroPeek.bat) to disable Aero Peek. After switching windows, the script will automatically re-enable Aero Peek.
bashC:\ToggleAeroPeek.bat
Validation
To confirm the fix worked, perform an Alt+Tab operation after running the script. The Aero Peek feature should be disabled, allowing for a clear view of the Alt+Tab dialog. Check the registry setting to ensure it has reverted back to enabled after the operation.
Sign in to verify this fix