Office Enter your product key window used to change the Office product key without reinstalling

Change Office Product Key Without Reinstalling (4 Methods)

Last updated: 25 October 2026 · Applies to Office 2024, 2021, 2019, 2016, 2013 and Microsoft 365 on Windows

In short

You don’t need to uninstall Office to change its product key. In any Office app, go to File › Account › Change License, choose Enter product key instead, type the new key and select Install this product instead. For volume licences, or when that button is missing, use Command Prompt: run cscript ospp.vbs /dstatus to see the current key, /unpkey: to remove it, /inpkey: to add the new one and /act to activate. Your documents, settings and apps stay exactly as they are.

Key takeaways
+Changing the key never deletes your files, templates or settings. Office stays installed; only the licence changes.
+Change License in File › Account is the easiest method for retail Office with a product key.
+ospp.vbs works on every Office version from 2010 to 2024, including volume-licensed Professional Plus and Standard.
+Office 2021, 2024 and Microsoft 365 are often tied to a Microsoft account rather than a key, so you switch the account, not the key.
+A retail key can’t activate a volume install, and a volume key can’t activate a retail install. If they don’t match, you get error 0xC004F069.

There are plenty of reasons to change the product key in Microsoft Office. Maybe Office came pre-installed with a trial or a key that has stopped working. Perhaps you bought a new licence, upgraded from Home & Student to Professional Plus, or found one key installed on several PCs at once. It might simply be a business PC moving from one licence to another.

Most guides tell you to uninstall Office and start again. You rarely need to. This guide shows you how to change the Office product key without reinstalling, using the built-in Change License option, the ospp.vbs command-line tool, your Microsoft account, or Control Panel on older versions. It also covers volume licences, error codes, and how to clear an old licence completely.

Retail Office with a key
Method 1: Change License
Office 2016, 2019, 2021 or 2024 bought as a 25-character key. Go to method
Volume licence or no Change License button
Method 2: ospp.vbs
Professional Plus, Standard, LTSC, or any version where the menu won’t help. Go to method
Licence linked to a Microsoft account
Method 3: Switch account
Microsoft 365, and Office 2021 or 2024 redeemed online. Go to method
Office 2010 or 2013 (MSI)
Method 4: Control Panel
Older Office versions installed from a disc or MSI package. Go to method
Which method to use. If you’re not sure what type of licence you have, start with the check in the next section.

Before You Start: Check Your Office Version and Licence Type

Two minutes of checking saves a lot of trial and error. The right method depends on three things: your Office version, whether it’s retail or volume licensed, and whether it’s activated with a key or an account.

Find your Office version

Open Word, Excel or any Office app and go to File › Account. The product name under Product Information tells you the version and edition, for example Office Home & Business 2021 or Microsoft Office LTSC Professional Plus 2024. If you see a Subscription Product heading, you’re on Microsoft 365.

Document1 – Word
Home
New
Open
Info
Save As
Print
Share
Export
Close
Account
Options
Account
User Information
Not signed in
Sign in
Office Theme
Use system setting
Product Information 1
Office Home & Business 2021
Product Activated
Change License 2
Office Updates
Updates are automatically downloaded and installed.
About Word
Learn more about Word, Support, Product ID and Copyright information.
1
Product Information shows your Office version and edition, and whether it’s activated.
2
Change License is where you swap the product key. If it’s missing, install Office updates first.
An illustration of the File › Account page in Word. Excel, PowerPoint and Outlook have the same page. Wording varies slightly between versions.

Check whether your licence is retail or volume

This matters because retail and volume keys aren’t interchangeable. Open Command Prompt as administrator and run:

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

Look at the LICENSE DESCRIPTION line. RETAIL channel means a retail key, VOLUME_MAK means a Multiple Activation Key, and VOLUME_KMSCLIENT means the PC activates against a company KMS server. The same output shows the last five characters of the key that’s installed now; you’ll need them to remove it.

Method 1: Change the Office Product Key With Change License

This is Microsoft’s recommended method for retail Office that came with a 25-character product key, such as Office Home & Business or Office Professional. It’s all done inside Office, and Microsoft’s support article lists it as the first option.

1
Open any Office app
Word, Excel or PowerPoint all work. Open a blank document.
2
Go to File › Account
Select File, then Account near the bottom of the left menu.
3
Select Change License
It’s under Product Information. No button? Install Office updates first, then check again.
4
Choose Enter product key instead
If you’re signed in, select Use a different account first, then Enter product key instead.
5
Type the new key
Enter your 25-character key and select Install this product instead.
6
Close all Office apps
Office finishes updating the licence in the background. Reopen an app and check File › Account.
Changing the Office product key with Change License. Your documents and settings aren’t affected.
Activate Office
Sign in to activate Office
Enter the email address associated with Office.
Enter product key instead 1
Next
Enter your product key
Enter your product key
Your product key is on the card or email that came with your purchase.
NKGG6WBPCRJ4XTP8QR7MHV7Q9
Office Home & Business 2021 2
Install this product instead3
1
Skip signing in: select Enter product key instead.
2
Office checks the key as you type and shows which product it belongs to.
3
Install this product instead swaps the licence. The key shown is a placeholder.
An illustration of the two windows you see after selecting Change License. Layout can differ slightly between Office versions.

If there’s no Change License button

The button only appears on up-to-date Click-to-Run installs. Go to File › Account › Update Options › Update Now, let Office update, restart the app and look again. Volume-licensed editions (Professional Plus and Standard from a company or LTSC) never show it, so use Method 2.

If Office says the key is for a different product

Office will happily switch you to a different edition, for example from Home & Student to Home & Business. When you select Install this product instead, it downloads the apps the new licence includes. That’s an update, not a full reinstall, and your files stay where they are.

Method 2: Change the Office Key With ospp.vbs (Command Line)

The Office Software Protection Platform script, ospp.vbs, ships with every desktop Office version from 2010 onwards. It works for retail and volume licences, needs no Microsoft account, and is the method IT admins use. Microsoft documents it for fixing the common problem of one key installed on several PCs.

Step 1: Open Command Prompt as administrator and go to the Office folder

Select Start, type cmd, right-click Command Prompt and choose Run as administrator. Then move to your Office folder. Office 2016, 2019, 2021 and 2024 all use Office16:

Your OfficeFolder containing ospp.vbs
Office 2016 to 2024, 64-bitC:\Program Files\Microsoft Office\Office16
Office 2016 to 2024, 32-bit on 64-bit WindowsC:\Program Files (x86)\Microsoft Office\Office16
Office 2013Office15 (same locations)
Office 2010Office14 (same locations)
Where to find ospp.vbs. If you’re not sure whether Office is 32 or 64-bit, try the first path; a wrong path just shows an error and does no harm.
cd "C:\Program Files\Microsoft Office\Office16"

Step 2: See the key that’s installed now

cscript ospp.vbs /dstatus
Administrator: Command Prompt
C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /dstatus
—Processing————————–
LICENSE NAME: Office 21, Office21HomeBusiness2021R_Retail edition
LICENSE DESCRIPTION: Office 21, RETAIL channel1
LICENSE STATUS: —NOTIFICATIONS—
ERROR CODE: 0xC004F009
Last 5 characters of installed product key: 7H8Q92
—Exiting—————————–
1
The licence channel: RETAIL, VOLUME_MAK or VOLUME_KMSCLIENT. Your new key must match it.
2
The last five characters of the current key. You’ll use these to remove it.
An illustration of ospp.vbs /dstatus output for a copy of Office that has stopped activating. If several products are listed, each has its own key.

Step 3: Remove the old key

cscript ospp.vbs /unpkey:7H8Q9

Replace 7H8Q9 with the five characters from your own output. You’ll see Product key uninstall successful. If /dstatus listed more than one key, for example Office plus Visio or Project, only remove the one you’re replacing.

Step 4: Install the new key

cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Type the full 25-character key, dashes included. A good key returns Product key installation successful.

Step 5: Activate Office

cscript ospp.vbs /act
Administrator: Command Prompt
C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /unpkey:7H8Q9
<Product key uninstall successful>1
C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /inpkey:NKGG6-WBPCR-J4XTP-8QR7M-HV7Q9
<Product key installation successful>2
C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /act
<Product activation successful>3
1
The old key is removed. Office keeps working in the meantime.
2
The new key is installed. If you see an error here, check the troubleshooting section.
3
Office activates online. Restart any open Office apps.
An illustration of a complete key change with ospp.vbs. The key shown is a placeholder.

Method 3: Office Linked to a Microsoft Account

Microsoft 365 subscriptions, and most retail copies of Office 2021 and 2024, don’t keep a product key on your PC at all. You redeem the key once online, it’s attached to your Microsoft account, and Office activates whenever you sign in. To change licence, you change the account or redeem the new key to it.

Redeem a new key and switch to it

1
Redeem the key online
Go to microsoft365.com/setup, sign in with the Microsoft account you want to use and enter the 25-character key.
2
Open File › Account
In any Office app, find Product Information.
3
Select Switch License
Or Change License, depending on your version. Sign in with the account that now holds the licence.
4
Pick the licence
If the account has more than one eligible licence, choose the one you want from the list.
5
Close all Office apps
Office installs whatever apps the new licence includes, then activates.
Switching Office to a licence on a different Microsoft account, without uninstalling.

According to Microsoft’s guide to switching your Office license, this works for Microsoft 365, Office 2024 and Office 2021 on Windows. It doesn’t work to or from a volume-licensed edition. If the Switch License button doesn’t appear, update Office first.

Moving from Microsoft 365 to Office 2024 (or back)

Switch License handles this too. Many people move from a subscription to a one-time purchase to stop paying every year; our Office 2024 vs Microsoft 365 vs LibreOffice comparison covers what you gain and lose. When you switch, Office removes subscription-only features such as Copilot and the extra OneDrive cloud storage, but your documents stay on the PC.

Find a key you’ve already redeemed

Sign in at account.microsoft.com, open Services & subscriptions and select View product key next to the product. Microsoft only shows keys for some purchases, but it’s the quickest place to look when you’ve lost the email.

Method 4: Change the Key in Control Panel (Office 2010 and 2013)

Older Office versions installed from a disc or an MSI package have a key option in their setup program. It isn’t available on modern Click-to-Run installs, which only offer Quick Repair and Online Repair.

1
Open Programs and Features
Press Win + R, type appwiz.cpl and press Enter.
2
Select your Office
Click Microsoft Office Professional Plus 2013 (or your version), then select Change.
3
Choose Enter a Product Key
Select the option and click Continue.
4
Type the new key
Enter the 25-character key, continue, and restart an Office app to activate.
Changing the key on Office 2010 or 2013 installed with an MSI package.
Microsoft Office Professional Plus 2013
Change your installation of Microsoft Office
Add or Remove Features
Repair
Remove
Enter a Product KeyEnter a new key to change the licence without reinstalling.1
Continue
1
Enter a Product Key only appears on MSI-based installs of Office 2010 and 2013, and some volume installs of Office 2016.
An illustration of the Office 2013 setup Change window.

If you only see Quick Repair and Online Repair, your Office is Click-to-Run: use Method 1 or Method 2 instead. Both Office 2010 and Office 2013 are past the end of support, so if you’re buying a new key anyway, a current version gets you security updates.

Changing a Volume Licence Key (MAK and KMS)

Volume-licensed Office, usually Professional Plus or Standard, uses either a MAK (Multiple Activation Key, activated once with Microsoft) or KMS (activated against a server on your company network). Use ospp.vbs for both.

MAK key
Online activation
/inpkey: your MAK key, then /act. Each activation uses one of the key’s allowed activations.
MAK key
No internet on the PC
Run /dinstid to show the Installation ID, get a Confirmation ID from Microsoft, then /actcid: followed by the Confirmation ID and /act.
KMS client
Point Office at your KMS host
Install the published KMS client key (GVLK) with /inpkey:, set the host with /sethst:kms.yourdomain.local, then run /act.
KMS to MAK
Leaving the company network
Run /unpkey: on the KMS client key, install the MAK with /inpkey: and run /act. KMS activations expire after 180 days without contact.
Common volume licence key changes and the ospp.vbs switches for each.

The offline MAK steps work the same way as offline Windows activation, now that Microsoft has replaced phone activation with its online Product Activation Portal. Our guide to activating Windows Server without internet walks through the portal step by step.

Retail Key on a Volume Install (or the Reverse)

This is the most common reason a key change fails. Office comes in two channels, and a key only works with the matching one:

  • A retail key (Home & Student, Home & Business, Professional) needs a retail install.
  • A volume key (Professional Plus or Standard MAK, KMS, or LTSC) needs a volume install.

Install the wrong type with /inpkey and you’ll get ERROR CODE: 0xC004F069, which means Office can’t find a licence for that key in the installed edition. Microsoft also says you can’t use Switch License to move to or from a volume edition.

To fix it without uninstalling first, IT admins use Microsoft’s free Office Deployment Tool to convert the installed product. You point a configuration file at the edition that matches your key and run setup. Office converts in place and your files and settings stay, though the apps themselves are downloaded again. For example, to switch to volume-licensed Office LTSC Professional Plus 2024:

<Configuration>
  <Add OfficeClientEdition="64" Channel="PerpetualVL2024">
    <Product ID="ProPlus2024Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
      <Language ID="MatchInstalled" />
    </Product>
  </Add>
  <RemoveMSI />
  <Display Level="Full" AcceptEULA="TRUE" />
</Configuration>

Save it as config.xml next to setup.exe from the Office Deployment Tool and run setup.exe /configure config.xml from an administrator Command Prompt. For a retail key, use a retail product ID such as ProPlus2024Retail and the Current channel instead.

How to Remove the Old Office Licence Completely

Sometimes Office keeps showing the old licence, an old account, or an Unlicensed Product banner even after you’ve installed a new key. Clearing every stored licence gives you a clean start, still without reinstalling Office.

The quick way: Microsoft’s reset tools

Microsoft publishes a Microsoft 365 activation troubleshooter in the Get Help app, and a script, OLicenseCleanup.vbs, that removes previous licences and cached accounts in one go. Both are linked from Microsoft’s guide to resetting Office activation state. Run the script as administrator with Office closed.

The manual way

  1. Run cscript ospp.vbs /dstatus and remove every key with /unpkey: until it reports No installed product keys detected.
  2. Delete the contents of %localappdata%\Microsoft\Office\Licenses, where account-based licences are stored.
  3. In Registry Editor, delete HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Licensing and ...\Common\Identity. Back up the registry first.
  4. Open Control Panel › Credential Manager › Windows Credentials and remove every entry that mentions Office or MicrosoftOffice16.
  5. Open an Office app. It now asks you to sign in or enter a key, and you can add the new licence.

How to Confirm the New Product Key Is Active

Check in two places. In any Office app, File › Account should show the new product name and Product Activated. From the command line, cscript ospp.vbs /dstatus should show the new key’s last five characters and:

Administrator: Command Prompt
C:\Program Files\Microsoft Office\Office16> cscript ospp.vbs /dstatus
LICENSE NAME: Office 21, Office21HomeBusiness2021R_Retail edition
LICENSE DESCRIPTION: Office 21, RETAIL channel
LICENSE STATUS: —LICENSED—1
Last 5 characters of installed product key: HV7Q92
1
LICENSED means Office is activated with the new key.
2
The last five characters now match your new key.
An illustration of /dstatus output after a successful key change.

Troubleshooting: Office Product Key Change Problems

“Input Error: Can not find script file”
You’re in the wrong folder, or in PowerShell without .\.
Fix:Try the Program Files (x86) path, or use cscript .\ospp.vbs in PowerShell.
Error 0xC004F069
The key doesn’t match the installed edition or channel.
Fix:Check retail vs volume with /dstatus, then convert with the Office Deployment Tool.
Error 0xC004F050
The key was mistyped or isn’t a valid Office key.
Fix:Check for confused characters such as B and 8. Office keys never contain the letters A, E, I, L, O, S, U or Z, or the digits 0, 1 or 5.
Error 0xC004C008
The key has reached its activation limit.
Error 0x4004F00C
Office is in its grace period and isn’t activated yet.
Fix:Run /act, or follow our 0x4004F00C guide.
Office still shows the old licence
An old account or cached licence is still stored.
Fix:Sign out in File › Account, then clear the old licence.
Common errors when changing an Office product key, and how to fix each one.

For the full activation history, run cscript ospp.vbs /dhistoryacterr; it lists recent errors with their codes. Still stuck after a fresh key? Our article on Office 2024 key not working covers more fixes.

Need a New Office Product Key?

Noxkeys delivers genuine Microsoft Office product keys instantly by email, with step-by-step activation instructions. Professional Plus keys work with the ospp.vbs method in this guide, so you can switch an existing install over without uninstalling.

Microsoft Office 2024 Professional Plus
Latest version · one-time purchase
Office 2024 Professional Plus
Word, Excel, PowerPoint, Outlook, Access and more.
View Office 2024
Microsoft Office 2021 Professional Plus
Proven · lower price
Office 2021 Professional Plus
The full desktop suite for one PC.
View Office 2021

Browse all Microsoft Office licences, read our FAQ, or contact support with a screenshot of your /dstatus output if a key change fails.

Frequently Asked Questions

Can I change my Office product key without reinstalling?

Yes. Use File > Account > Change License in any Office app and choose Enter product key instead, or run cscript ospp.vbs with /unpkey, /inpkey and /act from an administrator Command Prompt. Office stays installed and your files and settings are kept.

Will changing the Office key delete my documents?

No. The product key only controls the licence. Your documents, templates, Outlook data and settings are not touched.

How do I find my current Office product key?

Office only stores the last five characters on your PC. Run cscript ospp.vbs /dstatus to see them. For keys redeemed to a Microsoft account, sign in at account.microsoft.com, open Services & subscriptions and select View product key.

Why is there no Change License button in Office?

Your Office needs updating, or it’s a volume-licensed edition. Update via File > Account > Update Options > Update Now. For volume editions, use the ospp.vbs commands instead.

Where is ospp.vbs located?

For Office 2016, 2019, 2021 and 2024 it’s in C:\Program Files\Microsoft Office\Office16, or C:\Program Files (x86)\Microsoft Office\Office16 for 32-bit Office on 64-bit Windows. Office 2013 uses Office15 and Office 2010 uses Office14.

How do I change the product key for Office 2024 or 2021?

If you have a 25-character key, use File > Account > Change License, or ospp.vbs for Professional Plus volume keys. If your copy is linked to a Microsoft account, redeem the new key at microsoft365.com/setup and use Switch License.

Can I use a retail key on a volume version of Office?

No. Retail keys only activate retail installs and volume keys only activate volume installs. A mismatch causes error 0xC004F069. Convert the installation with the Office Deployment Tool to match your key.

How do I remove an Office product key?

Run cscript ospp.vbs /dstatus to find the last five characters of the key, then cscript ospp.vbs /unpkey: followed by those five characters. Repeat for each listed key.

How do I change from Microsoft 365 to Office 2024 without uninstalling?

Redeem the Office 2024 key to your Microsoft account, then go to File > Account and select Switch License. Office installs the 2024 apps and removes subscription-only features, but keeps your files.

Can I change the Office key on a Mac the same way?

No. Office for Mac doesn’t use ospp.vbs or Change License. You sign out and sign in with the account that holds the new licence, or use Microsoft’s License Removal Tool for Mac to clear the old one.

Leave a Reply

Your email address will not be published. Required fields are marked *


Instant Delivery

Get instant delivery by email

Secure Payments

100% protected transactions

Replacement or Refund

Key doesn’t work? We’ll replace it or refund you

Free activation support

Help with installing & activating