KMS Client Cache

Posted by d33pa on May 28, 2015 in Support, Uncategorized

I came across an issue where one of our AD/DNS Servers inherited a .srv record (dont know how) to advertise that it was a KMS server. We provisioned some Server 2012R2 servers and couldnt activate. The error on the logs was:
License Activation (slui.exe) failed with the following error code:

This error code means that the KMS server doesnt have enough activations on it to activate further clients.. In order to recitify our issue, firstly deleted the .srv txt key on the DNS server that was advertising the wrong KMS key, then used clear KMS host command, not sure if needed a reboot, I did anyways since it was a non-production, vanilla install.

I found some handy commands that will enable you to flush the cache on a KMS Client.
Useful KMS and Windows activation commands:
Change Windows 2008 R2 license key type from Retail to KMS activated:
Slmgr /ipk 489J6-VHDMP-X63PK-3K798-CPX3Y
Clear cached KMS host:
Slmgr.vbs /ckms
Disable KMS host caching:
Slmgr.vbs /ckhc
Flush local system DNS cache:
Slmgr.vbs /flushdns
Force immediate activation:
Slmgr.vbs /ato
Enable KMS Host caching:
Slmgr.vbs /skhc
Point activation to a specific KMS Server (disables KMS autodiscovery via DNS):
Slmgr.vbs /skms:SERVER
Display detailed license information (& KMS Host Info):
Slmgr.vbs /dlv
Get information about OS activation from KMS Server:
slmgr.vbs / dli
Configure a server to run KMS:
Install the KMS activation key by running the following:
slmgr.vbs /ipk
Run the following command to immediately activate:
slmgr.vbs /ato
Restart the Software Licensing Service (SPPSVC):
net stop sppsvc && net start sppsvc
The Software Licensing Service (SPPSVC) handles registration of the DNS service (sRV) record which is created in the same DNS domain the KMS host is installed uder the _tcp subzone.
KMS will automatically handle activations for systems in the same DNS Domain. In order to expand the scope to other domains, a registry hack is required.
Open Regedit and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
Create a new Multi-String key called DnsDomainPublishList
Edit the key and add each additional DNS domain suffic that KMS should publish to on a separate line.
Restart the Software Licensing Service (SPPSVC):
net stop sppsvc && net start sppsvc
If Dynamic DNS is not enabled for your AD domain, you will have to manually add the SRV record for KMS with ths following information:
Service: _VLMCS
Protocol: _TCP
Port Number: 1688
Note: Only the first KMS Host can create an SRV record – subsequent KMS Hosts cannot change or update SRV records unless the default DNS permissions are modified.
Configuring KMS Clients:
Manually specify a KMS Host:
slmgr.vbs /skms : NOTE: When you manually specify a KMS host, this disables automatic discovery of the KMS host.
Enable Auto-discovery:
slmgr.vbs /ckms
Change a client from retail to volume activation:
Slmgr.vbs /ipk
Change a client registered with a MAK key to KMS:
slmgr.vbs /ipk
KMS Setup Keys:
Windows 7 Professional: FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Professional N: MRPKT-YTG23-K7D7T-X2JMM-QY7MG
Windows 7 Enterprise: 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Enterprise N: YDRBP-3D83W-TY26F-D46B2-XCKRJ
Windows 7 Enterprise E: C29WB-22CC8-VJ326-GHFJW-H9DH4
Windows Server 2008 R2 HPC Edition: FKJQ8-TMCVP-FRMR7-4WR42-3JCD7
Windows Server 2008 R2 Datacenter: 74YFP-3QFB3-KQT8W-PMXWJ-7M648
Windows Server 2008 R2 Enterprise: 489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2008 R2 for Itanium-Based Systems: GT63C-RJFQ3-4GMB6-BRFB9-CB83V
Windows Server 2008 R2 Standard: YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Web Server 2008 R2: 6TPJF-RBVHG-WBW2R-86QPH-6RTM4

Compliments of site:

Tags: , , , ,


get avatars back in google chrome to swtich user profiles the old way

Posted by d33pa on Mar 11, 2015 in Support

I found this link that helped me get back the old one click way of changing profiles. Thanks to Justin Meyers post on wonderhowto website

Recap here ( i take no credit for this info):

How to Switch Back to the Old Avatar Menu
If you like the old profile management avatar menu like I do, it’s easy to switch back using the Chrome Flags menu. Just go to chrome://flags/#enable-new-avatar-menu, disable the feature, and relaunch Chrome. Alternatively, you can do the following:

Visit chrome://flags in the URL address box
Search for “Enable the new avatar menu”
Switch from “Default” to “Disabled”
Hit the “Relaunch Now” button


Tags: , , ,


installing nitotv ssh apple tv 2

Posted by d33pa on Nov 11, 2014 in Support, Technology

I just wanted to put this information out there, since I couldn’t find it anywhere…

If you’re just wanting to use SeasonPass for a jailbreak, and do not plan on installing aTV Flash, you’ll need help installed NitoTV.

First off, get the IP Address of your AppleTV from the Settings Menu.

SSH from your machine to that IP as root (password: alpine) — If you don’t know what SSH is, google it.
ie from a Mac or Linux terminal type ssh -l root

At this point I recommend changing your password. To do this, type passwd

Now, lets update our apt sources…. type apt-get update

and now, to install NitoTV type apt-get install com.nito.nitoTV

Hope this helps.

Tags: , , ,


remove phone feature from Blackberry

Posted by d33pa on Jun 23, 2014 in Support


Step-by-step Instructions

1. Download BBH Tool

2. Select phone tools, connect. File system, read

3. From the right pane select “net_rim_bb_phone_app”

4. Click the “Remove COD(s)” button

Power cycle, when the handheld loads back up, you’ll notice that the phone functionality is completely missing from the device and when you lock the handheld, it will no longer have the option for “Emergency Call”.


ddwrt router build 18946 upgrade ssh broken

Posted by d33pa on Feb 27, 2014 in Support

It seems that as of version 17xxx the guys are DD-WRT switched from OpenSSH to Dropbear. No big deal really, except the SSH keys are not compatible with each other, thus preventing SSH from running.

To fix SSH:

    • Enable Telnet
    • Telnet into your router and run the following commands:
      1. cd /tmp/root/.ssh/
      2. rm authorized_keys
      3. rm ssh_host_dss_key
      4. rm ssh_host_rsa_key
      5. nvram unset sshd_rsa_host_key
      6. nvram commit
      7. reboot

Once the Router Restarts, SSH should be working, and when you try to login, you will get a prompt to accept the new Key Generated by DropBear

Props to Pinchiis blog for the how-to

Pinchii’s Blog » build 18946.

Tags: , , , ,


Attributes for AD Users Windows 2000 / Windows 2003

Posted by d33pa on Dec 10, 2013 in Support

Nice write up about Windows 2003 Active Directory users attributes

SelfADSI : Attributes for AD Users Windows 2000 / Windows 2003.

Tags: ,


Unable to copy files using windows 7 usb/dvd download tool

Posted by d33pa on Nov 18, 2013 in Support
Sometimes if your USB stick has something in its MBR you might get the error
Windows 7 USB/DVD Download Tool error: We were unable to copy your files. Please check your USB device and the selected ISO file and try again.

You have to start command prompt as an Administrator (On Windows 7 that means right clicking the cmd and selecting Run as Administrator) and use the diskpart utility.


WARNING: Be careful to select the right drive or else your day won’t have a happy end because if you select the wrong drive you will lose all your data on this drive!


Instead of formatting the partition with FAT32, you can also use NTFS (like WUDT does), but then you need an extra step to make the drive bootable:

Bootsect.exe /nt60 X:

“X:” is the drive letter of your USB stick. Bootsect.exe can be found on the Windows 7 DVD in the boot folder. However, I can’t really recommend using NTFS. Some USB stick, at least, appeared to be slower with NTFS.

  1. Start command prompt as Administrator and type  diskpart 
  2. type  list disk
  3. type select disk  and number of your USB disk ( like select disk 1 )
  4. type  clean
  5. type  create partition primary
  6. type  select partition 1
  7. type  active
  8. type  format quick fs=fat32
  9. type  assign
  10. type exit  to exit the diskpart utility
  11. type exit  to close command prompt


Unable to copy files using windows 7 usb/dvd download tool – Microsoft Community.

Tags: , ,


Solving “e-mail address already exists in this organization” using LDAP query in ADUC

Posted by d33pa on Mar 11, 2013 in Support

Using the Windows 2003 Active Directory Users and Computers utility, right click on the domain, choose Find. In the Find: dropdown list, choose “Custom Search” and in the In: dropdown list, choose “Entire Directory”. Click the Advanced property page and enter the following LDAP query (in my example, at least):


Click Find and you should find the object that already has that SMTP address.

Tags: ,


Windows 8: Where did the Startup folder go?

Posted by d33pa on Mar 7, 2013 in Support, Technology

Since the start menu has changed metro style, I was looking to remove a couple application from starting upon login.

The best solution I have found for this is the following Shell commands that can be run from the run box (WIN+R):

  • shell:startup
  • shell:common startup


Windows 8: Where did the Startup folder go? – jasones blog – random utterings from a Microsoft support guy – Site Home – MSDN Blogs.



Locating SIM Info On BES 5.0 – BlackBerry Support Community Forums

Posted by d33pa on Feb 27, 2013 in Support

Locating SIM Info On BES 5.0 – BlackBerry Support Community Forums.


database table where phone information is stored on is



Tags: , , ,

Copyright © 2018 apnaguy dot com All rights reserved. Theme by Laptop Geek.