{"id":18188033,"url":"https://github.com/hypfer/silenteams","last_synced_at":"2025-04-02T03:31:26.906Z","repository":{"id":54358947,"uuid":"318789658","full_name":"Hypfer/SilenTeams","owner":"Hypfer","description":"Turn off MS Teams Taskbar Notifications by employing malware techniques","archived":false,"fork":false,"pushed_at":"2021-02-23T12:31:15.000Z","size":74,"stargazers_count":41,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T08:11:33.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hypfer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-05T13:01:12.000Z","updated_at":"2024-11-28T09:22:52.000Z","dependencies_parsed_at":"2022-08-13T13:20:20.587Z","dependency_job_id":null,"html_url":"https://github.com/Hypfer/SilenTeams","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2FSilenTeams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2FSilenTeams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2FSilenTeams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypfer%2FSilenTeams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hypfer","download_url":"https://codeload.github.com/Hypfer/SilenTeams/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246750902,"owners_count":20827800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-03T02:04:24.835Z","updated_at":"2025-04-02T03:31:26.437Z","avatar_url":"https://github.com/Hypfer.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SilenTeams\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/Hypfer/SilenTeams/blob/master/img/header.png\" width=\"704\" alt=\"SilenTeams\"\u003e\n    \u003cp align=\"center\"\u003e\u003ch2\u003eFinally, a way to disable taskbar flashing\u003c/h2\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n# Preamble\n\nSo as many of us are painfully aware of, there is _no_ way of disabling taskbar flashing for Microsoft Teams.\n\nFurthermore, it completely ignores the `HKEY_CURRENT_USER\\Control panel\\Desktop\\ForegroundFlashCount` registry key by\njust calling `FlashWindowEx` multiple times in a row. Why they do that is beyond me.\n\nThis is of course completely unacceptable and insanely harmful to the productivity of a workforce which - caused by\na **pandemic** - is using Teams more than ever.\n\nEven though that it's now December of 2020 with a [Feedback Thread](https://microsoftteams.uservoice.com/forums/555103-public/suggestions/18871387-allow-us-to-turn-of-flashing-taskbar-notifications)\nbeing open since April 2017, nothing about this situation changed.\n\nTherefore, the nuclear option was chosen.\n\n# Description\n\nThis repository's release section contains a .dll file, which you can simply throw into your MS Teams installation folder\nto forcefully stop it from annoying you any further.\n\nYou are of course encouraged to build it yourself instead of just downloading a binary file.\nAfter all, this DLL could in theory inject anything into your Teams Process.\n\n# Installation\n\nDownload the SilenTeamsInstaller.ps1 and run it.\n\nPowerShell one-liner to run the latest install script:\n\n`Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process -Force; Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/Hypfer/SilenTeams/master/SilenTeamsInstaller.ps1 | Invoke-Expression`\n\n# Manual Installation\n1. Place the fake `dbghelp.dll` in `%LOCALAPPDATA%\\Microsoft\\Teams\\current` and also copy `C:\\Windows\\System32\\dbghelp.dll`\nto `%LOCALAPPDATA%\\Microsoft\\Teams\\current\\dbghelp_orig.dll`.\n\n2. Start Teams\n\n3. Enjoy not being disturbed by never-ending taskbar flashing.\n\n\nNote that this will not survive a Teams updates.\nIn that case, simply repeat step 1 and be happy again. :)\n\n# How it works\n\nThis project is a DLL which pretends to be another DLL which is used by MS Teams and proxys all calls to the original one.\n\nThis allows us to inject our own code into Teams which simply overwrites first byte of the `FlashWindowEx` function of\nthe `user32.dll` in memory with a `0xC3` which is the x86 opcode for `RETN` or something like that.\n\nSo basically this no-ops `FlashWindowEx` without any additional functions, trampolines etc, because when building this,\nit was discovered that those broke for reasons that are beyond my understanding of computers.\n\n# Misc\n\nBe advised that I usually use JavaScript to solve all my problems. This solution might be very bad, cause crashes and whatnot.\nStill, it solves a problem I had, and I'm happy to share it with you.\n\nFeel free to open a PR to enhance it :)\n\n# Sources/Inspiration\n\n[Mutegram](https://github.com/mxs42/mutegram) by [mxs42](https://github.com/mxs42) \u003cbr/\u003e\n[Windows Privilege Escalation - DLL Proxying](https://itm4n.github.io/dll-proxying/) by [itm4n](https://github.com/itm4n) \u003cbr/\u003e\n[NoFlashWindow](https://github.com/mrexodia/NoFlashWindow) by [mrexodia](https://github.com/mrexodia) \u003cbr/\u003e\n\n[https://en.wikipedia.org/wiki/X86_instruction_listings](https://en.wikipedia.org/wiki/X86_instruction_listings)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypfer%2Fsilenteams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypfer%2Fsilenteams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypfer%2Fsilenteams/lists"}