logo
search
Product Key Issues

How to Use Microsoft 365 in VirtualBox When Windows Asks for a Product Key

Algirdas JasaitisAlgirdas Jasaitis Oct 12, 2026 869 views

Question details

The user is trying to set up Microsoft 365 on a Windows virtual machine inside Oracle VirtualBox but is being prompted to enter a Windows product key.

How to Use Microsoft 365 in VirtualBox When Windows Asks for a Product Key
Product
Microsoft 365, Oracle VirtualBox
Device & OS
Windows
Scenario
Installing Microsoft 365 inside a newly created Windows virtual machine hosted on Oracle VirtualBox.
Observed behavior
The virtual machine prompts the user for a Windows product key, creating confusion because the user already has an active Microsoft 365 subscription.
Before you start

Ensure your Oracle VirtualBox virtual machine is connected to the internet, as both Windows activation and Microsoft 365 require an active network connection to verify licenses.

Solution 1Recommended

Activate Windows First, Then Install Microsoft 365

Resolve the product key prompt by activating your Windows operating system with a valid Windows license before attempting to install Office applications.

Oracle VirtualBox provides the virtual hardware, but it does not include a Windows operating system license. A Microsoft 365 subscription only activates Office applications (like Word and Excel) and does not serve as a Windows license.

You must use a separate, valid Windows product key to activate the operating system inside the virtual machine before installing your Office suite.

1
Obtain a Windows License

Purchase or locate a valid Windows 10 or Windows 11 product key. This is a 25-character code used to activate the operating system.

2
Enter the Product Key in the VM

Inside your virtual machine, navigate to Start > Settings > Update & Security > Activation (or Settings > System > Activation in Windows 11). Click 'Change product key' and enter your 25-character code.

3
Download Microsoft 365

Once Windows is activated, open a web browser in the virtual machine, go to Microsoft365.com, and sign in with the Microsoft account associated with your subscription.

4
Install and Activate Office

Click 'Install Office' to download the setup file. Run the installer, and once finished, open any app like Word to automatically activate it using your logged-in account.

Activate Windows First, Then Install Microsoft 365
Microsoft 365 Family Sharing: If you are using a shared Microsoft 365 Family subscription, you can use it on your virtual machine. However, the sharing feature only covers Office apps, not the Windows OS activation.
Free Microsoft Office alternative

Use WPS Office in Your Virtual Machine for Free

If you want to avoid expensive Microsoft 365 subscriptions or complicated licensing inside your virtual machine, WPS Office is a lightweight, free alternative that installs quickly and works seamlessly on any Windows environment.

  1. 1. Download the Installer: Open the browser in your virtual machine and visit the official WPS website to download the free installer.
  2. 2. Install WPS Office: Run the setup file. The lightweight installation takes only a few moments and uses minimal VM resources.
  3. 3. Open Your Files: Launch WPS Office to instantly create new documents or seamlessly open your existing Microsoft Office files.
Completely free to use for essential document creation and editing in virtual machinesHighly compatible with Microsoft Office formats like .docx, .xlsx, and .pptxLightweight installation package saves valuable virtual machine storage spaceFamiliar user interface requires no learning curve for Microsoft Office users
microsoft office alternative - wps office

Frequently Asked Questions

Does a Microsoft 365 subscription include a Windows product key?

No, a Microsoft 365 subscription is strictly for Office applications (Word, Excel, PowerPoint) and cloud services like OneDrive. You need a completely separate Windows license to activate the Windows operating system in VirtualBox.

Can I use Office on an unactivated Windows virtual machine?

While you can technically install and use Microsoft 365 on an unactivated Windows OS, Windows will restrict certain personalization features and display a persistent 'Activate Windows' watermark on your screen.

Why does Microsoft 365 say I need an internet connection in VirtualBox?

Microsoft 365 requires an active internet connection to verify your subscription status during the initial activation and periodically thereafter. Ensure your VirtualBox network settings (such as NAT or Bridged Adapter) are configured correctly to allow internet access.