Skip to main content
  1. Home
  2. Computing
  3. News

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

Add as a preferred source on Google

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.

Recommended Videos

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.

Mark Coppock
Former Computing Writer
Mark Coppock is a Freelance Writer at Digital Trends covering primarily laptop and other computing technologies. He has…
How to install macOS 27 Golden Gate public beta on your Mac?
From a smarter Siri to a more reliable Spotlight, here's your full walkthrough for installing macOS 27 Golden Gate's public beta today.
macOS 27 Golden Gate

Along with iOS 27’s public beta, Apple has also released macOS 27 Golden Gate’s public beta build, so that early adopters can get their hands on the new features, including Siri AI, and provide timely feedback to help ensure a stable iOS launch in September. 

If you’re sold on all the new features but don’t want to put your faithful MacBook through developer beta duty, a public beta offers a much more refined experience. To install macOS 27’s public beta, follow the steps given below. 

Read more
Microsoft is finally fixing the worst thing about Windows Search, but you can’t try it just yet
Windows Insiders in the Experimental channel are getting a Search experience that finally feels less of a billboard and more of what users actually need.
Page, Text, Person

Windows Search has been a mess for years, and I do not use that word lightly. Open it to find a file, and you get trending Bing topics, Microsoft Store promotions, and an AI tools tile that just opens a browser. 

That is changing, but not immediately for all users. Microsoft is rolling out a batch of Windows Search improvements to Insiders in the Experimental channel, and for once, this isn't just a fresh coat of paint.

Read more
Apple doesn’t want to share this AirPods feature with Meta, but the EU may force its hand
Spring 2027, EU only, built under DMA pressure.
The front of the Ray-Ban Meta smartglasses.

I’ve been an AirPods user for the last four years, and one of the things that makes it genuinely hard to leave behind is the seamless, almost magical pairing experience across devices. Open an AirPods case near your iPhone, and a pop-up appears within seconds. Switch to your Mac and the audio follows. 

However, the experience is limited only to Apple devices. Doesn’t matter whether you have one of the coolest pieces of tech on the market right now; if it’s not Apple, it won’t get the same treatment. However, that might change for the Meta Quest or the Ray-Ban Meta glasses, thanks to pressure from the EU. 

Read more