Office Apps Not Opening

How to Fix Command Prompt Flashing When Opening Microsoft Office Apps

Elise WilliamsElise Williams Nov 2, 2026 869 views

Question details

Users experience a brief Command Prompt window flash when launching Microsoft Office applications.

Fix Command Prompt Flashing When Opening Microsoft Office Apps
Product
Microsoft Office
Device & OS
Windows
Scenario
Opening Microsoft Office applications such as Word or Excel on a Windows PC.
Observed behavior
A black Command Prompt window briefly flashes on the screen before the requested Office application fully opens.
Before you start

Ensure your computer is connected to the internet and that you have administrative privileges to modify Windows application settings.

Solution 1Recommended

Perform an Online Repair and Update Office

Use the built-in Windows repair tool to fix corrupted Office files and install the latest patches that resolve background task glitches.

Microsoft periodically releases updates to fix known bugs, including background tasks (like the Office Background Task Handler) that mistakenly trigger visible Command Prompt windows.

1
Open Windows Settings

Click the Start menu and go to Settings > Apps > Installed apps (or Apps & features).

2
Modify Microsoft Office

Scroll down to locate your Microsoft Office installation. Click the three dots (or right-click) and select Modify.

3
Run Online Repair

Choose the Online Repair option and click Repair. Wait for the process to download and reinstall fresh files.

4
Check for Office Updates

Once repaired, open Word or Excel, navigate to File > Account, click Update Options, and select Update Now.

Perform an Online Repair and Update Office
Repair Time: Online Repair requires an active internet connection and may take several minutes to complete depending on your download speed.
Free Microsoft Office alternative

Switch to WPS Office for a Fast, Glitch-Free Experience

If Microsoft Office continues to experience startup issues like flashing command prompts, consider switching to WPS Office. It is a highly compatible alternative that opens Word, Excel, and PowerPoint files instantly without heavy background processes.

  1. 1. Download and Install: Get the free WPS Office installer from the official website and run it on your PC.
  2. 2. Set as Default: Choose WPS Office as your default application for opening documents, spreadsheets, and presentations.
  3. 3. Open Your Files Instantly: Double-click any existing Microsoft Office file to open it quickly and without startup errors.
Completely free and exceptionally lightweightFully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)No intrusive background command prompt scripts on launchFamiliar user interface for immediate productivity
microsoft office alternative - wps office

Frequently Asked Questions

Is the flashing Command Prompt window a virus?

In most cases involving Microsoft Office, it is not a virus. It is typically a background process, such as the officebackgroundtaskhandler.exe running a scheduled task. However, if the issue persists outside of Office apps or you notice other strange behavior, it is recommended to run a full system antivirus scan.

Can I stop the Office Background Task Handler manually?

Yes. You can open the Windows Task Scheduler, navigate to Task Scheduler Library > Microsoft > Office, and right-click 'OfficeBackgroundTaskHandlerRegistration' to disable it. However, installing the latest Office updates usually resolves the issue without requiring manual intervention.

Why did an Online Repair not fix the issue?

If an Online Repair fails to stop the flashing window, the issue is likely caused by a third-party COM add-in running a script, a conflicting older version of Office left on your system, or an external startup task rather than damaged core Office installation files.