Office on a Windows Server VPS: Licensing and ODT Setup

Office runs on a Windows Server VPS, but the license must fit the server. Which licenses work over RDP, and how to deploy Office with the Office Deployment Tool.

dns WindowsVPS Team calendar_today schedule5 min read
Office on a Windows Server VPS: Licensing and ODT Setup
tocOn this page 6 sections
  1. Which license fits your VPS
  2. Check that your Windows Server version is supported
  3. Install Office with the Office Deployment Tool
  4. Verify activation
  5. Running Office well on a shared VPS
  6. FAQ

Yes, you can run Microsoft Office on a Windows Server VPS, but the license you use has to allow it. Consumer and retail Office licenses are meant for personal Windows PCs. On a server, especially one where several people sign in over RDP, you need either a Microsoft 365 plan that includes shared computer activation or a volume-licensed Office LTSC edition. Either way, install it with the Office Deployment Tool (ODT), not the consumer installer.

Which license fits your VPS

Start by counting who will use Office on the server and how they connect.

  • Microsoft 365 with shared computer activation (SCA): SCA is built for Remote Desktop Services and multi-user servers. Each user signs in with their own work account, and Office stores a licensing token in that user's profile. Plans that include Microsoft 365 Apps for enterprise support SCA, such as Microsoft 365 E3/E5 and Business Premium. Microsoft 365 Apps for business and Business Standard do not support SCA, so check your plan before you deploy.
  • Office LTSC (volume licensing): a perpetual, volume-licensed build, activated by KMS or a MAK key. Office volume licenses are counted per device. Every device that opens Office through the server needs a license, not only the server itself.
  • Retail, OEM and Microsoft 365 Personal/Family: these cover a single home or business PC. They do not cover Office on a server that remote users share, so don't use them on a VPS.

Office licensing is separate from Remote Desktop licensing. If more than two people sign in at once, you also need the RDS role and RDS CALs. Our guide to RDP user limits and RDS CALs explains where that line sits.

Check that your Windows Server version is supported

Microsoft publishes an end date for Microsoft 365 Apps support on each Windows Server release, and older releases have already passed theirs. Before you choose or upgrade your server OS, read Microsoft's current "Microsoft 365 Apps on Windows Server" support page. Office LTSC follows its own fixed lifecycle, so look that up as well. To confirm which build your VPS runs:

Get-ComputerInfo | Select-Object WindowsProductName, OsBuildNumber

Install Office with the Office Deployment Tool

1. Get the ODT

Sign in over RDP as an administrator and download the Office Deployment Tool from the Microsoft Download Center. Run it and extract it to C:\ODT. That gives you setup.exe and some sample XML files.

2. Write configuration.xml

This example is for Microsoft 365 Apps with SCA on an RDS host. Save it as C:\ODT\configuration.xml:

<Configuration>
  <Add OfficeClientEdition="64" Channel="MonthlyEnterprise">
    <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
    </Product>
  </Add>
  <Property Name="SharedComputerLicensing" Value="1" />
  <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
  <Updates Enabled="TRUE" />
  <Display Level="None" AcceptEULA="TRUE" />
</Configuration>

For Office LTSC, change the product and channel to the matching volume pair, for example ProPlus2024Volume with PerpetualVL2024 (or ProPlus2021Volume with PerpetualVL2021). Remove the SharedComputerLicensing line. If you activate with a MAK, add PIDKEY="XXXXX-..." to the Product element. The online Office Customization Tool at config.office.com can generate this file and check its syntax.

3. Download and install from PowerShell

Set-Location C:\ODT
.\setup.exe /download configuration.xml
.\setup.exe /configure configuration.xml

The download step stores the source files in C:\ODT\Office, which lets you reinstall later without fetching everything again. If you plan to use RDS, add the Remote Desktop Session Host role before you install Office. Office installed after that role is added picks up the multi-user settings cleanly.

Verify activation

For an SCA install, confirm that the flag is set:

Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' |
  Select-Object SharedComputerLicensing, Platform, VersionToReport

SharedComputerLicensing should read 1. Once a user opens Word and signs in, a token appears under %LOCALAPPDATA%\Microsoft\Office\16.0\Licensing in that user's profile. If you use roaming profiles or FSLogix, redirect that folder so users don't have to activate again at every logon.

For volume-licensed LTSC, check the license with OSPP:

cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /dstatus
cscript ospp.vbs /act

Running Office well on a shared VPS

  • Size RAM per session. Each user who opens Outlook, Excel and Teams starts their own processes. Plan memory by peak concurrent users, not by the number of accounts.
  • Control Outlook's local cache. In cached mode, Outlook creates an OST file for every user on the C: drive. Shorten the sync window under File > Account Settings > Account Settings > Change, or turn off cached mode for light mail users.
  • Allow outbound HTTPS. SCA tokens renew on a schedule, so the VPS needs outbound access on port 443 to Microsoft's licensing and update endpoints. If your firewall blocks outbound traffic, renewals fail silently until users start getting activation prompts.
  • Schedule updates. Set a maintenance window so Office updates don't close a user's open workbook in the middle of the day. FORCEAPPSHUTDOWN only applies during install.

If Office is the front end to accounting or line-of-business software, our Windows VPS for business and accounting software page covers sizing and locations for that kind of workload. For a single admin who just needs a cloud desktop, see the Windows RDP VPS overview.

FAQ

Can I use my Microsoft 365 Personal or Family subscription on the VPS?

No. Consumer plans are for personal devices and don't include shared computer activation. Use a business or enterprise plan that supports SCA, or a volume-licensed Office LTSC.

Do I still need RDS CALs if every user has a Microsoft 365 license?

Yes. A Microsoft 365 license covers Office. An RDS CAL covers the right to connect to the server's desktop session. More than two concurrent users needs both.

Why does the consumer Office installer fail or warn on Windows Server?

Microsoft built that installer for client Windows. On a server, use the Office Deployment Tool with a configuration file. It is the supported method, and it lets you control the edition, channel and SCA settings.

Run this on your own Windows VPS

Get a Windows VPS from WindowsVPS in about 60 seconds, with full Administrator access over RDP, NVMe storage and the Windows license included.

Buy a Windows VPS →

dns

Written by the WindowsVPS Team

We run Windows Server VPS hosting and write these guides from the same setups our customers use: RDP, PowerShell, trading terminals and always-on bots. Questions about a guide? Contact us.

About WindowsVPS Windows VPS guides All articles

Ready to deploy your server?

Windows or Linux VPS — up and running in under 60 seconds.