You Ask. . .
I want use ospp to unpack it, but it cannot find the last five digits of the product key.
As specified in the TechNet Tools to manage Office 2013 volume activation post. . .
/unpkey:value
Uninstalls an installed product key with the last five digits of the product key to uninstall (as displayed by the /dstatus
option). Value
parameter is required.
/dstatus
Displays license information for installed product keys.
/dstatusall
Displays license information for all installed licenses.
So, since you say you've run ospp /dstatusall
and gotten back a result of. . .
LICENSE STATUS: ---UNLICENSED---
ERROR CODE: 0xC004F014
ERROR DESCRIPTION: The Software Licensing Service reported that the product key is not available.
Then this would mean just what the error message is telling you, there are no licensed products of those versions of Office on this machine and it really should be as simple as that. So you don't need to worry about running the process with the /unpkey:value
parameter.
You Ask. . .
So, how do I clean these? I have uninstalled Office 2013, but they still exist.
You might give the Completely uninstall Office with the easy fix tool as shot but not sure how well it'd work since you've already uninstalled Office but it might be worth a shot at least.
Completely uninstall Office with the easy fix tool
Click this easy fix button to uninstall Office.
Download
Otherwise, I would suggest—if you absolutely must—hop on over to Manually uninstall Office 2013 or Office 365 and review all these details in more thoroughness.
However, to get you started, I'd say you'd likely want to focus on registry keys (and maybe some other miscellaneous items) so I'll reference the items of potential interest you may want to start with potentially but I'd personally not even worry about it and just leave as-is.
Step 4: Delete the Office service
Open a Command Prompt window as an administrator, type the following command, and then press Enter:
sc delete Clicktorunsvc
IMPORTANT: Follow the steps in this section carefully. Serious problems may occur if you modify the registry incorrectly. Before you start, back up the registry for restoration in case problems occur.
Step 6: Delete the Office registry subkeys
Open Registry Editor.
Windows 10: Right-click Start, click Run, type regedit, and then click OK.
Windows 8 or 8.1: Right-click Start, click Run, type regedit, and then click OK.
Windows 7: Click Start, type Run in the Start Search box, and then click Run in the results.
Delete the following registry subkeys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\ClickToRun
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppVISV
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Office
<Edition>15 - en-us
HKEY_CURRENT_USER\Software\Microsoft\Office
Then Delete the Office key.
In the subkey in the third bullet item, "Microsoft Office 15 - en-us" represents the actual program name. This name depends on the Office 2013 edition and language version that you installed.
Step 8: Uninstall the Microsoft Office Habanero local component and Habanero supplemental local component
Open a Command Prompt window as an administrator.
At the command prompt, type the command that is appropriate for your operating system, and then press Enter:
- If you're running an x86 version of Office 2013 on an x64 operating system, run the following command:
MsiExec.exe /X{50150000-008F-0000-1000-0000000FF1CE}
- If you're running an x86 version of Office 2013 on an x86 operating system, run the following command:
MsiExec.exe /X{50150000-007E-0000-0000-0000000FF1CE}
- If you're running an x64 version of Office 2013 on an x64 operating system, run the following command:
MsiExec.exe /X{50150000-008C-0000-1000-0000000FF1CE}
Step 5: Delete the registry subkeys for the Office system
WARNING: Serious problems may occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Delete the Office 2013 registry subkeys
Press Windows logo key + R to open the Run dialog box.
Type regedit, and then click OK.
Click the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0
4.Click File > Export, type DeletedKey01, and then click Save.
Click Edit > Delete, and then click Yes to confirm.
Repeat steps 1 through 5 for each registry subkey in the following lists. Increment the name of the exported key by one for each subkey.
For example: Type DeletedKey02 for the second key, type DeletedKey03 for the third key, and so on.
NOTE: In the following registry keys, the asterisk character (*) represents one or more characters in the subkey name.
32-bit versions of Windows
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Delivery\SourceEngine\Downloads\*0FF1CE}-*
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*0FF1CE*
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Upgrade Codes\*F01FEC
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\*F01FEC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ose
HKEY_CLASSES_ROOT\Installer\Features\*F01FEC
\
HKEY_CLASSES_ROOT\Installer\Products\*F01FEC
HKEY_CLASSES_ROOT\Installer\UpgradeCodes\*F01FEC
HKEY_CLASSES_ROOT\Installer\Win32Assemblies\*Office15*
64-bit versions of Windows
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\Delivery\SourceEngine\Downloads\*0FF1CE}-*
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*0FF1CE*
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ose
HKEY_CLASSES_ROOT\Installer\Features\*F01FEC
HKEY_CLASSES_ROOT\Installer\Products\*F01FEC
HKEY_CLASSES_ROOT\Installer\UpgradeCodes\*F01FEC
HKEY_CLASSES_ROOT\Installer\Win32Asemblies\*Office15*
Also delete the following registry subkeys
Locate one of the following subkeys, depending on the version of Windows that you're running:
Click File > Export, type UninstallKey01, and then click Save.
Under the Uninstall subkey that you located in step 1, click each subkey, and then determine whether the subkey has the following value assigned to it:
In this example, file_name represents the actual name of an installation program, and path represents the actual file path.
If the subkey contains the name and the data that are described in step 3, click Edit > Delete. Otherwise, go to step 5.
Repeat steps 3 and 4 until you locate and delete every subkey that matches the name and data that are described in step 3.
Close Registry Editor.
source