KMS Activate Windows 8.1 (En & Pro) and Office 2013

Discussion in 'Windows 8' started by FaiKee, Oct 25, 2013.

  1. ace2

    ace2 Guest

    Replaced timeout /t 3 /nobreak >nul 2>&1 with ping -a -n 4 10.3.0.1 -4 >nul 2>&1 its work well.

    NOTES:
    To see ping -a -n 4 10.3.0.1 -4 working remove >nul 2>&1 from cmd line.
     
  2. Mr.EU

    Mr.EU MDL Novice

    Oct 19, 2013
    11
    0
    0
    first of all, a big thank you for your hard work and also for precise answers
    also pun is saying opposite thing.

    after activating win8pro using MS-toolkit,dn i added wmc using legal key without problem

    In win8.1pro case according to you this is not possible with this version of script/KMS activation, we may get this feature in future release of the activation method?
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,466
    11,872
    240
    In 8.0 you could activate pro with kms and then upgrade to a free wmc key.
    This is not the case in 8.1
    You have to install directly to ProWMC if you want to use ProWMC with KMS activation.
    You also have to use one of the KMS Server emulators here on MDL as real KMS servers don't support KMS activation for Core/CoreN/ProWMC
     
  4. MrChris

    MrChris MDL Addicted

    Jun 23, 2007
    534
    133
    30
    Will the Py-kms v6 emu activate ProWMC?
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,466
    11,872
    240
    It should. It's a v6 emulator, not a real server.
     
  6. kinotium

    kinotium MDL Novice

    Nov 27, 2010
    9
    5
    0
    It will, I used it to activate ProWMC. It is only 45 days activation though, unlike normal 180-day KMS activations.
     
  7. ace2

    ace2 Guest

    #2168 ace2, Nov 18, 2013
    Last edited by a moderator: Apr 20, 2017
  8. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    898
    483
    30
    ----- ------
     
  9. MrMagic

    MrMagic MDL Guru

    Feb 13, 2012
    6,008
    4,153
    210
    ..........................................
     
  10. Viggen66

    Viggen66 MDL Senior Member

    May 24, 2011
    280
    96
    10
    I wonder why this time is 45 instead of 30 on Windows 8.0
     
  11. pun

    pun MDL Senior Member

    Oct 19, 2013
    465
    188
    10
    Whoops. I stand corrected. :sorry:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. MrChris

    MrChris MDL Addicted

    Jun 23, 2007
    534
    133
    30
    So then what key do I use? Im not asking for someone to give me a key. Im just curious as to which key I should be using. I think I might 1 of those free WMC keys M$ was giving out a while back.
     
  13. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,701
    6,729
    270
    #2175 EFA11, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
  14. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,466
    11,872
    240
    Tap driver and Tunmirror are necessary for kms v6 protocol for self-activation.
    They are not necessary for activating others.
    You can also fool the self-activation's localhost block by making a router forwarding procedure, but I don't know the process well enough to describe it.
    KMS v6 is used in build 9600 and on Office 2013 using those systems.
     
  15. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,127
    60
    <OT>What does VMware use to create it's separate network stack.</OT>
     
  16. MrChris

    MrChris MDL Addicted

    Jun 23, 2007
    534
    133
    30
    #2179 MrChris, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
  17. quya

    quya MDL Novice

    Oct 10, 2012
    3
    1
    0
    #2180 quya, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
    Hi, I like KMS_VL_ALL very much, I wan to creat schedule task based on your script.

    However, I am not sure how to judge the gracial days for office, especially when OS is permanently activated.

    Maybe I could not exactly express my meaning, so I copy some script as follows (I modify or add the red part), I hope you can improve your wonderful KMS_VL_ALL. I am not good at CMD, so it is better for you to modify it.


    Code:
     echo Press any key to exit...
     pause >nul
     goto :eof
     )
    SCHTASKS /Query /TN "KMS V6" >nul 2>&1
    if %errorlevel% equ 0 goto :if_need_activation
    SCHTASKS /Create /TN "KMS V6" /TR "%~dp0KMS_VL_ALL.CMD /silent" /sc monthly /m * /ST 11:59:59 /RU SYSTEM /RL Highest >nul 2>&1
    
     :gotAdmin
     pushd "%~dp0"
     set /a ktap=1
     reg.exe query "hklm\software\microsoft\Windows NT\currentversion" /v buildlabex | find /i "amd64" >nul 2>&1
     if %errorlevel% equ 0 set xOS=x64
     if /i "%PROCESSOR_ARCHITECTURE%"=="x86" if not defined PROCESSOR_ARCHITEW6432 set xOS=x86
     route print | find /i "TAP-Windows Adapter V9" >nul 2>&1
     IF NOT ERRORLEVEL 1 goto :act
     IF ERRORLEVEL 1 goto :tap
     :tap
     certutil.exe -addstore "TrustedPublisher" tap0901.cer >nul 2>&1
     %xOS%\devcon.exe install %xOS%\OemWin2k.inf tap0901 >nul 2>&1
     if %errorlevel% neq 0 (echo.&echo Error installing TAP adapter!&echo.&exit)
     set /a ktap=0
     :act
     for /f "tokens=1 delims=. " %%i in ('route print ^| find /i "TAP-Windows Adapter V9"') do (netsh interface ip set address %%i static 10.3.0.1 255.255.255.0) >nul 2>&1
    netsh advfirewall firewall add rule name="KMS V6" dir=in action=allow protocol=tcp localport=1688 profile=any >nul 2>&1
     start /wait /b cmd /c TunMirror.exe >nul 2>&1
     ping -n 3 localhost >nul 2>&1
     start /wait /b cmd /c "KMS Server.exe" %port% %epid% %AI% %RI% KillProcessOnPort >nul 2>&1
     timeout /t 3 /nobreak >nul 2>&1
     "KMS Client.exe" %port% %kmsip% Windows81 >nul 2>&1
     if %errorlevel% neq 0 ( echo Error! KMS server could not be contacted.
     taskkill /t /f /IM "KMS Server.exe" >nul 2>&1
     taskkill /t /f /IM tunmirror.exe >nul 2>&1
     exit
     )
     call :SPP
     call :OSPP
     taskkill /t /f /IM "KMS Server.exe" >nul 2>&1
     taskkill /t /f /IM tunmirror.exe >nul 2>&1
     rem if %ktap% equ 0 
     %xOS%\devcon.exe remove tap0901 >nul 2>&1
    netsh advfirewall firewall delete rule name="KMS V6" >nul 2>&1
     echo.
     exit
    
     ......
    
    REM when the gracial days of OS is less than defined days (say 35 days), then do activation, but how to do with office ?  My script is tough, you can do better.
    
    :if_need_activation
    for /f "eol= useback skip=3 tokens=2 delims=(" %%i in (`cscript //nologo %systemroot%\System32\slmgr.vbs /dli`) do set daysleft=%%i
    if not defined daysleft (set /a daysleft=0) else (for /f "tokens=1" %%i in ("%daysleft%") do set /a daysleft=%%i)
    if %daysleft% lss 35 goto :gotAdmin
    goto :eof
    
    Thank you for your kind guide and look forward to your new version soon.