Skip to main content

Microsoft Office is causing the command prompt to pop up — here's the fix

1211916 autosave v1 windows 10 upgrade compatprob
Image used with permission by copyright holder
If you have been frustrated lately by command prompt windows opening unexpectedly over the last few weeks and you are a Microsoft Office user, you are not alone. Apparently, Office has been causing this to occur recently and while there is a fix, it takes a little work.

The issue seems to be related to a Microsoft Office task that runs in the background. Microsoft has been aware of the issue and a fix is available, but only if you’re in the Windows Insider program on the Slow ring, MS Power User reports.

The issue was first identified in the Microsoft Answers forum on April 14 and the culprit is the “OfficeBackgroundHandlerRegistration” task. It can be found running in the Task Manager on any machine with the production version of Office installed, and Microsoft issued a fix in Office 2016 build 16.0.8201.2025.

That is the version you will be running if you are an Office Insider Slow ring user and are updated to the latest preview version available in that ring. If not, then you will need to take a few steps if you want to stop the command prompt from flashing every hour or so.

First, open the Task Scheduler app as an administrator. The easiest method is to go to the Cortana search field and enter “Task Scheduler,” then right-click on the app and select “Run as administrator.”

Next, expand the Task Scheduler Library, and then Microsoft, and select Office.

Right-click on “OfficeBackgroundTaskHandlerRegistration” and select “Disable.”

Image used with permission by copyright holder

That is all you need to do. Once the task is disabled, the command prompt will no longer pop up unexpectedly. There does not seem to be any negative effect from disabling the task, and so it is a reasonable step to take until Microsoft pushes a fix to all version of Office. Of course, you could always go here and sign up for the Office Insider program and put your machine on the Slow ring, with the added benefit of getting early access to some new Office features.

Editors' Recommendations

Mark Coppock
Mark has been a geek since MS-DOS gave way to Windows and the PalmPilot was a thing. He’s translated his love for…
Windows 11 has been causing problems with Intel graphics for months, and no one said a word
A Windows 11 device sits on a table.

If you're using Intel integrated graphics and you've been having some issues with DirectX apps, we may know the reason why -- outdated drivers paired with a recent Windows update.

According to Microsoft, a Windows 11 update may have caused some errors in Intel graphics. The update is not recent at all, so even if you haven't updated in the last few weeks, you may be affected.

Read more
Microsoft warns that relying on Internet Explorer may cause disruptions
windows 10 june update will kill internet explorer for good poznan  pol may 1 2021 laptop computer displaying logo

Microsoft has announced it will continue end-of-life updates in 2023 for its former browser, Internet Explorer, for older Windows versions.

Despite having ceased IE support on the current Windows 11 operating system version on June 15, Microsoft still allowed the legacy browser to function on many older versions, including Windows 10 Home, Pro, Enterprise, Edu, and IoT.

Read more
Update Windows now — Microsoft just fixed several dangerous exploits
Person sitting and using an HP computer with Windows 11.

Microsoft has just released a new patch, and this time around, the update comes with fixes for several dangerous and actively abused vulnerabilities and exploits in Windows.

A total of 68 vulnerabilities were addressed in the patch, many of them critical. Here's what was fixed and how to make sure your Windows device is up to date.

Read more