Create Configuration.xml: https://config.office.com
Office 365 Admin Portal: https://admin.microsoft.com/Adminportal
C:\Temp> .\setup.exe /configure .\Configuration-office-ltsc-standard.xml
Excludes OneNote and OneDrive.
<Configuration ID="eddbc2c8-e367-4556-8e3c-eb024f1b6658"> <Add OfficeClientEdition="64" Channel="PerpetualVL2021"> <Product ID="StandardSPLA2021Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"> <Language ID="en-us" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="OneNote" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="0" /> <Property Name="FORCEAPPSHUTDOWN" Value="FALSE" /> <Property Name="DeviceBasedLicensing" Value="0" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="AUTOACTIVATE" Value="1" /> <Updates Enabled="TRUE" /> <RemoveMSI /> <AppSettings> <Setup Name="Company" Value="XXXXXXXXXXXXX" /> </AppSettings> <Display Level="None" AcceptEULA="FALSE" /> </Configuration>
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0
If you have Office 2016 installed and activated, then install an Office 2019 app, such as Visio, you may run into problems:
Download the fix-it tool from this web page:
Basically, it uninstalls all MS Office apps and digs it out of the filesystem (and registry?).
Then go to https://account.microsoft.com/services if you need to download any software or find license keys.
These scripts from MS will get you the last 5 digits which may help you back track.
At a command prompt, type the following for the appropriate version:
cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus
cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus
cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus
cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus
cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus
cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus
cscript "c:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus