Tuesday 30 April 2013

Microsoft Office 2010 activation issue

 We had a strange issue with one of our Desktops not activating the serial key for office 2010. We used a VLS Ms office 2010 CD and a serial key for almost 150 users in the organization and it has worked fine except for one of the desktops.




Even after restarting any of the MSOffice applications the activation pops-up.



Solution:
For SCCM Imaging
To update the Windows Activation key in SCCM Task Sequence, kindly follow the below steps:
§ Open SCCM Console, then expand Computer Management
§ Expand Operating System Deployment and then click Task Sequences
§ Right click the target Task sequence and choose Edit
§ On the Apply Windows Settings step enter the new product key and save.

For Office 2010
To activate a copy of Microsoft Office 2010, you can choose either of the methods specified below.

Method 1: Using VAMT
Download Volume Activation Management Tool (VAMT) 2.0 (http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11936) and install the tool either in the local machine or in a remote machine. After installation, launch VAMT and perform the following steps to do the activation.
Step 1: Add the newly obtained Key in the Product Key node of VAMT Navigation Pane.
Step 2: Add the Computer Name/IP Address of the machine which requires Activation and Right click to Update Status using Administrative credentials.
Step 3: Right click on the Microsoft product that needs to be activated, and select Install Product Key to install the product key.
Step 4: Right Click again on the Microsoft product that needs to be activated, and select Activate àOnline Activate àCurrent credentials.

Method 2: Using Ospp.Vbs Script
Please find the steps below to do activation using Ospp.vbs script:
Step 1: Make a note of the new Product Key needed for Office 2010 Activation.
Step 2:
Create a batch file with the name "Get Last 5 Characters of Installed Key.bat"
And paste the contents as follows:

Rem -------------------------------------------
@Echo off
If Exist "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" GOTO AA
If Exist "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" GOTO BB
GOTO END

:AA
CSCRIPT "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" /dstatus
GOTO END

:BB
CSCRIPT "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" /dstatus
GOTO END

:END
Pause
Rem -------------------------------------------

Step 3: Run the batch file "Get Last 5 Characters of Installed Key.bat" with elevated Command Prompt. In the result obtained in the command prompt, find the section with LICENSE NAME: Office 14, OfficeProPlus , Then copy the 5 characters listed in Last 5 characters of installed product key line of this section.

Step 4:
Create another batch file with name "Activate Office Professional 2010 Automatically.bat"
And paste the contents as follows:

Rem -------------------------------------------
@Echo off
If Exist "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" GOTO AA
If Exist "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" GOTO BB
GOTO END
:AA
CSCRIPT "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" /unpkey:#####
CSCRIPT "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
CSCRIPT "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.vbs" /act
GOTO END
:BB
CSCRIPT "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" /unpkey:#####
CSCRIPT "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
CSCRIPT "C:\Program Files\Microsoft Office\Office14\OSPP.vbs" /act
GOTO END
:END
Pause
Rem -------------------------------------------

Edit the batch file named "Activate Office Professional 2010 Automatically.bat" as mentioned below:

a) Replace (#####) in line number 6, and line number 11 with the 5-characters obtained in Step 3
b) Replace (*****-*****-*****-*****-*****) in line number 7, and line number 12 with the 25-characters obtained in Step 1.
c) Save the edited batch file.

Step 5: Run the newly saved batch file "Activate Office Professional 2010 Automatically.bat" with elevated Command Prompt to activate the product and then check the activation status.

For Windows XP/2003
To change the Volume License Key on Windows XP or Windows Server 2003, you can choose either of the methods specified below.

Method 1: Using Activation Wizard
1. Click Start, click Run, type regedit, and then click OK.
2. In the left pane, locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents
3. Right click on WPAEvents, select Export, and save the key to a safe location for backup.
4. In the right pane, right-click OOBETimer, and then click Modify.
5. Change at least one digit of the OOBETimer value to deactivate Windows.
6. Click Start, click Run, type the following command, and then click OK:

%systemroot%\system32\oobe\msoobe.exe /a
7. Click Yes, I want to telephone a customer service representative to activate Windows, and then click Next.
8. Click Change Product key, type the new product key in the New key boxes, and then click Update. Note If the previous Activation Wizard screen appears again, click Remind me later, and then restart the computer.
9. Repeat steps 6 and 7 to verify that Windows is started. Click OK when you receive the following message:

Windows is already activated. Click OK to exit.

Method 2: Using Script (Manual)
A- Script Preparation
1- Download and extract the zip file related to your clients OS Version (For Windows XP and 2003 With SP1 or Later.zip OR For Windows XP and 2003 Without Service Pack.zip ) from the following SkyDrive link: http://sdrv.ms/TyBqSZ
2- Copy the files to a shared folder that have everyone read permissions.
3- Right click on the ChangeVLKey.bat file and select Edit.
4- Replace ChangeVLKey.vbs with the exact share location of the file (Eg: \\FileServer\ChangeVLKey\ChangeVLKey.vbs )

5- Replace ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX with the new valid product key and save the batch file.

B- Script Testing
1- Login as Administrator on a test Windows XP or 2003 machine with the related version.
2- Run the ChangeVLKey.bat file from the shared folder, and confirm that no error was returned.
3- Restart the computer and check if you still receive the validation error.

Method 3: Using a Startup Script
A- Script Preparation
6- Download and extract the zip file related to your clients OS Version (Startup Script For Windows XP and 2003 With SP1 or Later.zip OR Startup Script For Windows XP and 2003 Without Service Pack.zip ) from the following SkyDrive link: http://sdrv.ms/Wn2UKj
7- Copy the files to a shared folder that have everyone read permissions.
8- Right click on the ChangeVLKey.bat file and select Edit.
9- Replace ChangeVLKey.vbs with the exact share location of the file (Eg: \\FileServer\ChangeVLKey\ChangeVLKey.vbs )
10- Replace ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX with the new valid product key and save the batch file.

B- Script Testing

1- Login to Domain Controller and start Group Policy Management Console à Create a New Group Policy Object linked to the container of Sample PCs with the corresponding OS as the Script prepared.
2- Navigate to Computer Configuration/Windows Settings/Scripts (Startup/Shutdown).
3- In the Startup Properties dialog box, Click on Add to browse for the file ChangeVLKey.bat (EG: \\FileServer\ChangeVLKey\ChangeVLKey.bat)
4- Click Apply àOk.
5- Make sure that the policy is applied to the sample Computers, and perform a restart operation to run the Startup Script.

0 comments: