Microsoft 365 Apps (formerly called Microsoft Office 365) comes with a 10-day subscription so you can perform automated testing without subscribing to paid licenses.
- Install Microsoft 365 Apps.
- Install the 10-day subscription key using an elevated command prompt:
cd "C:\Program Files\Microsoft Office\Office16\"
cscript OSPP.VBS /inpkey:DRNV7-VGMM2-B3G9T-4BF84-VMFTK- Check if the license is activated. This will be a 5-day license, which you can activate (rearm) again for the other 5 days.
- Use the following command to check how much time you have left with the test subscription.
cscript OSPP.VBS /dstatus- Rearm the license with the following command:
cscript OSPP.VBS /rearmSuppress popups
You can suppress the popups with the following commands or work around these with some validation commands, as LoadGen Studio works with drag and drop actions without typing any code!
- To Disable Activation UI,
- Open Regedit.
- Add value: "DisableActivationUI", value: "1" (DWORD) to "HKLM\Software\Microsoft\Office\16.0\Common\Licensing" key or "HKLM\Software\Wow6432Node\Microsoft\Office\16.0\Common\Licensing" if you are installing 32-bit Office on 64-bit Windows.
- To Accept the EULA
- Open Regedit.
- Add value: "AcceptAllEulas", value: "1" (DWORD) to "HKCU\Software\Microsoft\Office\16.0\Registration" key or "HKCU\Software\Wow6432Node\Microsoft\Office\16.0\Registration" if you are installing 32-bit Office on 64-bit Windows.

