Skip to main content

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

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
Mark Coppock is a Freelance Writer at Digital Trends covering primarily laptop and other computing technologies. He has…
Microsoft Word may delete your files — here’s how to avoid it
Windows 11 logo on a laptop.

There's a new bug in Microsoft Word that may delete your files, and according to user reports, they're not always recoverable through the Recycle Bin. Fortunately, Microsoft is aware of the problem, but it's unclear when the issue might be fixed. If you want to make sure that your files stay safe, we've got a few workarounds to help you out.

In the last few days, the Microsoft community boards have been flooded with reports of people complaining about their files randomly being deleted, with one user saying: "I use Word. Today, it deleted eight hours of work." Further reports quickly made it clear that the affected files have a few things in common.

Read more
Microsoft is giving up control of the Copilot key
Windows 11 logo on a laptop.

In a Windows Insider Blog post, Microsoft recently announced that it is rolling out the Windows 11 Insider Preview Build 22635.4225 (KB5043186) update. It's a relatively small update, but it finally gives users control of the dedicated Copilot key that's showing up on an increasing number of laptops.

In the blog post, Microsoft detailed how it is giving users more customization freedom by adding the option to configure the Copilot key, which can open an app that's MSIX packaged and signed. This is good news since the app meets security and privacy requirements to keep your PC safe. When the option is available more broadly, you should find it by going to Settings > Personalization> Text Input.

Read more
How much is Microsoft Office?

The Microsoft Office app on PC.

Microsoft Office, or Microsoft 365 as it's known today, is the full suite of Microsoft work-related applications. It includes iconic programs like Word, Excel, PowerPoint, and Outlook, as well as more modern additions like Teams and OneDrive. You can use a number of these for free in their web versions, or you can pay a monthly subscription to use their downloaded, local versions.

There is no single price for Microsoft 365, as it's only available on the software as a service (SAAS) model, but the monthly cost differs depending on whether you're a home user or business user, and whether you're looking to subscribe for just yourself, or an entire team.

Read more