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
    527
    369
    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,801
    44,949
    150
    You guys are forgetting that you can write a script to copy latest AutoKMS.exe to the right folder, then you can just run it with /EZActivator switch.

    This works as long as on 8.X, because older OS don't have .NET 4.X out of the box.

    If you later install Office (or Audit mode install + capture it to that WIM), that Office would work as well.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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
    527
    369
    30
    #7 HALIKUS, Apr 10, 2014
    Last edited by a moderator: Apr 20, 2017
    I personally install Office and then basically run activation via this method.
    http://forums.mydigitallife.net/thr...-Server/page80?p=864087&viewfull=1#post864087

    Thanks CODYQX4. So, assuming i install Office via setupcomplete.cmd and have DVD:\sources\$OEM$\$$\AutoKMS\AutoKMS.exe i can (basically) just add "c:\windows\AutoKMS\AutoKMS.exe /EZActivator" to setupcomplete? I remember seeing the switch but always wondered if i had to manually add any commands for things like anti-vir exceptions or how often to run.

    I figure this is all i and the OP need, assuming i'm not using Win7.

    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
    for /l %%x in (1, 1, 3) do (
    cscript //nologo %windir%\system32\slmgr.vbs /dlv | find /i "Licensed"
    if %ErrorLevel% EQU 0 Goto :END ACTIVATION STUFF
    %WinDir%\AutoKMS\AutoKMS.exe
    )
    :END
    
     
  8. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,678
    18,890
    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
    6,787
    10,365
    210
    What was that wmic command you mentioned the other day?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,365
    210
    #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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    14,678
    18,890
    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
    6,787
    10,365
    210
    #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\
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. murphy78

    murphy78 MDL DISM Enthusiast

    Nov 18, 2012
    6,787
    10,365
    210