Remove KMS Host (2024)

  • Question

  • I recently bought the Office 2010 Vol. Lisc. and saw the option for the KMS host. I downloaded it and put it on my one 2008 server I have (rest are 2003). It shows the partial key in there but now I would like to remove it. I only have 2 copies and will only be slowing incrementally getting 2010 onto our machines, so MAK seems a better solution, I won't have the 25 minimum machines for a long time.

    I used the /upk and all that did was remove the actual lisc. the server was using, not the Office lisc. I want to make sure that KMS is gone, how can I remove it so it doesn't mess wiht future installs, I now wish I had not even experimented with it! I cannot find anything on how to remove it.

    • Moved by Karen Ji Wednesday, June 30, 2010 9:52 AM (From:Windows Server 2008 R2 General)

    Tuesday, June 29, 2010 11:08 PM

Answers

  • Step by Step Guide:

    1. Uninstall the KMS host key first byrunning the following command:

    slmgr -upk

    2.Then, install thedefault kms key by running the following command:

    slmgr /ipk [KMS Client Setup Key]

    The default KMS client setup keys can be found here:

    3. Delete the record from the DNS:

    Open DNS console:

    Expand_tcpnode under thedomain.com.Therewill be a record_VLMCS.Delete this record.

    4. The KMS server is uninstalled.

    MCSA/MCTS/MCP

    • Marked as answer by jzenno Wednesday, June 30, 2010 3:58 PM

    Wednesday, June 30, 2010 8:09 AM

  • Hi Jzenno,

    You can useslmgr.vbs /upk <Activation ID> to remove the KMS host key for Office 2010.

    The Office 2010 activation ID isbfe7a195-4f8f-4f0b-a622-cf13c7d16864.

    For more information on how to deploy volume activation of Office 2010, please refer to the link below.

    http://technet.microsoft.com/en-us/library/ee624357.aspx#section

    In the future, for Office related issues, I suggest posting in the forum below.

    http://social.technet.microsoft.com/Forums/en-us/category/officeitpro

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other customers who access the forum regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Karen Ji

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” This posting is provided "AS IS" with no warranties, and confers no rights.

    On July 1st we will be making this forum read only. After receiving a lot of feedback from the community, it was decided that this forum is a duplication and therefore redundant of the General Forum. So, until July 1st, we will start asking customers to redirect their questions to theGeneral Forum. On June 11th, CSS engineers will move any new threads to theGeneral Forum.

    Please post a reply tothe announcement thread if you have any feedback on this decision or the process. You can also email WSSDComm@microsoft.com.

    • Marked as answer by jzenno Wednesday, June 30, 2010 3:55 PM

    Wednesday, June 30, 2010 9:51 AM

All replies

  • Hello,

    the Office 2010 KMS host must run on Windows server 2008 R2 or Windows 7. So make sure this is correct before removing an older KMS host.

    Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Step by Step Guide:

    1. Uninstall the KMS host key first byrunning the following command:

    slmgr -upk

    2.Then, install thedefault kms key by running the following command:

    slmgr /ipk [KMS Client Setup Key]

    The default KMS client setup keys can be found here:

    3. Delete the record from the DNS:

    Open DNS console:

    Expand_tcpnode under thedomain.com.Therewill be a record_VLMCS.Delete this record.

    4. The KMS server is uninstalled.

    MCSA/MCTS/MCP

    • Marked as answer by jzenno Wednesday, June 30, 2010 3:58 PM

    Wednesday, June 30, 2010 8:09 AM

  • Hi Jzenno,

    You can useslmgr.vbs /upk <Activation ID> to remove the KMS host key for Office 2010.

    The Office 2010 activation ID isbfe7a195-4f8f-4f0b-a622-cf13c7d16864.

    For more information on how to deploy volume activation of Office 2010, please refer to the link below.

    http://technet.microsoft.com/en-us/library/ee624357.aspx#section

    In the future, for Office related issues, I suggest posting in the forum below.

    http://social.technet.microsoft.com/Forums/en-us/category/officeitpro

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other customers who access the forum regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Karen Ji

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” This posting is provided "AS IS" with no warranties, and confers no rights.

    On July 1st we will be making this forum read only. After receiving a lot of feedback from the community, it was decided that this forum is a duplication and therefore redundant of the General Forum. So, until July 1st, we will start asking customers to redirect their questions to theGeneral Forum. On June 11th, CSS engineers will move any new threads to theGeneral Forum.

    Please post a reply tothe announcement thread if you have any feedback on this decision or the process. You can also email WSSDComm@microsoft.com.

    • Marked as answer by jzenno Wednesday, June 30, 2010 3:55 PM

    Wednesday, June 30, 2010 9:51 AM

  • Thanks Karen &Senne.I used those instructions and it worked this time. I guess I was having trouble finding the 2010 activation key. Sorry about the wrong area, I guess I assumed it would be server related, who isn't runningservers that has enough lisc to deploy via KMS? Anyway I appreciate the info. It is a 2008 R2 machine sorry i dind't specify that orginally but all is well. Guess we just are not rolling into the new stuff quick enough to use KMS oh well.

    One more thing though, when i use slmgr.vbs it opens a windows script host window, when i say /dlv all it is so large it gets cut off at the bottom and has no way to scroll? Is this normal? I got around it by running it as cscript to out put in cmd window but figured I would ask.

    Thanks again.

    Jeff

    Wednesday, June 30, 2010 4:02 PM

  • Hi Jeff,

    Glad that your problem got solved.

    If you use "slmgr.vbs: directly, a window will prompt to show the result of the cmd you run. If the window cannot show all the information, it might because of the screen resolution.

    Anyway, of course you can use "cscript slmgr.vbs" command, then the result will be displayed in the command window.

    Regards,

    Karen Ji

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, July 1, 2010 1:27 AM

  • Can anyone point me to the documentation or help files that document the KMS hostuninstall procedure (removing a KMS host) for Windows 7 and Server 2008 R2? (The link above,http://technet.microsoft.com/en-us/library/cc303280.aspx, refers to Vista and 2008).I have searched on Technet and find volume activation information for Windows 7 and Win2k8r2 (Here:http://technet.microsoft.com/en-us/library/dd996591.aspx) but can't seem to find the relevent uninstallinformation.

    In my particular situation, a different sysadmin created a VM for me and apparently used the KMS product key when installing Windows Server 2008 R2 Enterprise Edition. The resulting host thinks it is a KMS server (but we already have one of those, thank you very much). So obviously I don't want to remove the valid _vlmcs SRV record in the DNS _tcp node (your step 3)!

    So after I uninstall the KMS host, do I need to activate my copy of Win2k8r2 EE (re-activate, actually)? Would I just use the GVLK fromhttp://technet.microsoft.com/en-us/library/ff793421.aspx(489J6-VHDMP-X63PK-3K798-CPX3Y for Win2k8r2 EE)?

    The advance help output from "slmgr.exe -?" indicates that the -upk option also requires an [Activation ID] as a parameter. Where do I find the [Application ID] for my KMS host?

    Also there is something called mKMSact.exe I have seen in various (non-Microsoft) forums, but that doesn't seem to be a part of this discussion, yet there are plenty of hits (some of which are malware removal hits) that indicate to remove the KMS host service from a Windows machine you need to use something called "mKMSact.exe".

    Thanks in advance.

    Monday, August 29, 2011 6:09 PM

  • Also, I neglected to include the error message from the new accidental KMS host server:

    Log Name: Application
    Source: Microsoft-Windows-Security-SPP
    Date: 8/29/2011 2:43:21 PM
    Event ID: 12293
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: COREP1-VM.meriter.com
    Description: Publishing the Key Management Service (KMS) to DNS in the 'meriter.com' domain failed.
    Info: 0x80072338

    Tuesday, August 30, 2011 1:41 PM

  • Hi George, use the command:
    cscript slmgr.vbs /upk

    this will "Uninstall Product Key" (upk) of the Windows product on the machine.
    this leaves the machine in an unlicensed state, so you then use /ipk
    (Install Product Key) to apply the relevant kms-client key, which will then activate to your "proper" kms-host.

    entering the Activation ID is optional, if not specified, the affected Activation ID (product key) will be the primary/own key for that machine. in your case, that's exactly the key you wish to change.

    you can do this via the GUI if you prefer (change product key)

    you can ignore the steps to remove the dns srv record for the incorrect kms-host, if there is no _vlmcs record there for it then there is nothing to remove.

    the TN library links you have quoted are the ones you need.

    Don

    Wednesday, August 31, 2011 11:28 AM

  • I know you are trying to make this as simple as possible to understand, but it is still about as clear as mud.

    You say I can use the GUI if I prefer (change product key). I assume you mean Control Panel > System and Security > System Properties > Windows Activation > Change Product Key. ("Computer Properties") But my copy of Windows Server 2008 R2 already indicates Activation was successful. Why would I want to change the product key?

    If I can usea GUI tochange the product key(seems nice)can I also find a GUI touninstall the accidental KMS host I got stuck with? It isn't in the "Programs and Features > Uninstall or change a program". It isn't listed in"Roles" in Server Manager. It isn't listed in "Features" in Server Manager.

    Don't I have to uninstall a KMS host service? How can it only be the matter of replacing a license key? Isn't that just a text file somewhereso replacing a text key doesn't uninstall the accidental implementation of a KMS infrastructure on my server?

    What is the "mKMSact.exe" tool I find when I search for this subject on the Internet?

    Thanks Don, or whoever else feels qualified to step in and clearup the mud for me.

    Rant: Microsoft has really done themselves a disservice in how this was implemented. Licensing should bea one-time administrative task, set-it and forget-it. Only a non-technical administrative contract/licensing specialist should even have to deal with any of this nonsense.

    Wednesday, August 31, 2011 3:01 PM

  • George, it's both simpler and more complicated than it appears ;)

    Vista + Win7 + SRV2008 + SRV2008R2 all have KMShost(for activating Windows)capability built-in. Office2010 KMShost is an addon.

    a KMShost is created on Vista + Win7 + SRV2008 + SRV2008R2, simply by "installing" a special product key.
    this triggers the box to reconfigure itself as a "customer hosted activation service".

    Yes, you can use GUI via the steps you mention.

    your VM was incorrectly installed *AND* activated using a KMShost product key. to un-do that, you need to change the current product key, and that will de-activate the KMShost functions. (note that this isn't really necessary if no activation requests ever get directed to your VM, you could just leave it as-is).

    if you de-activate as KMShost, then you need to re-activate as KMSclient. (or MAK if you prefer)

    the references to mKMSact.exe are unknown to me.I suspect they may be part of the piracy approach by the people who do that sort of thing. Irecommend youstay well clear of such things.

    if this is all too much, leave your VM as-is. no licensing agreements are being broken by running an extra KMShost, and, KMShost is a very lightweight service that runs as a listener, it doesn't phone-home or poll clients or do discoveries etc.

    I personally find the KMS/VA solution quite easy to deal with (once I got my head around it and got familiar).
    Admittedly, I have the luxury of a broad team to permit me to spend time on such things.
    (although little choice, as we have many isolated/firewalled networks, ~7000 servers, and ~55000 desktops)
    (I expect to be building quite a few more KMShosts :)

    Don

    • Proposed as answer by George Perkins Thursday, September 1, 2011 2:03 PM

    Wednesday, August 31, 2011 9:30 PM

  • Thanks Don for the clarification. It would be nice if the Microsoft documentationjust saidthis plainly.

    For the record, here are the commands (in bold) I ran and they did the trick.

    C:\Windows\system32>cscript slmgr.vbs /dlv

    Software licensing service version: 6.1.7601.17514
    Name: Windows Server(R), ServerEnterprise edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMS_R2_B channel
    Activation ID: c9xxxx1f-c4ea-4e63-bec3-5exxxxxxxx57
    Application ID: 55xxxx34-d682-4d71-983e-d6xxxxxxxx9f
    Extended PID: xxxxx-00168-313-104753-03-1033-7601.0000-21xxxxx
    Installation ID: 00xxxxxxxxxx670411087761660282413841821481xxxxxxxxxx35
    Processor Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88342
    Machine Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88343
    Use License URL: http://go.microsoft.com/fwlink/?LinkID=88345
    Product Key Certificate URL: http://go.microsoft.com/fwlink/?LinkID=88344
    Partial Product Key: YxxxM
    License Status: Licensed
    Remaining Windows rearm count: 3
    Trusted time: 8/31/2011 10:23:23 AM
    Key Management Service is enabled on this machine
    Current count: 0
    Listening on Port: 1688
    DNS publishing enabled
    KMS priority: Normal
    Key Management Service cumulative requests received from clients
    Total requests received: 0
    Failed requests received: 0
    Requests with License Status Unlicensed: 0
    Requests with License Status Licensed: 0
    Requests with License Status Initial grace period: 0
    Requests with License Status License expired or Hardware out of tolerance: 0
    Requests with License Status Non-genuine grace period: 0
    Requests with License Status Notification: 0


    C:\Windows\system32>cscript slmgr.vbs /upk
    Uninstalled product key successfully.


    C:\Windows\system32>cscript slmgr.vbs /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y
    Installed product key 489J6-VHDMP-X63PK-3K798-CPX3Y successfully.


    C:\Windows\system32>cscript slmgr.vbs /ato
    Activating Windows Server(R), ServerEnterprise edition (62xxxx3d-09e7-42fd-802a-17xxxxxxxx7a) ...
    Product activated successfully.


    C:\Windows\system32>cscript slmgr.vbs /dlv
    Software licensing service version: 6.1.7601.17514
    Name: Windows Server(R), ServerEnterprise edition
    Description: Windows Operating System - Windows Server(R), VOLUME_KMSCLIENT channel
    Activation ID: 62xxxx3d-09e7-42fd-802a-17xxxxxxxx7a
    Application ID: 55xxxx34-d682-4d71-983e-d6xxxxxxxx9f
    Extended PID: xxxxx-00168-001-000107-03-1033-7601.0000-2432011
    Installation ID: 01xxxxxxxxxx7347734295547191215001445625xxxxxxxxxxxx24
    Partial Product Key: CPX3Y
    License Status: Licensed
    Volume activation expiration: 259200 minute(s) (180 day(s))
    Remaining Windows rearm count: 1
    Trusted time: 8/31/2011 10:26:22 AM
    Key Management Service client information
    Client Machine ID (CMID): fcxxxxfb-fba9-4153-b342-b0xxxxxxxxc2
    KMS machine name from DNS: kms01-vm.xxxxxx.com:1688
    KMS machine extended PID: xxxxx-00168-313-104753-03-1033-7600.0000-xxxxxx
    Activation interval: 120 minutes
    Renewal interval: 10080 minutes
    KMS host caching is enabled

    Thursday, September 1, 2011 2:29 PM

  • Great news George!
    thanks for sharing your outcome in such detail, it will help many others !

    Don

    Thursday, September 1, 2011 9:46 PM

  • I need to take KMS off 2003 server. What would the default KMS key be for Windows server 2003? I am referring to step 2.

    Then, install thedefault kms key by running the following command:

    slmgr /ipk [KMS Client Setup Key]

    Tuesday, January 28, 2014 3:30 PM

  • I need to take KMS off 2003 server. What would the default KMS key be for Windows server 2003? I am referring to step 2.

    Then, install thedefault kms key by running the following command:

    slmgr /ipk [KMS Client Setup Key]

    WS2003 does not itself use KMS nor does it have a need for a default KMSclient nor MAK key.
    Later/newer OS does have a requirement for a key at all times, but WS2003 doesn't use VolumeActivation 2.0.

    So, to decommission your WS2003 KMShost, all you need to do is to uninstall the OfficeKMShostpack and KMShostpack. You should also check for any DNS records that refer to this host for KMS purposes (_VLMCS._TCP) and remove them.

    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

    Tuesday, January 28, 2014 8:09 PM

  • Great!
    Helped so much!

    I'm posting here the keys for new products:
    https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys

    Regards,

    Marcelo Lucas Guimarães
    MCP, MCTS, MCDBA, MCITP
    Twitter: @mlucasg7
    Blog: http://mlucasg.wordpress.com

    Thursday, June 27, 2019 5:57 PM

Remove KMS Host (2024)

FAQs

How do I completely remove KMS? ›

Only a clean install will ensure the removal of all traces of the KMS activator. It changes many registry keys and adds files that will not be detected by the antivirus software because it is not harmful. If you want to ensure the complete removal, do a clean install.

How to remove KMS host? ›

Step by Step Guide:
  1. Identify the activation ID by running this cmd: Slmgr/dlv.
  2. Uninstall the KMS host key first by running CMD: Slmgr/upk < activation ID>
  3. Then, install the default kms key by running the following command: slmgr /ipk <KMS Client Setup Key>
  4. Delete the record from the DNS:
  5. The KMS server is uninstalled.
Apr 7, 2022

How do I delete a KMS DNS record? ›

To do this, open the console, expand the Forward Lookup Zones folder, and then locate the zone that contains the _vlmcs. _tcp record. Right-click the record and select Delete. This will remove the record from the DNS server.

How do I remove KMS activation from Microsoft Office? ›

Open the Start menu - Settings - Apps, enter the name of the software with "KMS" or similar in the search box in the list of apps, and click the software name in the search results to uninstall it.

How to uninstall kmspico completely? ›

To uninstall KMS on Windows 10, you can use the following steps:
  1. Open an elevated command prompt. ...
  2. Run the following command to stop the KMS service: net stop sppsvc.
  3. Run the following command to uninstall KMS: slmgr.vbs /upk.
  4. Restart the computer for the changes to take effect.
Aug 20, 2022

Can I delete KMS after activation? ›

AWS KMS never deletes your KMS keys unless you explicitly schedule them for deletion and the mandatory waiting period expires. However, you might choose to delete a KMS key for one or more of the following reasons: To complete the key lifecycle for KMS keys that you no longer need.

How do I find out which KMS server is being used? ›

Run the command slmgr /dlv (for Windows) or ospp. vbs /dstatus (for Office). This command will show special licensing facts, which includes the KMS server in case your gadget is activated the usage of KMS.

How do I delete KMS alias immediately? ›

Delete an alias (AWS KMS API)

To delete an alias, use the DeleteAlias operation. This operation deletes one alias at a time. The alias name is case-sensitive and it must be preceded by the alias/ prefix. For example, the following command deletes the test-key alias.

How do I disable KMS host auto publishing? ›

To disable auto-publishing, use the Slmgr. vbs script with the /cdns command-line option. See the “Configuring KMS” section for more information about the Slmgr. vbs script.

How do I clear all DNS records? ›

Here's what you need for a clean start on Google Chrome: Open Google Chrome on your device. Enter the following in the address bar: chrome://net-internals/#dns. Click “Clear host cache” to flush DNS records.

What happens if I Delete all DNS records? ›

Deleting DNS records could cause connected services, like your website or email address, to stop working properly.

How to remove DNS entries? ›

Deleting a custom DNS record
  1. Navigate to the Manage Websites page.
  2. Open the DNS Settings page: If in Grid view, click the 'vertical 3 dots' button under your domain. ...
  3. Click the pencil. ...
  4. Click the Delete Record button beneath the record fields. ...
  5. Click the Remove button.
Sep 7, 2023

How do I disable KMS key? ›

Enabling and disabling KMS keys (console)

In the navigation pane, choose Customer managed keys. Choose the check box for the KMS keys that you want to enable or disable. To enable a KMS key, choose Key actions, Enable. To disable a KMS key, choose Key actions, Disable.

Is KMS activation permanent? ›

KMS activations are valid for 180 days, a period known as the activation validity interval. KMS clients must renew their activation by connecting to the KMS host at least once every 180 days to stay activated.

Is KMS a malware? ›

KMS is Malwarebytes' detection name for a Hacktool that allows the user to use Microsoft software illegally.

How do I uninstall volume activation services? ›

Method 2: Uninstall Volume Activation Management Tool via Apps and Features/Programs and Features. Look for Volume Activation Management Tool in the list and click on it. The next step is to click on uninstall, so you can initiate the uninstallation.

Top Articles
52 Weeks to Financial Fitness by Marshall Loeb: 9780609504284 | PenguinRandomHouse.com: Books
Hardware de Minería Bitcoin
The Tribes and Castes of the Central Provinces of India, Volume 3
Spn 1816 Fmi 9
Satyaprem Ki Katha review: Kartik Aaryan, Kiara Advani shine in this pure love story on a sensitive subject
Craigslist Benton Harbor Michigan
Bbc 5Live Schedule
Ohiohealth Esource Employee Login
PGA of America leaving Palm Beach Gardens for Frisco, Texas
Hartford Healthcare Employee Tools
My.doculivery.com/Crowncork
Lonadine
10 Best Places to Go and Things to Know for a Trip to the Hickory M...
104 Whiley Road Lancaster Ohio
I Touch and Day Spa II
[Birthday Column] Celebrating Sarada's Birthday on 3/31! Looking Back on the Successor to the Uchiha Legacy Who Dreams of Becoming Hokage! | NARUTO OFFICIAL SITE (NARUTO & BORUTO)
Scenes from Paradise: Where to Visit Filming Locations Around the World - Paradise
Epro Warrant Search
Iu Spring Break 2024
Dirt Removal in Burnet, TX ~ Instant Upfront Pricing
Invert Clipping Mask Illustrator
Ibukunore
Account Suspended
Ge-Tracker Bond
Craigslist Clinton Ar
Breckie Hill Mega Link
Mj Nails Derby Ct
Jc Green Obits
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
Del Amo Fashion Center Map
Jeff Nippard Push Pull Program Pdf
Housing Intranet Unt
Why Are The French So Google Feud Answers
R3Vlimited Forum
A Small Traveling Suitcase Figgerits
Watchdocumentaries Gun Mayhem 2
Senior Houses For Sale Near Me
The 38 Best Restaurants in Montreal
Craigslist Georgia Homes For Sale By Owner
Whitehall Preparatory And Fitness Academy Calendar
Collier Urgent Care Park Shore
Oriellys Tooele
Ds Cuts Saugus
Walmart 24 Hrs Pharmacy
My Eschedule Greatpeople Me
Contico Tuff Box Replacement Locks
Marcel Boom X
Mit diesen geheimen Codes verständigen sich Crew-Mitglieder
Wild Fork Foods Login
Aspen.sprout Forum
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 6010

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.