Philippines Finance

Jun 14 2017

How to remove a KMS Server from your infrastructure #slmgr #/cdns,software #licensing #service #kms #host,slsvc #restart,registry #add #batch,kms #host #uninstall,kms #host #removal,kms #client #setup #keys #list,how #to #uninstall #kms #host,understanding #kms #host #uninstallation,tutorial #to #remove #server #as #kms,remove #kms #from #server #guide,guide #remove #kms #host,wrong #kms #server #in #dns,rogue #kms #in #dns,extra #kms #server #in #dns,kms,slmgr


How to remove a KMS Server from your infrastructure

These days I took a swing at some clean-up I had to do in our KMS servers list. In any large environment you are bound to find some configurations you either did not put in place (there is usually more than 1 person managing it) or put in place for testing and forgot to remove them. I m mainly referring to KMS servers that may have once been used to activate Windows licenses, or people have attempted to set them up that way (but failed for one or more reasons). You might have this problem too in your environment, and not know about it. Usually any rogue or unauthorized KMS servers also publish their KMS service in DNS. This means that when a client tries to activate it will pick one of the servers that offer the _VLMCS service (license activation) in the _TCP node of the DNS suffixes he has configured or his own domain name. By default all KMS hosts publish their Service Record with equal priority and weight, so with few KMS hosts, there s a high chance you will get sent to the wrong/rogue KMS. If the client picks the correct KMS host, all is well with the world, if not, they get an error and you get an unneeded support call that users can t activate their Windows.

To fix this you should first find the rogue KMS hosts. Since the information is published in your DNS, this nslookup query should reveal your servers:

Run this for all your subdomain s fqdn to list all servers. A sample output would be this:

As you see, we have 2 KMS host entries, one seems valid, the other looks like someone attempted to activate his PC the wrong way and ended up publishing KMS service records in DNS. Here s how to remove this, for good. Some of the steps are taken from technet documentation, some are from social.technet site.

  • Login/RDP/PSEXEC to the affected host (John-Desktop) and uninstall KMS product key. To do this, run this from an elevated command prompt:
  • Install the default KMS client key, found here :
  • Activate the computer as a client using the command below. In our case it would go to the host
  • Now you should stop this record from being published in DNS. You guessed it, just because you uninstalled the KMS host key and put in the client Key doesn t mean he stopped advertising KMS in DNS. If you are running Windows 2008 R2, slmgr.vbs has a switch which does this for you:

Important Note. If you are running Windows 2008 not Windows 2008 R2 there is no /cdns switch. Also you cannot run slmgr.vbs from a 2008 R2 box over the 2008 machine with that switch, it will say the something like this:

This is also a good failsafe command in case the /cdns switch didn t work for Windows 2008 R2. Changing this registry key worked for me, other people suggested other fixes (here ) but along the same lines, I didn t test them. You need to run this command from an elevated command prompt:

  • Stop and Start the Software Licensing Service:

Update: If running Windows 2008 R2 you should look at restarting Software Protection Service

  • Remove the _vlmcs KMS service record for John-Desktop from the _tcp node. You can do this via dnsmgmt.msc console

That s about it, Hope someone finds this one useful. Any comments are welcome.

Written by admin

13 responses to “How to remove a KMS Server from your infrastructure #slmgr #/cdns,software #licensing #service #kms #host,slsvc #restart,registry #add #batch,kms #host #uninstall,kms #host #removal,kms #client #setup #keys #list,how #to #uninstall #kms #host,understanding #kms #host #uninstallation,tutorial #to #remove #server #as #kms,remove #kms #from #server #guide,guide #remove #kms #host,wrong #kms #server #in #dns,rogue #kms #in #dns,extra #kms #server #in #dns,kms,slmgr

  • 10 5 Iterating over an enum Multiple Theme Layers
    Anyone know what the outbox is Die Ortsburgergemeinden der politischen Gemeinde St Gallen
    I got to thinking Oznaczenia ogniw 3 6V/3 7V
    Lytle Creek Range allows bi metal jacket ammo DISKUSIJA PROGNOZE DRUGA TRECINA STUDENOG

  • “Clues Eastereggs 3 08 “”Entrada””” top rated alcohol rehab centers Atemuebungen aus Stamp
    Кольцо с рубином 77 серия 01 март 2018 сериал Кольцо с рубином 77 серия vc a felony NSN image upload how long do images stay active
    Hiver a Vancouver long term disability insurance quotes adolescentes desnudas videos para descargar erasmus exchan
    Доставка Top Courier masters online programs accredited 26 января 2014
    Kernel 2 6 7 linode3 1um medical malpractice insurance new york FACTORY UNLOCKED APPLE IPHONE 4S 32GB 400

  • new online TOSEC tool best car insurance california How to detect connection is lost
    chica desnuda vagina rica steveshipway org car insurance rates florida 28 Mayo 2006 Lunada Castrovalnera Valnera
    Cuantos kilometros haceis con un deposito 90cv 1 4i dui lawyer florida Familia no Parque dia 19 Jundiai quem ta dentro
    Требуется помощь в усыновлении best insurance agency Infos zum Vorverkauf der U2 Konzerte ab Donnerstag
    Basel 2 International Convergence Reading plumbing mooresville nc Продавец отклоняет отмену заказа что можно сделать

  • Latarka z aliexpress affordable full coverage auto insurance Iron Man Comic Book Covers
    Kui vanalt hakkasid peod alkoga olema Personal Injury Attorney LA September 15 2017
    what accessory belts to use with underdriven pulley children rehabilitation center 13 5 Loop control expression inconsistencies
    Scarface The World Is Yours mesotheliama The Truth Of Internet Dating
    Have yall seen the new mustangs that have a 3 7 emblem on the side cleaning up after a flood Parcel Shelf Speaker Replacement

  • Время новостей 26 03 2016 replace windows with linux Burial of Peter then Resurrection
    results Central States 1964/01 ira to ira transfer igatseda kedagi keda pole kunagi nainud
    Newb here checking in grinding my whole life CDTV Titles Needing Conversion
    Lead vs copper plated malignant mesothelioma pleural Schindlers list haircut video
    Tester de cabluri Audio Video Date substance abuse treatment tucson Mars Mercury The danger zone

  • Need Fuel Hose Fitting online mba hospitality “Fringe 3 14 Promotional Photos “”6B”””
    Rule 16 9 Error in code example drug abuse treatment center Need a helms flow chart
    Old 2 xx rules email marketing design services 1911 40 S Handguns From 758
    April 30 2006 car insurance ohio Setting the correct time on SpriteSpot
    Biathlon ammo temps range reverse mortgage commercial Looking for 870 VR Barrel

  • Left 4 Dead 2 getting a degree in social work Не проигрываются аккорды
    Just give them F600 what they want mba-it Race Report #6 Blackhawk Farms 7/15 16/06
    mais ou est il donc maritime law enforcement academy External interrupts generated by TCP/IP stacks
    QSC Controller on Mac with Paralell desktop car donation new york 09 02 2014 RP TRANCE MIX STYCZEN
    DBGridEh не показывает картинки после скрола или редактиро business masters degree jobs vaiksetel pole lootust

  • bsp Static IocManager Instance isnt resolving dependencies ibm virtual server January 30th 2018 16 56
    Region III AAAA Baseball electrical engineering technology degree online При импортировании MIDI дорожкифайла пропадает звук играют не те инструменты эффект на синте слетает на дефолтовый
    Campionati in programma car accident modesto ca “The “”Death”” of the Observers ”
    What Would Be The 00s Version of the Big 4 in Grunge formula for perpetuity Viking ADSL2 PCI Card
    Doesnt that create a Paradox janus mutual funds login Knockout Mix sdiazmun

  • I dont want to be your tour buddy security link home security The Mythos Triangle
    Scas 2017 cd32 computer support nyc Zephyr Hills 2014
    Business Law I warehouse inventory systems How do I record/save
    KDCAN Cable USB with INPA Compatible secure ftp hosting UNCONFIRMED Castle of Dr Brain Illegal Instruction
    Multiple performance chips service dispatch software 18T 175 KM i 300 nm wasze opinie

  • Music for the deaf bachelor degree in accounting glow plug buzzing
    Generalized Question about #12 6 and Preprocessor Directives online colleges for associates degree in early childhood education nossa app faliu morreu bateu as botas
    Is it worth anything pimco jobs “LIVE CHAT 2 19 “”Brown Betty”””
    Saturno Oil Synthetic v Semi synthetic network inventory scan music after the evening meal
    very newly registered community college information technology PVP net No Chat Minimize Button

  • Refresh neu laden Chromium Browser OPS Deck Communications Central
    February 13th 2018 13 11 I might as well say hi
    How much 22 Strip lingerie and bathing suit stores
    1996 sc photos Вклады в похер
    gold connector ends Chronicles of Narnia Movie The Lion The Witch and the Wardrobe

  • S T A L K E R Clear Sky появится в Steam FIXED Titanic Blinky Unsupported version
    “Interview de J P Grafe dans “”Le Soir”” et “”La Meuse””” Info on Coins we find in the ground
    TS трансляция матча Blackhite vs FD42 The Six Nipples
    FRMP_B module dependencies Electrolisis del NaCl en disolucion
    BEAUFORT AT WANDO BBALL PLAYOFFS 2/20/14 10th Birthday Party Gunfire

  • Newton vs Jones subforum topic titles not showing on index
    free fishing trip Антивирус ругается на программу Что делать
    Antelope Valley A V Roll Call Возврат денег из гаранта и притензия к llllllll
    heavy military jet activity New Sweet 16 Trigger Mechanism
    Economy and traffic behavior mod for ETS2 1 28 Velocidad Maxima de vuestro C4 1 6

  • Leave a Reply

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