Set how many times a window flashes on the taskbar to notify you in Windows 8 and Windows 7

When some application in Windows, which is not running from the tray, requires some action from you, or wishes to notify you, its taskbar button flashes (turns orange) to seek your attention. A good example of such apps are instant messengers such as Yahoo! Messenger or the open-source Miranda IM. Any application which is not focused (opened in the background) but requires your attention will flash its button. By default, the taskbar button for such an app flashes 7 times in Windows 7 and Windows 8. Here is how to change this value to reduce the number of times it flashes or make it flash until you click on it.

The flashing count is controlled via a special Registry value, as described below.

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CURRENT_USER\Control panel\Desktop

    Tip: You can access any desired Registry key with one click.
    If you do not have such a Registry key, then just create it.

  3. Create a new DWORD value here in the right pane named ForegroundFlashCount and change its value to a number between 0 and 7. 0 means it will flash an infinite number of times until you click to focus that app. Values smaller than 7 will reduce the flashing.
  4. After setting the value, restart the Explorer shell.

That's it.

To restore the default behaviour you can just delete the ForegroundFlashCount value and restart Explorer.exe again.

Leave a Reply

Your email address will not be published. Required fields are marked *