Activation Problems

Fix Office Activation Login Window Closes Before Sign-In

Tauseeq MagsiTauseeq Magsi Oct 22, 2026 868 views

Question details

The user is unable to complete the Microsoft 365 activation process because the authentication window disappears unexpectedly.

How to Fix Office Activation Login Window Closing Before Sign-In
Product
Microsoft Office 365
Device & OS
Windows
Scenario
Attempting to sign in to activate a newly installed or renewed Microsoft Office desktop application.
Observed behavior
The activation sign-in window opens briefly but closes automatically before the user has a chance to enter their password.
Before you start

Ensure you have administrator privileges on your Windows computer, as the recommended troubleshooting steps require running system-level commands in PowerShell.

Solution 1Recommended

Restore the Windows CloudExperienceHost Package

This is the primary Microsoft-recommended fix for modern authentication window crashes during Office activation.

The CloudExperienceHost is a Windows component responsible for displaying modern sign-in interfaces. If this package becomes corrupted or unregistered, the Office login prompt will fail to load properly and crash immediately.

1
Open Windows PowerShell as Administrator

Click the Windows Start button, type 'PowerShell', right-click on 'Windows PowerShell' in the search results, and select 'Run as administrator'.

2
Run the Re-registration Command

Type or paste the Microsoft-recommended Add-AppxPackage command to re-register the CloudExperienceHost package, then press Enter to execute it.

3
Restart Your Computer

Once the PowerShell command completes successfully, restart your PC to apply the system changes.

4
Attempt Office Activation Again

Launch any Microsoft Office application, such as Word or Excel, and try signing in to activate your product again.

Restore the Windows CloudExperienceHost Package
Success Tip: If you receive a red error message in PowerShell, ensure all Windows updates are fully installed before attempting the command again.
Free Microsoft Office alternative

Avoid Activation Hassles with WPS Office

Tired of complicated Microsoft 365 activation issues and login crashes? Switch to WPS Office, a free, lightweight, and highly compatible alternative that lets you start working immediately without complex authentication hurdles.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for Windows.
  2. 2. Install the Software: Run the installer and follow the quick, one-click installation process.
  3. 3. Open and Edit Immediately: Launch WPS Office and instantly open your existing Microsoft Office files without any mandatory activation prompts.
Free to use with no complicated activation or sign-in roadblocks.Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight installation that runs smoothly on both older and newer PCs.Familiar tabbed user interface ensures a seamless transition.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Office sign-in window keep closing immediately?

This usually happens due to a corrupted CloudExperienceHost package in Windows, which handles the modern authentication interface. It can also be caused by conflicting cached credentials in your Windows Credential Manager.

Will reinstalling Microsoft Office fix the disappearing login window?

Reinstalling Office often does not resolve this specific issue because the root cause typically lies within the Windows OS components, like the account authentication host, rather than the Office application files themselves.

How do I fix a corrupted CloudExperienceHost?

You can fix it by running an elevated PowerShell command provided by Microsoft (using Add-AppxPackage) to re-register the AppxManifest for the CloudExperienceHost component.