Office 'We're sorry, we can't connect right now' activation error
This Office activation error pops up after a Windows update or network change. It's usually a DNS or proxy glitch, not an actual licensing issue.
When this error hits
You open Word or Excel, and instead of your documents, you get a full-screen popup: "We're sorry, we can't connect right now. Please check your network and try again." The error code underneath is 0xC004F074. This usually happens right after a Windows Update reboot, or when you switch from a corporate VPN back to your home network. Office thinks you're offline — but you're not.
What's actually wrong
The culprit here is almost always DNS caching or a stuck proxy setting. Office tries to phone home to Microsoft's activation servers, but the cached IP address is stale or the proxy is blocking the connection. It's not your internet. It's not your license. It's a routing issue that Office's activation service doesn't handle gracefully. Windows Update sometimes flushes your DNS cache but leaves a bad entry for activation.sls.microsoft.com. Or, if you use a VPN or corporate proxy, the proxy settings get left behind when you disconnect.
How to fix it
- Flush DNS and reset Winsock — Open Command Prompt as admin and run these two commands one after the other:
Reboot after. This clears out any cached DNS entries that point to wrong or dead activation servers.ipconfig /flushdns netsh winsock reset - Check proxy settings — Windows 10 and 11 have a habit of keeping proxy settings even when you don't use a proxy. Go to Settings > Network & Internet > Proxy. Under "Automatic proxy setup", turn off Automatically detect settings. Under "Manual proxy setup", make sure Use a proxy server is off. If you use a corporate proxy, talk to your IT team about the correct PAC file URL.
- Run the Microsoft Support and Recovery Assistant — Download the SaRA tool from Microsoft. Pick "Office" > "I'm having trouble activating Office". Let it scan. It'll usually find a stale activation token and clear it. This step alone fixes 60% of cases.
- Manually clear Office activation state — If SaRA didn't do it, open an elevated Command Prompt and run:
Look for thecd %ProgramFiles%\Microsoft Office\Office16 cscript ospp.vbs /dstatusLast 5 characters of installed product key. Then run:
Replacecscript ospp.vbs /unpkey:XXXXXXXXXXwith those five characters. Then re-enter your product key:
(Replace with your actual key.)cscript ospp.vbs /inpkey:YYYYY-YYYYY-YYYYY-YYYYY-YYYYY - Check the hosts file — Some security software or manual tweaks add entries that block Microsoft's activation servers. Open
C:\Windows\System32\drivers\etc\hostsin Notepad as admin. Look for lines withactivation.sls.microsoft.comorcrl.microsoft.com. If you see them, delete those lines and save the file.
If it still fails
Check your system date and time. If it's off by more than 5 minutes, Office activation throws a fit. Sync with time.windows.com in Date & Time settings. Also verify you're not on a metered connection — Office sometimes refuses to activate over metered networks. Go to Settings > Network & Internet > Wi-Fi > your network > Set as metered connection and turn it off. If none of that works, you might need to uninstall Office completely using the Microsoft Support and Recovery Assistant uninstall tool and reinstall from portal.office.com.
Was this solution helpful?