Thank you for your reply.
I have tested the script manually on the user’s machine, and it is working fine. The user can double-click the script to run the activation batch file and activate the Office license with user/ administrator permission. This confirms that both the XML and activation script are functional.
However, my BigFix server is running without an internet connection, while the user’s workstation accesses the internet through a proxy. The error code 0x80072ee2 seems to indicate an inability to access the internet. I am unsure why the script is not running with the user’s proxy settings.
Here are the details for reference:
Office2024Configuration.xml
The system automatically hides the XML script. I added a dot (“.”) at the beginning of each XML line.
<.Configuration ID=“17f1e89c-6700-4e56-845c-d612633dc323”>
<.Info Description=“Boss Company” />
<.Add OfficeClientEdition=“64” Channel=“PerpetualVL2024” SourcePath=“\\Server01\Share” Version=“16.0.17932.20328” AllowCdnFallback=“TRUE” MigrateArch=“TRUE”>
<.Product ID=“Standard2024Volume” PIDKEY=“XXXXX-XXXXX-XXXXX-XXXXX-XXXXX”>
<.Language ID=“en-us” />
<.Language ID=“zh-tw” />
<.ExcludeApp ID=“OneDrive” />
<.ExcludeApp ID=“OneNote” />
<.ExcludeApp ID=“Publisher” />
<./Product>
<.Product ID=“ProofingTools”>
<.Language ID=“zh-tw” />
<.Language ID=“en-us” />
<./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” />
<.AppSettings>
<.Setup Name=“Company” Value=“Boss Company” />
<./AppSettings>
<.Display Level=“Full” AcceptEULA=“TRUE” />
<./Configuration>
Activation bat script
@echo off
c:
cd
cd .\Program Files\Microsoft Office\Office16
cscript ospp.vbs /act