1

I am running into a problem with running the following command in cmd to retrieve the last 5 digits of my Office key.

The command prompt is as follows:

cscript “C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS” /dstatus

Opening CMD, I changed the directory to the root of C:\ and ran the command, but I get the following error:

"Input Error: There is no file extension in "C:\"C:\program"."

I verified the file is there in the program files x86 folder, so I am not sure where I am going wrong. Any help would be appreciated.

  • 2
    Replace the smart quotes and with normal quotes " – DavidPostill Jan 14 '16 at 18:25
  • Thanks for the help guys, I will try that and see if I can get it to work. – Josh McMullin Jan 14 '16 at 19:14
  • Hi McDonald's thanks for taking the time to respond. I think I got that issue resolved. – Josh McMullin Jul 18 '17 at 21:42
0

Open cmd as administrator

type cd C:\Program Files/Microsoft Office/Office16

hit enter

then you want to type ospp.vbs /dstatus

done

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.