Win 8.1 Pre Activated using Microsoft Toolkit

Discussion in 'Windows 8' started by bee4u, Apr 10, 2014.

  1. bee4u

    bee4u MDL Novice

    Aug 10, 2010
    36
    6
    0
    Hi how to Pre Activated or Auto Activated Win 8.1 with Microsoft Toolkit using $OEM$ method..?
    Is there any other method to Pre Activated or Auto ActivatedWin 8.1 with Microsoft Toolkit..? ...THX
     
  2. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    526
    371
    30
    I'm curious too. It would be great if there was an " /autokms /all" switch for all available products. I have a solution, but it's sloppy.

    #OldAndLazy
     
  3. VeryCrushed

    VeryCrushed MDL Novice

    Jun 21, 2012
    47
    21
    0
  4. bee4u

    bee4u MDL Novice

    Aug 10, 2010
    36
    6
    0
    @ VeryCrushed THX for explaining , its lengthy method, in other words its not easy to use Microsoft Toolkit to Pre Activated using $OEM$ method at the moment.
    @ HALIKUS THX could you tell how to use other KMS tool to make Pre Activated or Auto Activated Win 8.1 with Microsoft Toolkit using $OEM$ method. ..?
     
  5. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #5 CODYQX4, Apr 10, 2014
    Last edited: Apr 12, 2019
    .
     
  6. osamab40

    osamab40 MDL Novice

    Nov 19, 2011
    8
    0
    0
    install Net Framework 4.0 or High
     
  7. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    526
    371
    30
    #7 HALIKUS, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
  8. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #8 s1ave77, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
    HINT: This check will only work for english systems, as my german would show 'Lizenziert' :g:.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    What was that wmic command you mentioned the other day?
     
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #10 murphy78, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
    I love how that command just schedules itself so all you have to do is do the reg add defender exclusion key and it will just schedule itself.
    I've done some complex activation scripts but your autokms makes it only necessary to do like 2 lines:
    Code:
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%WinDir%\AutoKMS\AutoKMS.exe" /D 0 /T REG_DWORD /F
    %WinDir%\AutoKMS\AutoKMS.exe /ez-activator
    That is serious ez-mode man.
     
  11. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,104
    24,378
    340
    #11 s1ave77, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
    Code:
    for /f "tokens=2 delims== " %%A in ('"wmic path SoftwareLicensingProduct where (Name LIKE '%%Windows%%') get LicenseStatus /format:list"') do (
          if %%A geq 1 set status=%%A
    )
    1 = Licensed
    2 = OOBGrace
    5 = Notification
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    7,389
    11,614
    240
    #12 murphy78, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
    This should be the correct script then:
    Code:
    @echo off
    pushd %~dp0
    
    ::::::::::BEGIN ACTIVATION STUFF::::::::::::::::::::::
    :Install Exclusion in Windows Defender for future blocks. Has to be done during Windows Setup or you won't have permissions.
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%WinDir%\AutoKMS\AutoKMS.exe" /D 0 /T REG_DWORD /F
    
    :Activate Windows
    %WinDir%\AutoKMS\AutoKMS.exe /ez-activator
    set status=
    
    for /l %%x in (1, 1, 3) do (
    for /f "tokens=2 delims== " %%A in ('"wmic path SoftwareLicensingProduct where (Name LIKE '%%Windows%%') get LicenseStatus /format:list"') do (
          if %%A geq 1 set status=%%A
    )
    
    if %status% EQU 1 Goto :END-ACTIVATION-STUFF
    %WinDir%\AutoKMS\AutoKMS.exe /ez-activator
    )
    :END-ACTIVATION-STUFF
    
    :CLEANUP
    cd\
    rd /q/s %windir%\setup\scripts\