I installed Windows 8 Ent as a virtual using Hacks files on a windows 2012 server activated with by dreamspark key. Then on my machine I use everyday I placed this bat file on my c:/ drive and using the built in task scheduler I scheduled it to run everytime I start my computer, which is usually once a day. My everyday machine is Windows 8 Ent and each time it starts it runs the bat file I edited from the loop file provided earlier. Here is script as I edited it. taskkill /im sppsvc.exe /f net stop sppsvc /y net stop sppsvc /y net stop sppsvc /y del C:\Windows\System32\spp\store\tokens.dat /q del C:\Windows\System32\spp\store\tokens.dat.bak /q attrib -H C:\Windows\System32\spp\store\data.dat del C:\Windows\System32\spp\store\data.dat /q del C:\Windows\System32\spp\store\cache\cache.dat /q rem net start sppsvc /y cscript %systemroot%\system32\slmgr.vbs -ipk GVLKKEY cscript %systemroot%\system32\slmgr.vbs /ckms cscript %systemroot%\system32\slmgr.vbs /skms kms.yourdomain.com cscript %systemroot%\system32\slmgr.vbs /ato No need for a virtual machine client. Every time it starts it runs this modified script and ups the count by 1. In a month it will be 30+. NOTE: First I got my count to 25 by using the original script originally posted I believe by rrohela. Here is script for windows 8 as originally posted. REM Increment KMS to 25 so it starts activating clients REM save as a bat file. REM Windows 8 Enterprise/pro inbuilt KMS Client key used in this one. setLocal EnableDelayedExpansion set /p X=how many time do you want to run :loop set /a N+=1 if !N! gtr !X! goto :eof echo your task goes here taskkill /im sppsvc.exe /f net stop sppsvc /y net stop sppsvc /y net stop sppsvc /y del C:\Windows\System32\spp\store\tokens.dat /q del C:\Windows\System32\spp\store\tokens.dat.bak /q attrib -H C:\Windows\System32\spp\store\data.dat del C:\Windows\System32\spp\store\data.dat /q del C:\Windows\System32\spp\store\cache\cache.dat /q rem net start sppsvc /y cscript %systemroot%\system32\slmgr.vbs -ipk GVLKKEY cscript %systemroot%\system32\slmgr.vbs /ckms cscript %systemroot%\system32\slmgr.vbs /skms kms.yourdomain.com cscript %systemroot%\system32\slmgr.vbs /ato goto :loop Such fun. No client needed. Chuck
It is required coz in every run script will delete activation data to generate new ID & key will lost. So key is required for every loop Thx
Yup - a bit hairy at first when your activation goes - but it returns again - not for the feint-hearted
hey how do I change the port used by the KMS? I want to change it to something I know might work as for some reason when I try my URL to activate it cant find it yet according to many sites and my router port 1688 is open.
Well I did not mean that but thats for the quick answer anyways . I did some searching and found what I needed. If you want to change your KMS listening port just type this in an admin cmd window: Code: SLMgr.vbs /SPrt xxxx where xxxx = the new port number
Make sure your Windows Firewall has opened port 1688 as well, eg: Code: netsh advfirewall firewall set rule name="Key Management Service (TCP-In)" new enable=yes The command above should return: Code: Updated 2 rule(s). Ok.
I am able to run VMWare windows 8 and 7 in my desktop and able to run KMS server. But in my laptop even after giving bridge and NAT i am unable to get lan connection and unable to ping the KMS server by network machines. I am using wireless, will that be the problem?
As already said i did not tested it, but i simply assumed 'activate the previous generation' would not mean 'activate the previous generations' Anyway, good to know it works for Vista as well
Ok I think i am not being clear. I am using the same VM i used on desktop and moved it to use on laptop. In that I am not able to ping the KMS server (VM machine) which i run in the same laptop.