Pushing cscript command

Pushing cscript command

We have used Desktop Central to push Windows 7 to Windows 10 upgrades. After upgrading, Office 2016 becomes deactivated. When I re-enter the VL Mac key, Office reactivates. To speed things up I wanted to push the key to the deactivated clients.

I have tried to push the following as a computer configuration custom script.

c:\windows\system32\cscript.exe “C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS” /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

I have tried running the script as a "system user" and with a domain admin account. Each time it fails with a function not found error. The upgraded machines are Windows 10 1903 x64 with 32-bit MS Office. I spot checked and each does have cscript.exe in their system32 directory and has ospp.vbs in the above program files directory.

Does anyone have any ideas as to what I am doing wrong?

                New to ADSelfService Plus?