How to Use Microsoft 365 in VirtualBox When Windows Asks for a Product Key
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.

- 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.
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.
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.
Purchase or locate a valid Windows 10 or Windows 11 product key. This is a 25-character code used to activate the operating system.
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.
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.
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.

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. Download the Installer: Open the browser in your virtual machine and visit the official WPS website to download the free installer.
- 2. Install WPS Office: Run the setup file. The lightweight installation takes only a few moments and uses minimal VM resources.
- 3. Open Your Files: Launch WPS Office to instantly create new documents or seamlessly open your existing Microsoft Office files.

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.




