

cscript "C:\Program files\Microsoft Office\Office16\OSPP.VBS" /rearm If your 5-days runs out, then you can run this command to get another 5-days. Or, if Office x86 on 圆4 image, then the ospp.vbs will be in same path but in "Program Files (x86)" cscript "C:\Program files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus If you want to see how much time you have left with this license you can use the following command: cscript "C:\Program files\Microsoft Office\Office16\OSPP.VBS" /dstatus Or, if you are installing 32bit Office on 64bit Windows, then: "HKCU\Software\Wow6432Node\Microsoft\Office\16.0\Registration" Or, if you are installing 32bit Office on 64bit Windows, then: "HKLM\Software\Wow6432Node\Microsoft\Office\16.0\Common\Licensing"įinally, in regedit, to "Accept EULA" (prevent Office popup) create the registry path: "AcceptAllEulas", value: "1" (DWORD) to "HKCU\Software\Microsoft\Office\16.0\Registration" path In regedit, to "Disable Activation UI" (prevent Office popup) create the registry path: "DisableActivationUI", value: "1" (DWORD) to "HKLM\Software\Microsoft\Office\16.0\Common\Licensing" path Or, if x86 Office install on 圆4 image, then cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /inpkey:DRNV7-VGMM2-B3G9T-4BF84-VMFTK

Want to do automated M365 Apps for Enterprise (formerly Office 365 ProPlus) testing but running into issues? Follow these steps: After installing Office, install a 10 day subscription key using an elevated command prompt: cscript "C:\Program files\Microsoft Office\Office16\OSPP.VBS" /inpkey:DRNV7-VGMM2-B3G9T-4BF84-VMFTK Pieter Wigleven from his twitter account shared the following trick: Many of our customers request information about Office product licensing, and what to do from a testing perspective.
