Jump to content

OfficeStatus.txt


vitorio
Go to solution Solved by kyber,

Recommended Posts

I am trying to create "OfficeStatus.txt" using the following script from OfficeTeam documentation:

 

How to make a request:

Open Any Office Program and Close it.

Open CMD as Admin, enter the following commands (at once) & hit Enter:Open CMD as Admin, enter the following 2 commands (at once) & hit Enter: if exist "%ProgramFiles%\Microsoft Office\office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\office16" if exist "%ProgramFiles(x86)%\Microsoft Office\office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\office16" cscript //nologo ospp.vbs /dstatus >OfficeStatus.txt start OfficeStatus.txt 

  

In my case there is no output

 

Copy & paste the output of the above command, DO NOT ATTACH THE TEXT FILE OR IMAGES/SCREENSHOT while making a request, so we make sure you're asking assistance for the right product.

 

What may be the issue? Please helpme to fix it.

 

Thanks,

 

PD I have installed Office Pro 2019 volume.

 

Link to comment
Share on other sites


  • Replies 7
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • vitorio

    4

  • ARMOUR

    3

  • kyber

    1

Popular Days

Top Posters In This Topic

check these files "OSPP.VBS & SLERROR.XML" in this folder: C:\Program Files\Microsoft Office\Office16

 

if not OfficeStatus.txt will not be generated

 

please share your screenshot of error if possible

Link to comment
Share on other sites


@ARMOUR,There is no Office16 folder.

 

Since I have installed Office2019 I think that's the reason why there is no Office216 folder.

 

Maybe the scrip need to modify, for those with Office 2019?

 

Any idea?

 

Thanks.

office16foldermissing_002.png

Link to comment
Share on other sites


14 minutes ago, vitorio said:

 

office16foldermissing_002.png

 

 

Please try to modify the script: office16 to office15 , may be work

if exist "%ProgramFiles%\Microsoft Office\office15\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\office15"
if exist "%ProgramFiles(x86)%\Microsoft Office\office15\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\office15"
cscript //nologo ospp.vbs /dstatus >OfficeStatus.txt
start OfficeStatus.txt

 

Link to comment
Share on other sites


It is interesting, found Office16 and inside is ospp.vbs. See image, but still the script do nothing ( In my case there is no output). Any ideas?

 

 

office16foldermissing_004.png

office16foldermissing_003.png

Edited by vitorio
Link to comment
Share on other sites


cd /d "%ProgramFiles(x86)%\Microsoft Office\office16"
cscript //nologo ospp.vbs /dstatus >OfficeStatus.txt
start OfficeStatus.txt

try above script (run cmd as admin)

share screenshot if possible

Link to comment
Share on other sites


  • Solution

1. Open cmd prompt as Admin

2. run the below

 

for %a in (4,5,6) do (if exist "%ProgramFiles%\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office1%a")
if exist "%ProgramFiles% (x86)\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles% (x86)\Microsoft Office\Office1%a"))
cscript //nologo ospp.vbs /dstatus>OStatus.txt
start OStatus.txt

 

@vitorio

 

Why don't you use the Support System HERE We are always there to help you.

Edited by kyber
Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...