Win81 AutoKMS

Discussion in 'Windows 8' started by DioNZB, Jan 18, 2015.

  1. DioNZB

    DioNZB MDL Member

    Jun 23, 2013
    221
    250
    10
    #1 DioNZB, Jan 18, 2015
    Last edited by a moderator: Apr 20, 2017
    I have maked a Windows 8.1 Pro with AutoKMS

    but AutoKMS doesn't activate windows

    SetupComplete.cmd:
    Code:
    @echo off
    pushd %~dp0
    
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths" /v "%WinDir%\AutoKMS\AutoKMS.exe" /D 0 /T REG_DWORD /F
    
    %WinDir%\AutoKMS\AutoKMS.exe
    exit
    
    log AutoKMS:
    Code:
    AutoKMS 2.5.2.0 Ran at 18-1-2015 08:10:46
    why it isn't activating?
     
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,369
    642
    60
    #2 NICK@NUMBER11, Jan 18, 2015
    Last edited by a moderator: Apr 20, 2017
    i used this...

    Code:
    ::::::::::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
    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
    )
    :END-ACTIVATION-STUFF
     
  3. DioNZB

    DioNZB MDL Member

    Jun 23, 2013
    221
    250
    10
    That is the same almost
    but i doesn't activate on my image
    it's really weard?

    do you do something special :D?
     
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,369
    642
    60
    nothing special just have the above in my setupcomplete - works 100% everytime on every pc :eek:
     
  5. DioNZB

    DioNZB MDL Member

    Jun 23, 2013
    221
    250
    10
    this is the only thing in my setupcomplete
    but it doesn't work for me :(
     
  6. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,369
    642
    60
    #6 NICK@NUMBER11, Jan 18, 2015
    Last edited by a moderator: Apr 20, 2017
    this is my setupcomplete in full.... and do you have the autoexe.exe in the correct place within the $oem$

    $oem$\$1\Windows\AutoKMS

    Code:
    @ECHO OFF
    cd %~dp0
    start /wait dotNetFx452_Full_LDR_x86_x64_Slim.exe /ai
    start /wait VBCRedist_AIO_x86_x64.exe /ai8
    start /wait Silverlight_x64.exe /Q
    start /wait Windows-KB890830-x64-V5.20.exe /Q
    start /wait Windows8.1-KB2990967-x64.msu /quiet
    
    @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
    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
    )
    :END-ACTIVATION-STUFF
    
    RMDIR /S /Q "C:\Windows\Setup\Scripts"
    exit
     
  7. DioNZB

    DioNZB MDL Member

    Jun 23, 2013
    221
    250
    10
    I have mounted the image and put the kmsauto folder in the Windows folder

    i have one file in the kmsauto folder:

    AutoKMS.exe

    that's it
     
  8. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,369
    642
    60
    ok but it should be called "AutoKMS" not kmsauto

    did you inject the the kms key when yo make your image also?
     
  9. DioNZB

    DioNZB MDL Member

    Jun 23, 2013
    221
    250
    10
    i am sorry yes the folder call AutoKMS

    no i didnt inject a key
     
  10. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,369
    642
    60
    ok sent you pm with instructions