Office Installation Errors

Fix Microsoft 365 Error 0x80004005 When Installing Office in Windows Virtual Desktop

Amos GikundaAmos Gikunda Nov 13, 2026 868 views

Question details

The user needs to resolve Microsoft 365 installation error 0x80004005 and Unlicensed Product messages in a Windows Virtual Desktop VM.

Fix Microsoft 365 Error 0x80004005 When Installing Office in Windows Virtual Desktop
Product
Microsoft 365 Apps
Device & OS
Windows Virtual Desktop (Windows)
Scenario
Installing or reinstalling Microsoft 365 Apps inside a Windows Virtual Desktop virtual machine.
Observed behavior
Office installation fails with error 0x80004005 and Office apps show Unlicensed Product messages.
Before you start

Before troubleshooting, collect a screenshot of the complete error and confirm that the Microsoft 365 subscription supports shared computer activation for Windows Virtual Desktop deployment.

Solution 1

Reinstall Microsoft 365 with the official installer and rule out network or firewall interference

Use this first when the error appears during a standard Microsoft 365 installation in Windows Virtual Desktop and you need to eliminate common download, proxy, or firewall causes.

1
Download the official Microsoft 365 installer

Sign in at www.office.com, select Install and more > Install Microsoft 365 apps, and download the setup file to the Windows Virtual Desktop VM.

2
Switch to another network

Disconnect the VM from the current network, connect to a different network or hotspot, and run the installer again.

3
Temporarily disable firewall or proxy interference

Open Windows Security > Firewall & network protection, turn off the firewall temporarily, or disconnect any VPN/proxy, then retry the installation.

Remember to restore security settings: Re-enable the firewall, proxy, or VPN after the installation attempt to keep the virtual desktop protected.
Free Microsoft Office alternative

Use WPS Office in Windows Virtual Desktop to Avoid Microsoft 365 Installation Error 0x80004005

If Microsoft 365 installation continues to fail in Windows Virtual Desktop, WPS Office is a free, lightweight and familiar alternative that installs without complex deployment tooling, opens and saves Microsoft Office formats, and lets you keep working with documents, spreadsheets, and presentations.

Avoids Microsoft 365 error 0x80004005 and Unlicensed Product activation blockers in virtual desktop deploymentsOpens, edits, and saves .docx, .xlsx, and .pptx Microsoft Office files with high compatibilityFree download with a familiar ribbon interface for easier migrationLightweight installer that is easier to deploy in Windows Virtual Desktop than Microsoft 365 shared-activation setups
microsoft office alternative - wps office

Frequently Asked Questions

Why does error 0x80004005 appear when installing Microsoft 365 in Windows Virtual Desktop?

It usually indicates an installation failure caused by network or proxy interference, a partial download, Windows Installer issues, or a Microsoft 365 plan that does not support Shared Computer Activation in virtual desktops.

How can I install Microsoft 365 in Windows Virtual Desktop when the normal installer fails?

Use the Office Deployment Tool with a configuration.xml file that sets SharedComputerLicensing to 1, then run setup.exe /configure configuration.xml from an elevated Command Prompt.

What should I check if Office installs but still says Unlicensed Product?

Open the Microsoft 365 admin center, confirm the assigned license includes Microsoft 365 Apps, and verify shared computer activation is enabled for the Windows Virtual Desktop deployment.

Can WPS Office open and edit Microsoft Office files if I cannot install Microsoft 365?

Yes, WPS Office supports .docx, .xlsx, and .pptx files and provides a free, lightweight alternative for viewing and editing Microsoft Office documents.