Change your Office product key (2024)

This article applies to Office Home & Business, Office Professional, and individually purchased Office apps.To switch an Office install to or from Microsoft 365, see Switch your Office license.

Change the product key for your version

How you change the product key depends on your version of Office. Select your Office version from the tabs below.

Best practice for multiple versions of Office

If you bought multiple copies of Office and used the same Install button to install Office on multiple PCs, activation fails on the other PCs. This happens because each Install button is associated with a unique product key that can only be installed on one PC. To fix this, you can change the product key for the other PCs where you installed Office.

Note:After you change your product key, we recommend that you create a list to manage the product keys that you've installed. To learn how, see Manage multiple one-time-purchase Office installs that use the same Microsoft account.

Newer versionsOffice 2016Command line

Most versions ofOffice 2021 and Office 2019 don’t include a product key and you only need to sign in with the account already linked to your Office license.

If your version did include a product key, follow the steps under the 2016 tab.

  1. On the device where you want to change the key, open any Office app, select the File menu and then select Account near the bottom of the menu.

  2. Under Product Information, select the Change License button.

    If there is no Change License button, you may need to install Office updates.

  3. Do one of the following:

    • If you're signed in, select Use a different account, and then select Enter product key instead.

    • If you're not signed in, select Enter product key instead.

  4. Enter yourOffice 2016 product key, and then select Install this product instead.

    If your product key is new, follow the prompts to complete the redemption process.

  5. Office begins the update process. Close all Office apps to finish the process.

  1. Sign in to your page with the email and password associated with the Microsoft account that was used to install Office.

    After you sign in, you should see a list of Office products that are associated with your Microsoft account.

  2. For the first product that's listed on the page, select View product key. Copy or write down the product key. This is likely the product key that was used multiple times to install Office.

  3. Select View product key for the remaining Office products and copy or write them down. These are likely the keys that you'll use to replace the key that was used multiple times.

  4. On a PC where Office activation is failing, open the Command Prompt as described below:

    Windows 10 and Windows 8.1

    Windows 7

    1. Select the Start button Change your Office product key (1) (lower-left corner).

    2. Type Command Prompt.

    3. Right-click the Command Prompt icon, and select Run as administrator.

    1. Select the Start button Change your Office product key (2) (lower-left corner).

    2. Right-click Command Prompt and select Run as administrator.

  5. From the drop-down list below, select your Office version and Windows version (32-bit or 64-bit) and run the commands as described.

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (3)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (4)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (5)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (6)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (7)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tip:If you get an Input Error: Can not find script file... message, it means that you used the wrong command. Don’t worry, running the wrong command won’t hurt anything. Double-check your Office and Windows versions and try a different command.

    1. Copy the following command, paste the command into the Command Prompt window, and then press Enter.

      cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus

      The command prompt displays the last five characters of the product key that was used to install Office on the PC. Our example below uses XXXXX to represent these characters.

      Change your Office product key (8)

    2. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX with the last 5 digits of the product key that was shown in the previous step. Press Enter to remove the product key.

      cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX

    3. Copy the following command, paste the command into the Command Prompt window, and replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with an unused product key from your list. Press Enter to change the key.

      cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

    Tips:

    • The default installation for Office is 32-bit but if your PC has more than 4 GB of RAM, you probably have 64-bit Windows.

    • If you don't know which Office version is installed, see What version of Office am I using? To check whether Windows is installed as 32 or 64 bits, see Which Windows operating system am I running?

  6. Now start an Office app, such as Word, and select Next to activate Office over the Internet.

  7. Repeat this process for each PC where activation is failing.

Change your Office product key (2024)

FAQs

How to change Office product key? ›

On the device where you want to change the key, open any Office app, select the File menu and then select Account near the bottom of the menu. Under Product Information, select the Change License button. If there is no Change License button, you may need to install Office updates.

How to solve product key problem in Excel? ›

Buying a product key?
  1. Close all Office apps.
  2. Go to Services & subscriptions and sign in with your Microsoft account.
  3. Under your Microsoft 365 subscription, select Installs.
  4. Under PC/Mac installs used, select Sign out of Office for the device where you're getting this error.

How do I stop Office from asking for a product key? ›

Restart any Office app and the message should be gone. If this is a constant issue, reset your credentials: Open Spotlight by selecting the magnifying glass at the top right of your desktop. Search for and open Keychain. Type in Office and then delete the data license file.

How do I get a new product key for my Office program? ›

If you damaged your product key, but have a valid proof of purchase, Microsoft support may be able to replace your product key or provide other options. Contact Microsoft support for assistance.

How do I reset my Office product key? ›

Change, Activate, or Remove Microsoft Office Product Key via Console (CMD)
  1. Step 1: Launch Console (CMD) as Administrator. To do this, open CMD as an administrator. ...
  2. Step 2: Navigate to the Program Directory. ...
  3. Step 3: Display Installed Keys. ...
  4. Step 4: Remove Keys. ...
  5. Step 5: Enter a New Key. ...
  6. Step 6: Activate the New Product Key.
Mar 11, 2024

How to activate MS Office with product key free? ›

Activate a brand new or Microsoft 365 product key

If you bought a new Microsoft 365 product key card, or you received a product key when you bought Microsoft 365through an online store, go to Office.com/setup or Microsoft365.com/setup and follow the on-screen prompts.

Why is my Microsoft Office asking for a product key? ›

This can happen if you don't uninstall the pre-installed version of Office on your new PC before installing a volume license version of Office. To stop the prompts for activation, make sure your Office uses volume licensing and then update the registry.

Why does Office 365 keep asking for activation? ›

Manufacturer-preinstalled trial versions of Office 365 often cause this problem, and failing to remove this product before installing your purchase can cause reoccurring activation prompts. Failing to do so causes conflicts between the new and old Office installations, leading to persistent activation prompts.

How do I remove the product key for Microsoft Office? ›

how to remove product key from my account
  1. Type Microsoft Subscription and click Get Help.
  2. Click Login and Contact Support at the bottom of the page.
  3. Log in with your Microsoft account.
  4. Under products and Services, select Microsoft 365 and Office Option.
  5. Under category, select Manage Subscription.
Jun 22, 2023

How can I recover my Office product key? ›

To recover the product key, go to Microsoft's My Account and sign in with the Microsoft account tied to the install. The account details page will contain the product key and provide a download link to install Office.

How can I find my Microsoft Office product key? ›

Replies (7) 
  1. Go to the Microsoft account website and sign in with the email address and password associated with your Microsoft account.
  2. Once you are signed in, click on the "Services & subscriptions" tab.
  3. Locate the Microsoft Office product that you want to retrieve the license key for and click on "View product key".
Dec 28, 2023

How to download Microsoft Office if I already have a product key? ›

If you have a home product and it came with a product key*, before installing for the first time (or sharing it if you have Microsoft 365 Family), you need to redeem your product key first. Go to office.com/setup and sign in with an existing or new Microsoft account and then enter your product key to redeem it*.

How do I transfer my Office product key? ›

Transferring MS Office to Another Computer
  1. Deactivate your license, then uninstall Office on your old computer.
  2. Sign into your Microsoft account on your new computer.
  3. Download and install Office on your new computer.
  4. Sign into Office on your new computer using your Microsoft account information.
Apr 7, 2024

How to change product key in Microsoft Office 10? ›

If yes, close all Office applications > go to Start > Control Panel > Programs > Programs & Features > select the Office 2010 suite > click on Change > click on 'Change Product Key' and provide the key. Once the product key is updated, you should be able to activate Office 2010 using the new product key.

How do I change my computer product key? ›

Select the Start button, and then select Settings > System > Activation . Select Change product key . Type in the product key found on the COA and follow the instructions.

Top Articles
Sign up for a Yahoo account | My Yahoo Help - SLN2056
How to Get Followers on TikTok in 2024: 22 Proven Tips
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Lengua With A Tilde Crossword
Edina Omni Portal
Unit 30 Quiz: Idioms And Pronunciation
Visitor Information | Medical Center
Occupational therapist
Dollywood's Smoky Mountain Christmas - Pigeon Forge, TN
Mcfarland Usa 123Movies
Mychart Mercy Lutherville
Senior Tax Analyst Vs Master Tax Advisor
Practical Magic 123Movies
Best Transmission Service Margate
Robot or human?
Colts seventh rotation of thin secondary raises concerns on roster evaluation
Cooking Fever Wiki
Hartland Liquidation Oconomowoc
Five Day National Weather Forecast
2016 Ford Fusion Belt Diagram
Conscious Cloud Dispensary Photos
Aucklanders brace for gales, hail, cold temperatures, possible blackouts; snow falls in Chch
Craiglist Tulsa Ok
Ibukunore
3476405416
Craigslist Maui Garage Sale
Indystar Obits
Nearest Walgreens Or Cvs Near Me
Ezel Detailing
Aes Salt Lake City Showdown
Plaza Bonita Sycuan Bus Schedule
Southland Goldendoodles
Wiseloan Login
Egusd Lunch Menu
Striffler-Hamby Mortuary - Phenix City Obituaries
Insidious 5 Showtimes Near Cinemark Southland Center And Xd
Best New England Boarding Schools
Boneyard Barbers
Murphy Funeral Home & Florist Inc. Obituaries
RUB MASSAGE AUSTIN
Space Marine 2 Error Code 4: Connection Lost [Solved]
Craigslist Jobs Brownsville Tx
Puretalkusa.com/Amac
Pulaski County Ky Mugshots Busted Newspaper
Elven Steel Ore Sun Haven
Motorcycles for Sale on Craigslist: The Ultimate Guide - First Republic Craigslist
German American Bank Owenton Ky
Quest Diagnostics Mt Morris Appointment
Runescape Death Guard
M Life Insider
Who We Are at Curt Landry Ministries
Volstate Portal
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6006

Rating: 4.3 / 5 (74 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.