Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a problem with key removal #40

Open
K4mil5 opened this issue Mar 26, 2018 · 2 comments
Open

a problem with key removal #40

K4mil5 opened this issue Mar 26, 2018 · 2 comments

Comments

@K4mil5
Copy link

K4mil5 commented Mar 26, 2018

Hey,
I have a problem with the 2016 office keys reporting, with the last 5 characters. The OCS agent will send 3 keys and the server will receive them, but after a while the key with the correct last octet will be removed from the server. Does anyone know why he is removed?

It's about the key from the photo
przechwytywanie

@smd0709
Copy link

smd0709 commented Mar 26, 2018

Hello!
Do you see the data in the administration interface?
I have this problem pending #39
Thankss!

@K4mil5
Copy link
Author

K4mil5 commented Apr 5, 2018

I do not see, I see keys only in individual.
I solved the problem, the reason was the lack of permission to write the output.txt file in %userprofile%. After converting the destination to C:\ocs and changing the file extension from txt to xml, everything works fine.

result = WshShell.Run("cmd /c cscript ""C:\Program Files\Microsoft Office\Office16\OSPP.VBS"" /dstatus > %USERPROFILE%\officekey.txt", 0, true)

I changed to

result = WshShell.Run("cmd /c mkdir C:\ocs\", 1, true)
result = WshShell.Run("cmd /c cscript ""C:\Program Files\Microsoft Office\Office15\OSPP.VBS"" /dstatus > C:\ocs\office2013key.xml", 1, true)

maybe someday it will be useful to someone :)

@K4mil5 K4mil5 closed this as completed Apr 5, 2018
@vdeville vdeville reopened this Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants