- Remove From My Forums
-
Question
-
I have new laptop with processor core i5; and the operating system is windows 7 home preimum edition
I have office 2007 installed in my laptop however I installed office 2010 professional plus version; when tring to activate this version or checking the activation period by using KMService; it shown this message «can’t find script engine «VBScript»
for script «C:WindowsTempkmsospp.vbs»I tried to make search for this file ospp.vbs but it didn’t work and gave the same message when trying to open.
can you help me; thanks
Answers
-
Hi,
I would strongly suggest that you uninstall Office 2007 and Office 2010, the re-install Office 2010, then try activation again.
Is this a Volume licensed edition of Office 2010? Are you on a network that supports SPP and has an Office 2010 KMS host?
If so, You can activate during install or through the Backstage view as follows:
- Connect the laptop to your KMS host.
- Open an Office 2010 application.
- Click the File tab.
- Click Help.
- Click Change Product Key and enter your KMS client key — make sure it is not the KMS host key.
If you don’t want to use the Backstage view, you should be able to use ospp.vbs with
cscript.exe, the command-line script engine.http://technet.microsoft.com/en-us/library/ee624350.aspx#section1
http://technet.microsoft.com/en-us/library/bb490887.aspx
If your copy of Office 2010 is a retail edition not on an SPP network, you will need to take the product key you received when you purchased the package and either activate during install or use the Backstage view to enter the product key, but you
can not use ospp.vbs.Darryl
-
Marked as answer by
Monday, January 10, 2011 2:47 AM
- Remove From My Forums
-
Question
-
Hello,
I am currently trying to configure Office 2010 to do an unattended install on a Windows XP SP3 system. I have it setup to install using OCT and a handful of scripts that perform the activation portion of the Office installation.
The particular script I am having issues with is the ospp.vbs script with the /act switch applied. The Office 2010 MAK license key is applied via OCT. When the script is run after Office is installed and after I ensure the Office Software Protection Platform
is running and then the activation script is run. For whatever reason, it is giving me the following error.ERROR CODE: 0x80041010
Installed product key detected — attempting to
ERROR DESCRIPTION: An unknown error occurred.I have been able to use this exact script on other computers with no issues. Just this one computer is giving me problems. Any help is much appriciated. Let me know if there is any other information needed to help resolve this issue.
Thank you,
Tyler Jacobs
-
I just installed Office 2013, and am having a lot of trouble using the ospp.vbs.
C:Program Files (x86)Microsoft OfficeOffice15>cscript «%PROGRAMFILES(x86)%Mi
crosoft OfficeOffice15ospp.vbs» /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.Input Error: Can not find script file «C:Program Files (x86)Microsoft OfficeO
ffice15ospp.vbs».Could someone give me the full path to the ospp.vbs location? Or is there a way to recreate it? From doing a dir on C:Program Files (x86)Microsoft OfficeOffice15 it doesn’t seem to even be in the folder.
-
use this…
cd «%programfiles (x86)%Microsoft OfficeOffice15»
cscript ospp.vbs /dstatus -
the output of that:, doing tgis over a vnc connection, so it should be verbatim as i just copy and pasted
C:Program Files (x86)Microsoft OfficeOffice15>cd «%programfiles (x86)%Microsoft OfficeOffice15»
The system cannot find the path specified.C:Program Files (x86)Microsoft OfficeOffice15>cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.Input Error: Can not find script file «C:Program Files (x86)Microsoft OfficeOffice15ospp.vbs».
C:Program Files (x86)Microsoft OfficeOffice15>
-
Removing the space does help, but i still cant find the ospp.vbs file
C:Program Files (x86)Microsoft OfficeOffice15>cd «%programfiles(x86)%Microso
ft OfficeOffice15″C:Program Files (x86)Microsoft OfficeOffice15>cscript ospp.vbs /dstatus
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.Input Error: Can not find script file «C:Program Files (x86)Microsoft OfficeO
ffice15ospp.vbs».C:Program Files (x86)Microsoft OfficeOffice15>
-
Browse to location & see if file exists?
-
Alright, so the %programfiles% was the problem (thought I had installed x86 version, guess not).
Now I keep running into this problem, not sure why. This worked fine in activating a Windows 7 copy. Unless I can’t activate a Office 2013 on Windows 7 like this.
With the error being
«DNS name does not exist.»
This happens if I attempt to use the KMS Activation Helper 1.5 as well.
-
you are using retail edition of office. convert it to volume or do fresh volume installation.
Stop hovering to collapse…
Click to collapse…
Hover to expand…
Click to expand…
-
I am pretty sure I am using the volume edition:
SW_DVD5_Office_Professional_Plus_2013_64Bit_English_MLF_X18-55297
SW_DVD5_Office_Professional_Plus_2013_W32_English_MLF_X18-55138$ ls -l
742877184 Dec 3 20:46 SW_DVD5_Office_Professional_Plus_2013_W32_English_MLF_X18-55138.ISO
851449856 Dec 3 20:46 SW_DVD5_Office_Professional_Plus_2013_64Bit_English_MLF_X18-55297.ISOI did grab the magnet links from your sig though regardless.
-
I did, that same machine is running KMSmicro v4.0.
Unfortunately, I can’t post a link to the screenshot of them all running together because I have less then 20 posts. Status of running in the qemu
Software Licensing service version: 6.1.7601.22035
Name: Office 15, KMSHostVL edition
Description: Office 15, VOLUMS_KMS_channel
Activation ID: 2e….. to long for me to type by hand….
Application ID: Office15-a989… to long
Extended PID: 55041-too long
Installation ID: 0010454057….01
Processor Certifcate URL: microsoft link
Partial Product Key: XXXXX
License Status: Licensed
Remaining Windows rearm count: 4
Trusted time: 5.12.2012 7:17:18 PMKey Management Service is enabled on this machine
Current Count: 10
Listening on Port 1688
DNS publishing enabled
KMS priority: NormalKey Management Service Cumulative requests received from clients
Total requests received: 66
Failed requests received: 0
License Status unlicensed: 0
License Status Licensed: 5
License status Initial Grace Period: 52
License status notification: 9 -
Oh, alright, nevermind…. I see what you mean now. My bad.
Activated successfully
-
I can not PM you for the magnet links to your volumes of office 2013 64 bit edition. Is there any way I can get the link please?
Thanks
-
- Nov 27, 2012
- 603
- 1,101
- 30
I tried to activate my office with a persnoak working kms of mine.
c:Program FilesMicrosoft OfficeOffice16>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: 6MWKP
ERROR CODE: 0x80070005
ERROR DESCRIPTION: Run the following: cscript ospp.vbs /ddescr:0x80070005
NOTICE: A KB article has been detected for activation failure: 0x80070005
FOR MORE INFORMATION PLEASE VISIT: https://support.microsoft.com/kb/2870357#Error0x80070005
---------------------------------------
---------------------------------------
---Exiting-----------------------------
I checked in the web and I tried to change the key’s permission in safe mode:
ComputerHKEY_USERSS-1-5-20
I tried to enable network service full control and checked the option to change all the subkeys.
and I get the error that registry editor cannot set security in the key selected , or some of its subkeys.
does anyone have a clue how to solve this issue? the office activation fails.
asked Apr 1, 2021 at 12:11
2
The solution might be in the Microsoft article
Resolve Windows activation error codes:
0x80070005 Access denied
The full text of this error message resembles the following:
Access denied. The requested action requires elevated privileges.Possible cause
User Account Control (UAC) prohibits activation processes from running
in a non-elevated Command Prompt window.Resolution
Run slmgr.vbs from an elevated command prompt. To do this, on the
Start menu, right-click cmd.exe, and then select Run as administrator.
In your case, run the Office activation as Administrator, and it might work
this time.
answered Apr 1, 2021 at 12:58
![]()
harrymcharrymc
448k30 gold badges517 silver badges900 bronze badges
Пару недель назад столкнулся с одной интересной проблемой, о которой наконец-то собрался написать, хотя некоторые технические детали уже забылись. В общем, обратился ко мне клиент с очень простой просьбой: установить пакет Microsoft Office на его не так давно приобретенный ноутбук. На ноутбуке оказалась установленная производителем лицензионная Windows 10 Home, а также когда-то стояла ознакомительная версия MS Office 2016, которую клиент не совсем корректно удалил после окончания пробного периода.
Поскольку мне больше всего нравится версия офиса 2010 года, то именно эту версию я и решил установить (на самом деле моя любимая версия — Office 2003, но увы, рано или поздно приходится использовать то, что навязывает конъюнктура софтового рынка). Попытка установки окончилась выдачей сообщения об ошибке (к сожалению, код и описание ошибки уже не вспомню) и откатом установки. Причем скачивание другого дистрибутива и попытка его использования привели к тому же результату.
Решив, что причиной может быть некорректное удаление ранее установленного Office 2016, воспользовался официальным средством для полного удаления офисных продуктов от Microsoft, которое можно взять здесь. В моем случае это тоже не помогло, но кому-то может пригодиться.
После этого оставил попытки установить 2010 версию и заново поставил Office 2016. Проблемы начались при попытке активировать установленный пакет. К сожалению, не могу вспомнить текст получаемых сообщений и тем более коды ошибок, но факт в том, что все попытки активации заканчивались сообщением об ошибке. Для нахождения путей обхода проблемы были даже испробованы широко известные активаторы типа KMSAuto, KMSAutoNet, AAct разных версий, но и они не принесли желаемого результата. Абсолютно все активаторы выдавали сообщение об ошибке не только при попытке активации, но даже при считывании информации о текущем состоянии лицензирования установленного пакета. Номера ошибок, как вы уже поняли, я не запомнил (хотя если не поленюсь и посмотрю историю браузера на домашнем компьютере, то, возможно, внесу уточнения в статью).
В конце концов я добрался до командной строки и скрипта активации офиса, чтобы хоть как-то понять причину непонятного поведения компьютера. Кто еще не знает, активация пакета, получение информации об активации и другие действия возможны с помощью скрипта ospp.vbs, который обычно расположен в папке C:Program FilesMicrosoft OfficeOffice# или C:Program Files (x86)Microsoft OfficeOffice#. Вместо знака # в реальном пути будут стоять цифры, указывающие на установленную версию офиса (для офиса 2010 — 14, для 2013 — 15, для 2016 — 16).
Синтаксис команды запуска скрипта следующий:
cscript ospp.vbs [Option:Value] [ComputerName] [User] [Password]
Три последних параметра нас не интересуют, а список опций можно получить командой
cscript ospp.vbs /?
Так вот, запуск этого скрипта с подавляющим большинством параметров также заканчивался ошибкой. Конечно же, код ее за прошедшие недели уже стерся из моей памяти (но мог остаться в памяти браузера, так что позже попробую “вспомнить”).
Поиск по номеру ошибки в интернете навел на мысль, что причиной может служить некая проблема с WMI. Технология WMI (Windows Management Instrumentation) создавалась для контроля различных частей компьютерной инфраструктуры под управлением Windows. Проблемы в работе этой службы и ее компонентах могут быть причиной самых неожиданных ошибок. К счастью, “все уже украдено до нас”: интернет дает готовые рецепты для устранения неполадок WMI.
Во-первых, стоит проверить наличие и работу службы Winmgmt (название службы — Windows Management Instrumentation или Инструментарий управления Windows). В моем случае служба присутствовала и была запущена. Далее для проверки работы службы можно использовать оболочку Powershell и попробовать в ней обратиться с любым запросом к WMI, например, командой
get-wmiobject Win32_OperatingSystem
Данная команда должна вывести информацию об установленной операционной системе. В моем случае результатом было очередное сообщение об ошибке, что указывало на проблему с WMI.
Подробная диагностика службы WMI может быть выполнена официальной утилитой WMIDiag от Microsoft. Это скрипт, который проверяет различные подсистемы WMI и записывает собранную информацию в лог-файл. В 64-битных версиях Windows скрипт нужно запускать командой
c:windowsSystem32cscript.exe wmidiag.vbs
иначе вы получите ошибку WMIDiag must be run from native 64-bit environment.
Впрочем, диагностика с помощью WMIDiag довольно сложна, поскольку требует анализа большого количества собранных данных. Гораздо проще выполнить несколько действий, позволяющих “сбросить и обновить” систему WMI. Начать стоит с более простого и безопасного варианта — перерегистрации нужных служб и dll, а также перекомпиляции файлов mof. Это можно сделать с помощью командного файла следующего содержания:
sc config winmgmt start=disabled
net stop winmgmt
cd %windir%system32wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
sc config winmgmt start=auto
net start winmgmt
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
Запускать командный файл следует с правами администратора. После завершения работы скрипта надо перезагрузить компьютер.
Если данный вариант не помог (мне он не помог), можно перейти к более сложному шагу — пересозданию репозитория WMI. Репозиторий (то есть хранилище) находится в каталоге %windir%System32WbemRepository и представляет собой базу данных, в которой содержится информация о метаданных и определениях WMI классов. Само собой разумеется, что при повреждении этой базы данных WMI может работать со сбоями. Однако пересоздание репозитория WMI может нарушить работу некоторых установленных программ, потому что все записи в базе WMI сбросятся до состояния чистой системы. В таком случае неработающие программы придется переустанавливать.
Начиная с Windows Vista, можно проверить целостность репозитория WMI с помощью команды
winmgmt /verifyrepository
Если команда возвращает состояние INCONSISTENT, стоит попробовать команду “лечения” репозитория, после которой следует перезапустить службу Winmgmt:
Winmgmt /salvagerepository net stop Winmgmt net start Winmgmt
Если “лечение” не помогло, можно обнулить репозиторий:
Winmgmt /resetrepository
Данными рекомендациями мне воспользоваться не удалось, так как выполнение команды проверки состояния репозитория тоже заканчивалось ошибкой. В таком случае остается только ручное обнуление репозитория. Для этого следует создать командный файл следующего содержания и выполнить его от имени администратора:
sc config winmgmt start=disabled
net stop winmgmt
cd %windir%system32wbem
winmgmt /kill
winmgmt /unregserver
winmgmt /regserver
winmgmt /resyncperf
if exist RepBackup rd RepBackup /s /q
rename Repository RepBackup
regsvr32 /s %systemroot%system32scecli.dll
regsvr32 /s %systemroot%system32userenv.dll
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b *.mof') do mofcomp %%s
for /f %%s in ('dir /b *.mfl') do mofcomp %%s
sc config winmgmt start=auto
net start winmgmt
wmiprvse /regserver
Данный набор команд полностью пересоздаст хранилище WMI, сохранив старую копию в папке RepBackup. После окончания работы скрипта компьютер нужно перезагрузить.
После полного пересоздания репозитория WMI мне наконец-то удалось запустить и успешно провести активацию установленного офисного пакета. Хочу заметить, что при просмотре содержимого папки C:WindowsSystem32WbemRepository в программе Total Commander я видел лишь пустую папку даже при включенном в программе отображении всех скрытых и системных файлов. Из-за этого я поначалу решил, что попытки пересоздать репозиторий ни к чему не привели. Однако оказалось, что папка на самом деле не пуста, а “Проводник” содержимое папки прекрасно отображает.
