Why a CMD window flashes and how to solve it

I have had a disturbing issue at work for a couple of days. Once every hour, a black window (probably a CMD window) would pop up for a fraction of a second on the screen and then disappear. I had no idea whether this was a virus, spyware, some other kind of malware or something benign.

Fortunately, a colleague of mine had the google skills to find the cause and the solution to the problem. It turned out this was caused by a scheduled task from Microsoft Office called OfficeBackgroundTaskHandlerRegistration. By starting the Task Scheduler and drilling down to Task Scheduler Library -> Microsoft -> Office, this task is shown and it can be disabled by right clicking on it and selecting Disable:

Where to find the offending scheduled task

Some more googling reveals that this is a bug Microsoft is aware of and that it probably will go away in some future update:

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_officeinsider-mso_win10/officebackgroundtaskhandlerregistration-flashes-a/2600497e-78e4-41a1-9040-461cd2c3ea13

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.