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

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

  1. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
  2. Mr Jinje

    Mr Jinje MDL Expert

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

    MrChris MDL Addicted

    Jun 23, 2007
    535
    133
    30
    #2183 MrChris, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
  4. quya

    quya MDL Novice

    Oct 10, 2012
    3
    1
    0
    #2184 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.
     
  5. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,419
    11,688
    240
    It's a vpn driver with the tcp/ip packets being passed through them.
    It uses a separate network stack, but it doesn't mirror the packets to invalid ip addresses like tunmirror does.
    It does seem like they could use the mirror io methods to modify the existing packets, but I don't think CODYQX4 wants to go for that approach.
    I've suggesting faking the packets before, but he didn't seem keen on it.
     
  6. NessPJ

    NessPJ MDL Novice

    Jul 2, 2011
    20
    0
    0
    Recently did a clean install on a seperate machine using a Windows 8 cd. I then activated with KMS_VL_ALL. Worked right away and the prompt told me, the activation would last for 180 days.
    After this, i used a mounted VLSC 8.1 Pro Rollup ISO to upgrade to 8.1
    This worked fine and again i had to run KMS_VL_ALL for activating Windows.
    This time the prompt did not tell me the activation would last for 180 days.

    Is the activation for Windows 8.1 permanent, or ?
     
  7. PaulDesmond

    PaulDesmond MDL Magnet

    Aug 6, 2009
    6,977
    7,149
    240
    KMS activation only activates you for 180 days by design and never will be permanent
     
  8. insane014

    insane014 MDL Novice

    Oct 27, 2012
    5
    1
    0

    Thank you on prompt reply. I wasn't aware of KMS_VL_ALL smart activation ability.
     
  9. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #2190 Nucleus, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
    You may find the following slmgr.vbs script options useful...

    Check Expiration Date:
    Code:
    slmgr.vbs -xpr
    License Information:
    Code:
    slmgr.vbs -dli
    Detailed License Information:
    Code:
    slmgr.vbs -dlv
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    #2191 Nucleus, Nov 19, 2013
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. NessPJ

    NessPJ MDL Novice

    Jul 2, 2011
    20
    0
    0
    Thanks!

    If you don't mind me asking... is there a one-click solution for adding the KMS_VL_ALL activation as a windows task?
    I've seen people posting some complicated vbs scripts here in this topic, but i'm not really experienced on how to use stuff like that.
    Will it simply run every 180 days? Or will it periodically check if the expiration date is nearing?
     
  12. sh3p4rd

    sh3p4rd MDL Novice

    Oct 4, 2013
    9
    0
    0
    hi, what is the best for core version?
     
  13. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    Wow! :eek:

    Big update! You kept that one quiet about the new Server Service scripts! Thanks.

    Cancels out the earlier question I'd posted. Thanks for your continued work on all this.

    :worthy: abbodi1406
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,213
    90,809
    340
    "The quieter you become, the more you are able to hear.", so says the BackTrack people :D

    you are welcome.


    If anyone with win7 machine (or win8), please do feed back if the script is working well :)
     
  15. Nucleus

    Nucleus MDL Guru

    Aug 4, 2009
    2,868
    2,950
    90
    Link in my sig to your KMS_VL_ALL

    Not updated in your OP, still v6.0.3 there.

    This new post by you, now including all the Server Service scripts will become the main post for it now?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,213
    90,809
    340
    I totally forgot the main post :D
    thanks

    updating it...
     
  17. qewlpal

    qewlpal MDL Addicted

    Jun 25, 2010
    575
    2,014
    30
    Thank you abbodi1406 for your continued work on KMS_VL_ALL!:)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,213
    90,809
    340
    Hello my friend, welcome back :hug2: