Permanent activator for Windows Server 2019 Standard

Discussion in 'Windows Server' started by 50cent, Feb 28, 2020.

  1. 50cent

    50cent MDL Novice

    Feb 28, 2020
    8
    2
    0
    Can someone help me here?
     
  2. nima1024

    nima1024 MDL Member

    Sep 18, 2010
    211
    34
    10
  3. 50cent

    50cent MDL Novice

    Feb 28, 2020
    8
    2
    0
    Any other way without using the KMS server? I don't want a service like this running 24/7 in the background.
     
  4. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,508
    2,036
    60
    @50cent
    Flash with modified Bios - SLIC 2.5
    Ask Serg008 if he can assist you with your Bios
     
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    32,829
    52,689
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. 50cent

    50cent MDL Novice

    Feb 28, 2020
    8
    2
    0
    #7 50cent, Feb 28, 2020
    Last edited: Feb 28, 2020
    (OP)
    Here are the logs

    Code:
    >if 1 EQU 1 (
    if defined _args echo /d /r 
     echo "!_batf!"
    )
    /d /r
    "C:\Users\Administrator\Desktop\KMS_VL_ALL_AIO.cmd"
    
    >if exist "C:\Windows\Temp\'" del /f /q "C:\Windows\Temp\'"
    
    >set _verb=0
    
    >set "_wApp=55c92734-d682-4d71-983e-d6ec3f16059f"
    
    >set "_oApp=0ff1ce15-a989-479d-af46-f275c6370663"
    
    >set "_oA14=59a52881-a989-479d-af46-f275c6370663"
    
    >set "IFEO=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options"
    
    >set "OPPk=SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform"
    
    >set "SPPk=SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform"
    
    >set _Hook="C:\Windows\System32\SppExtComObjHook.dll"
    
    >set w7inf=C:\Windows\Migration\WTR\KMS_VL_ALL.inf
    
    >set "_TaskEx=\Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger"
    
    >set "_TaskOs=\Microsoft\Windows\SoftwareProtectionPlatform\SvcRestartTaskLogon"
    
    >set "line1============================================================="
    
    >set "line2=************************************************************"
    
    >set "line3=____________________________________________________________"
    
    >set "line4=__________________________________________________"
    
    >for /F "tokens=6 delims=[]. " %G in ('ver') do set winbuild=%G
    
    >set winbuild=17763
    
    >set "_cRed=0C"
    
    >set "_cYel=0E"
    
    >if 17763 GTR 14393 (
    set "_cRed=04" 
     set "_cYel=06"
    )
    
    >set SSppHook=0
    
    >for /F %A in ('dir /b /ad C:\Windows\System32\spp\tokens\skus') do (
    if 17763 GEQ 9200 if exist "C:\Windows\System32\spp\tokens\skus\%A\*GVLK*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\%A\*VLKMS*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\%A\*VL-BYPASS*.xrm-ms" set SSppHook=1
    )
    
    >(
    if 17763 GEQ 9200 if exist "C:\Windows\System32\spp\tokens\skus\csvlk-pack\*GVLK*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\csvlk-pack\*VLKMS*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\csvlk-pack\*VL-BYPASS*.xrm-ms" set SSppHook=1
    )
    
    >(
    if 17763 GEQ 9200 if exist "C:\Windows\System32\spp\tokens\skus\ServerStandard\*GVLK*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\ServerStandard\*VLKMS*.xrm-ms" set SSppHook=1 
     if 17763 LSS 9200 if exist "C:\Windows\System32\spp\tokens\skus\ServerStandard\*VL-BYPASS*.xrm-ms" set SSppHook=1
    )
    
    >set OsppHook=1
    
    >sc query osppsvc 
    [SC] EnumQueryServicesStatus:OpenService FAILED 1060:
    
    The specified service does not exist as an installed service.
    
    
    >if 1060 EQU 1060 set OsppHook=0
    
    >if 17763 GEQ 9200 (
    set OSType=Win8 
     set SppVer=SppExtComObj.exe
    )  else if 17763 GEQ 7600 (
    set OSType=Win7 
     set SppVer=sppsvc.exe
    )  else (goto :UnsupportedVersion )
    
    >if Win8 EQU Win8 reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sppsvc.exe"    && (
    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sppsvc.exe" /f   
     call :StopService sppsvc
    )
    ERROR: The system was unable to find the specified registry key or value.
    
    >set _uRI=10080
    
    >set _uAI=120
    
    >set _dDbg=No
    
    >if 1 EQU 0 if 1 EQU 0 set ActWindows=1
    
    >if 1 EQU 1 if not defined fAUR set fAUR=0  & set External=0
    
    >if 1 EQU 1 if not defined fAUR set fAUR=0  & set External=0
    
    >if not defined fAUR if not defined rAUR goto :MainMenu
    
    >if defined rAUR (set _verb=1  & cls & call :RemoveHook  & goto :cCache )
    >if No == Yes (
    set "_para=/d /r" 
     goto :DoDebug
    )
    
    >if 17763 GEQ 9600 (
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\Software Protection Platform" /v "NoGenTicket" /f   
     WMIC /NAMESPACE:\\root\Microsoft\Windows\Defender PATH MSFT_MpPreference call Remove ExclusionPath="C:\Windows\System32\SppExtComObjHook.dll"    && set "RemExc= and Windows Defender exclusions"
    )
    The operation completed successfully.
    
    Executing (MSFT_MpPreference)->Remove()
    
    Method execution successful.
    
    
    >if 1 EQU 1 (
    if 0 EQU 0 if 1 EQU 0 (mode con cols=100 lines=31 ) 
     echo. & echo ____________________________________________________________  & echo.
     echo Uninstalling Local KMS Emulator... 
     echo.
     echo Removing Files and Windows Defender exclusions...
    )
    
    ____________________________________________________________
    
    Uninstalling Local KMS Emulator...
    
    Removing Files and Windows Defender exclusions...
    
    >for %# in (SppExtComObjHookAvrf.dll SppExtComObjHook.dll SppExtComObjPatcher.dll SppExtComObjPatcher.exe) do if exist "C:\Windows\System32\%#" (
    if 1 EQU 1 echo C:\Windows\System32\%# 
     del /f /q "C:\Windows\System32\%#" 
    )
    
    >if exist "C:\Windows\System32\SppExtComObjHookAvrf.dll" (
    if 1 EQU 1 echo C:\Windows\System32\SppExtComObjHookAvrf.dll 
     del /f /q "C:\Windows\System32\SppExtComObjHookAvrf.dll" 
    )
    
    >if exist "C:\Windows\System32\SppExtComObjHook.dll" (
    if 1 EQU 1 echo C:\Windows\System32\SppExtComObjHook.dll 
     del /f /q "C:\Windows\System32\SppExtComObjHook.dll" 
    )
    C:\Windows\System32\SppExtComObjHook.dll
    
    >if exist "C:\Windows\System32\SppExtComObjPatcher.dll" (
    if 1 EQU 1 echo C:\Windows\System32\SppExtComObjPatcher.dll 
     del /f /q "C:\Windows\System32\SppExtComObjPatcher.dll" 
    )
    
    >if exist "C:\Windows\System32\SppExtComObjPatcher.exe" (
    if 1 EQU 1 echo C:\Windows\System32\SppExtComObjPatcher.exe 
     del /f /q "C:\Windows\System32\SppExtComObjPatcher.exe" 
    )
    
    >if exist C:\Windows\Migration\WTR\KMS_VL_ALL.inf (
    if 1 EQU 1 echo C:\Windows\Migration\WTR\KMS_VL_ALL.inf 
     del /f /q C:\Windows\Migration\WTR\KMS_VL_ALL.inf
    )
    
    >if 1 EQU 1 (
    echo.
     echo Removing Registry Keys...
    )
    
    Removing Registry Keys...
    
    >for %# in (SppExtComObj.exe sppsvc.exe osppsvc.exe) do reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\%#"    && (call :RemoveIFEOEntry %# )
    
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe"    && (call :RemoveIFEOEntry SppExtComObj.exe )
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe
        VerifierDlls    REG_SZ    SppExtComObjHook.dll
        GlobalFlag    REG_DWORD    0x100
        KMS_Emulation    REG_DWORD    0x1
        KMS_ActivationInterval    REG_DWORD    0x78
        KMS_RenewalInterval    REG_DWORD    0x2760
        KMS_HWID    REG_QWORD    0x3a1c049600b60076
    
    
    >if 1 EQU 1 (echo [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe] )
    [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe]
    
    >if /I SppExtComObj.exe NEQ osppsvc.exe (
    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SppExtComObj.exe" /f   
     goto :eof
    )
    The operation completed successfully.
    
    
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sppsvc.exe"    && (call :RemoveIFEOEntry sppsvc.exe )
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe"    && (call :RemoveIFEOEntry osppsvc.exe )
    
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe
        VerifierDlls    REG_SZ    SppExtComObjHook.dll
        GlobalFlag    REG_DWORD    0x100
        KMS_Emulation    REG_DWORD    0x1
        KMS_ActivationInterval    REG_DWORD    0x78
        KMS_RenewalInterval    REG_DWORD    0x2760
    
    
    >if 1 EQU 1 (echo [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe] )
    [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe]
    
    >if /I osppsvc.exe NEQ osppsvc.exe (
    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /f   
     goto :eof
    )
    
    >if 0 EQU 0 (reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /f  )
    The operation completed successfully.
    
    
    >if 0 NEQ 0 for %A in (Debugger VerifierDlls GlobalFlag KMS_Emulation KMS_ActivationInterval KMS_RenewalInterval Office2010 Office2013 Office2016 Office2019) do reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\osppsvc.exe" /v %A /f 
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServiceName 
    The operation completed successfully.
    
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServicePort 
    The operation completed successfully.
    
    
    >goto :eof
    
    >if Win8 EQU Win8 schtasks /query /tn "\Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger"    && (
    if 1 EQU 1 (
    echo.
     echo Removing Schedule Task... 
     echo \Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger
    ) 
     schtasks /delete /f /tn "\Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger" 
    )
    
    Folder: \Microsoft\Windows\SoftwareProtectionPlatform
    TaskName                                 Next Run Time          Status         
    ======================================== ====================== ===============
    SvcTrigger                               N/A                    Ready         
    
    Removing Schedule Task...
    \Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger
    SUCCESS: The scheduled task "\Microsoft\Windows\SoftwareProtectionPlatform\SvcTrigger" was successfully deleted.
    
    >goto :eof
    
    >echo.
    
    
    >echo Clearing KMS Cache...
    Clearing KMS Cache...
    
    >call :cKMS SoftwareLicensingProduct SoftwareLicensingService 
    
    >if not "SoftwareLicensingProduct" == "" (
    set spp=SoftwareLicensingProduct 
     set sps=SoftwareLicensingService 
     for /F "tokens=2 delims==" %A in ('"wmic path SoftwareLicensingService get Version /VALUE"') do set ver=%A
    )
    
    >set ver=10.0.17763.973
     
    
    >wmic path SoftwareLicensingService where version='10.0.17763.973' call ClearKeyManagementServiceMachine
    Executing (\\XOR\root\cimv2:SoftwareLicensingService.Version="10.0.17763.973")->ClearKeyManagementServiceMachine()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >wmic path SoftwareLicensingService where version='10.0.17763.973' call ClearKeyManagementServicePort
    Executing (\\XOR\root\cimv2:SoftwareLicensingService.Version="10.0.17763.973")->ClearKeyManagementServicePort()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >wmic path SoftwareLicensingService where version='10.0.17763.973' call DisableKeyManagementServiceDnsPublishing 1
    Executing (\\XOR\root\cimv2:SoftwareLicensingService.Version="10.0.17763.973")->DisableKeyManagementServiceDnsPublishing()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >wmic path SoftwareLicensingService where version='10.0.17763.973' call DisableKeyManagementServiceHostCaching 1
    Executing (\\XOR\root\cimv2:SoftwareLicensingService.Version="10.0.17763.973")->DisableKeyManagementServiceHostCaching()
    
    Method execution successful.
    
    Out Parameters:
    instance of __PARAMETERS
    {
    };
    
    
    >goto :eof
    
    >if 0 NEQ 0 call :cKMS OfficeSoftwareProtectionProduct OfficeSoftwareProtectionService 
    
    >call :cREG 
    
    >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\55c92734-d682-4d71-983e-d6ec3f16059f" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /f /v KeyManagementServiceName
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /f /v KeyManagementServicePort
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKU\S-1-5-20\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\55c92734-d682-4d71-983e-d6ec3f16059f" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKU\S-1-5-20\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\59a52881-a989-479d-af46-f275c6370663" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663" /f
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServiceName
    ERROR: The system was unable to find the specified registry key or value.
    
    >reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f /v KeyManagementServicePort
    ERROR: The system was unable to find the specified registry key or value.
    
    >if 0 EQU 0 (
    reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f 
     reg delete "HKU\S-1-5-20\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" /f
    )
    The operation completed successfully.
    
    ERROR: The system was unable to find the specified registry key or value.
    
    >goto :eof
    
    >if 1 NEQ 0 goto :TheEnd
    
    >if exist "C:\Users\Public\ReadMeAIO.html" del /f /q "C:\Users\Public\ReadMeAIO.html"
    
    >if exist "!_temp!\'" del /f /q "!_temp!\'"
    
    >if exist "!_temp!\`.txt" del /f /q "!_temp!\`.txt"
    
    >if defined _quit goto :eof
    
    >echo.
    
    
    >if 1 EQU 0 echo Press any key to exit.
    
    >goto :eof
     
  7. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,508
    2,036
    60
    @50cent
    Could you post output of
    Code:
    cscript %systemroot%\system32\slmgr.vbs /dlv
    Curious about which key is inserted.
    Do you have SHA-1 of server image file you used as well?
     
  8. 50cent

    50cent MDL Novice

    Feb 28, 2020
    8
    2
    0
    Here is the output of the command

    Code:
    Microsoft (R) Windows Script Host Version 5.812
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Input Error: Can not find script file "C:\Users\Administrator\%systemroot%\system32\slmgr.vbs".
    PS C:\Users\Administrator>
    
    
    This is the ISO name:
    en_windows_server_2019_updated_jan_2020_x64_dvd_9069e1c0

    It's untouched.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    32,829
    52,689
    450
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    32,829
    52,689
    450
    :eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. 50cent

    50cent MDL Novice

    Feb 28, 2020
    8
    2
    0