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

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

  1. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #2461 Nucleus, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Well done. :clap3:

    Ran many tests. Now working every time for me, connected or disconnected - nice. :D

    Code:
    Attempting to activate Office 15, OfficeProPlusVL_KMS_Client edition
    
    Remaining Period: 180 day(s)
    
    Product Activation Successful
    
    
    Attempting to activate Windows(R), Professional edition
    
    Remaining Period: 180 day(s)
    
    Product Activation Successful
    
    No Installed Office 2010 Product Detected...
    
    
    Press any key to exit...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. hdzz

    hdzz MDL Novice

    Jan 10, 2013
    15
    15
    0
    #2462 hdzz, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    I made ​​some improvements on the KMS_VL_ALL-WinDivert-1.1.0RC-v1.

    Code:
    sc stop windivert1.1 >nul 2>&1
    sc delete windivert1.1 >nul 2>&1
    route print -4 0*|find "0.0.0.0" >nul 2>&1
    if %errorlevel% neq 0 (route add %kmsip% 10.0.0.1 IF 1 >nul 2>&1)
    start "" /d %DCPATH% /b  %DCPATH%\FakeClient.exe %kmsip% >nul 2>&1
    start "" /b  "KMS Server.exe" 1688 RandomKMSPID 43200 43200 KillProcessOnPort
    ......
    sc stop windivert1.1 >nul 2>&1
    sc delete windivert1.1 >nul 2>&1
    route delete %kmsip% >nul 2>&1
    10.255.255.254 is
    never existed,if you do not add it manually.
    route add %kmsip% 10.0.0.1 IF 1 ;10.0.0.1 is gateway,not the end ip. No matter what values ​​are possible, if not already in use.

    Sorry for my English ~~~
     
  3. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    #2463 murphy78, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,515
    719
    60
    #2464 NICK@NUMBER11, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Great work.. i just tried it on a vm and checked activation, it seems to be reporting something strange with project...


    Code:
    ERROR DESCRIPTION: The Software Licensing Service reported that the product key
    is not available.
    ---------------------------------------
    SKU ID: 4a5d124a-e620-44ba-b6ff-658961b33b9a
    LICENSE NAME: Office 15, OfficeProjectProVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: 2342K
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
    LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: GVGXT
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: e13ac10e-75d0-4aff-a0cd-764982cf541c
    LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: RM3B3
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: ed34dc89-1c27-4ecd-8b2f-63d0f4cedc32
    LICENSE NAME: Office 15, OfficeProjectProVL_MAK edition
    LICENSE DESCRIPTION: Office 15, RETAIL(MAK) channel
    LICENSE STATUS:  ---UNLICENSED---
    ERROR CODE: 0xC004F014
    ERROR DESCRIPTION: The Software Licensing Service reported that the product key
    is not available.
    ---------------------------------------
    ---------------------------------------
    ---Exiting-----------------------------
    ________________________________________________________________________________
    
    Press any key to Exit
    

    Why is it reporting that i have installed retail_MAK when its volume?
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    #2465 murphy78, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Beats me... Does the normal KMS_VL_ALL version do that?
     
  6. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,515
    719
    60
    #2466 NICK@NUMBER11, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Strange, yes here is the confirmation status from running normal KMS_VL_ALL

    Code:
    ERROR DESCRIPTION: The Software Licensing Service reported that the product key
    is not available.
    ---------------------------------------
    SKU ID: 4a5d124a-e620-44ba-b6ff-658961b33b9a
    LICENSE NAME: Office 15, OfficeProjectProVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: 2342K
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
    LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: GVGXT
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: e13ac10e-75d0-4aff-a0cd-764982cf541c
    LICENSE NAME: Office 15, OfficeVisioProVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    LICENSE STATUS:  ---LICENSED---
    REMAINING GRACE: 180 days  (259200 minute(s) before expiring)
    Last 5 characters of installed product key: RM3B3
            DNS auto-discovery: KMS name not available
            Activation Interval: 43200 minutes
            Renewal Interval: 43200 minutes
            KMS host caching: Disabled
    ---------------------------------------
    SKU ID: ed34dc89-1c27-4ecd-8b2f-63d0f4cedc32
    LICENSE NAME: Office 15, OfficeProjectProVL_MAK edition
    LICENSE DESCRIPTION: Office 15, RETAIL(MAK) channel
    LICENSE STATUS:  ---UNLICENSED---
    ERROR CODE: 0xC004F014
    ERROR DESCRIPTION: The Software Licensing Service reported that the product key
    is not available.
    ---------------------------------------
    ---------------------------------------
    ---Exiting-----------------------------
    ________________________________________________________________________________
    
    Press any key to Exit
    

     
  7. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    #2467 murphy78, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Hmm I dunno what to say... The top KMS version is there and activated, but the bottom one has a different SKU id.
    It's like you have 2 different ones installed at the same time...
     
  8. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,515
    719
    60
    Yeh i know, how weird.... :confused:

    just ran SnowInstallv9.1(Beta) and its all looking correct... so maybe an issue with KMS_VL_ALL version
     
  9. ace2

    ace2 Guest

    #2469 ace2, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    KMS_VL_ALL-WinDivert-1.1.0RC-v1 x64:

    All files in the same folder:

    Activate.cmd
    FakeClient.exe
    KMS Server.exe
    WdfCoInstaller01009.dll
    WinDivert.dll
    WinDivert.inf
    WinDivert.sys

    Activate.cmd

    Code:
    @echo off
    title FakeClient 1.1.0RC-v1
    color 1F
    
    sc stop windivert1.0 >nul
    sc delete windivert1.0 >nul
    
    sc stop windivert1.1 >nul
    sc delete windivert1.1 >nul
    
    netsh interface set interface name="Ethernet" admin=disabled
    
    pushd "%~dp0"
    
    set port=1688
    set kmsip=1.0.0.0
    set AI=43200
    set RI=43200
    set epid=RandomKMSPID
    
    cscript //B "%windir%\system32\slmgr.vbs" /skms 1.0.0.0:1688 >nul
    
    netsh advfirewall firewall add rule name="BLOCK" protocol=any dir=out remoteip=65.52.98.231,65.52.98.232,65.52.98.233 action=block >nul
    
    netsh advfirewall firewall add rule name="ANY_NAME" dir=in  localport=1688 protocol=TCP action=allow remoteip=any >nul
    netsh advfirewall firewall add rule name="ANY_NAME" dir=out localport=1688 protocol=TCP action=allow remoteip=any >nul
    
    route -f
    route add %kmsip% 0.0.0.0 IF 1
    
    start /b FakeClient.exe %kmsip%
    start /b cmd /c "KMS Server.exe"
    
    cscript //B "%windir%\system32\slmgr.vbs" /ipk Must Put Serial Here
    slmgr.vbs /ato
    
    taskkill /t /f /IM "KMS Server.exe" >nul
    taskkill /t /f /IM FakeClient.exe >nul
    
    netsh advfirewall reset >nul
    
    route delete %kmsip% 0.0.0.0
    
    cscript //B "%windir%\system32\slmgr.vbs" /ckms
    
    netsh interface set interface name="Ethernet" admin=enabled
    
    :D
     
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    Which OS is that? none of my tests had that problem
     
  11. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,479
    1,474
    60
    That's my feeling too.
    Your script with the tap adapter is efficient and reliable. I use it with the following changes :
    - redirect all output to a log file (and of course suppressing every pause statement).
    - install the tap adapter permanently, set the IP (static 10.3.0.1 255.255.255.0, and thus deleting the "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" statement), rename the connection name to a more friendly name (for instance KMS Network).
    - invoke the windows task scheduler to execute the .cmd file on the 1st and 15th every month.
    Even on a low end computer (Sony VAIO, 1 GB, 1.6 MH Atom processor), not supposed to run Windows 8.1, activation is effective within 30".
     
  12. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,556
    15,642
    270
    #2472 Mr.X, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
  13. alexxf

    alexxf MDL Expert

    Feb 9, 2008
    1,021
    760
    60
    #2473 alexxf, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
  14. AnimaliX

    AnimaliX MDL Novice

    Jul 28, 2009
    45
    23
    0
    #2474 AnimaliX, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017


    nice and simple for Win. Ent. users :) but why that BLOCK rule if you disable Ethernet completely and reset firewall settings afterwards :)
    i think best is set firewall rule plus reset ... disabling ethernet is unnecessary

    and maybe put this at the end as well...?
    Code:
    sc stop windivert1.0 >nul
    sc delete windivert1.0 >nul
    
    sc stop windivert1.1 >nul
    sc delete windivert1.1 >nul
     
  15. ace2

    ace2 Guest

    #2475 ace2, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    AnimaliX

    I was using Activate.cmd for online activation, & just left the code (BLOCK rule) in when i started using Activate.cmd offline.

    Yes i think it would best to put

    Code:
    sc stop windivert1.0 >nul
    sc delete windivert1.0 >nul
    
    sc stop windivert1.1 >nul
    sc delete windivert1.1 >nul
    
    at the end as well.
     
  16. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    You had the problem with the tap driver as well didn't you? what kind of system do you have and network adapter arrangement?
    Do you have 2 network adapters like one ethernet and one wifi? is the ethernet disabled in bios if so?

    Do you have pnp OS setting enabled in bios?
     
  17. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    Can you give CODYQX4's new mtk 2.5 beta a shot and see if that works without fiddling with the media status thing?
     
  18. Paiva

    Paiva MDL Developer

    Apr 9, 2011
    1,274
    1,592
    60
    #2478 Paiva, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    13,718
    14,440
    340
    #2479 xinso, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017
    Code:
    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
    :--------------------------------------
    FOR /F "tokens=*" %%a IN ('reg query "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}" /s /d /v /f "tap0901"') do (SET ConnectionRegPath=%%a && goto :out) >nul 2>&1
    :out
    :--------------------------------------
    echo Set Tap Adapter Always Connected right away
    reg add %ConnectionRegPath% /v MediaStatus /t REG_SZ /d 1 /f
    %xOS%\devcon.exe disable tap0901 1>NUL 2>NUL
    %xOS%\devcon.exe enable tap0901 1>NUL 2>NUL
     
  20. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,556
    15,642
    270
    #2480 Mr.X, Nov 27, 2013
    Last edited by a moderator: Apr 20, 2017