Key kích hoạt office 2023

OneNote for Microsoft 365 Visio Plan 2 OneNote for Microsoft 365 for Mac Excel 2021 Word 2021 Outlook 2021 PowerPoint 2021 Access 2021 Project Professional 2021 Project Standard 2021 Publisher 2021 Visio Professional 2021 Visio Standard 2021 Office 2021 OneNote 2021 Excel 2021 for Mac OneNote 2021 for Mac Excel 2019 Word 2019 Outlook 2019 PowerPoint 2019 Access 2019 Project Professional 2019 Project Standard 2019 Publisher 2019 Visio Professional 2019 Visio Standard 2019 Office 2019 Excel 2019 for Mac Excel 2016 Word 2016 Outlook 2016 PowerPoint 2016 Access 2016 OneNote 2016 Project Professional 2016 Project Standard 2016 Publisher 2016 Visio Professional 2016 Visio Standard 2016 Office 2016 Excel 2016 for Mac Outlook 2016 for Mac PowerPoint 2016 for Mac OneNote 2016 for Mac Excel 2013 Word 2013 Outlook 2013 PowerPoint 2013 Access 2013 OneNote 2013 Project Professional 2013 Project Standard 2013 Publisher 2013 Visio 2013 Office 2013 Office.com More...Less

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.

Most versions of Office 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 your Office 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. Uninstall Office from the PC where activation is failing. To do this, see Uninstall from a PC.

  2. On the PC where you uninstalled Office, sign in to your Services & subscriptions page with the email and password associated with the Microsoft account that was used to install Office.

  3. Reinstall Office by selecting Install Office for a one-time purchase that hasn't been activated. For help with installing Office, see Install Office on your PC or Mac.

  1. Sign in to your Services & subscriptions 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

      Key kích hoạt office 2023
      (lower-left corner).

    2. Type Command Prompt.

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

    1. Select the Start button

      Key kích hoạt office 2023
      (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.

      Key kích hoạt office 2023

    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.

      Key kích hoạt office 2023

    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.

      Key kích hoạt office 2023

    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.

      Key kích hoạt office 2023

    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.

      Key kích hoạt office 2023

    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.

      Key kích hoạt office 2023

    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.

Need more help?