KMS-QADhooker for Localhost Self-Activation

Discussion in 'Windows 10' started by xinso, Apr 17, 2014.

  1. MrChris

    MrChris MDL Addicted

    Jun 23, 2007
    535
    133
    30
    You talking about the one that actually worked as one would expect it to but would bring your cpu to its knee's in the process of generating one? I cant remember who made it though as its been a long time.

    ~MC
     
  2. Tito

    Tito Admin / Adviser
    Staff Member

    Nov 30, 2009
    18,957
    19,487
    340
  3. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    763
    558
    30
    Sorry but I'm getting a little bit confused :confused:
    Xinso you seem to offer more than one solution for activation, qadhook and qadivert (perhaps more?)

    What is the main solution at the moment, if there is one?
    For me, it would be QADHook nt6.0/61/62/63 O14-O15.
    But now there is also WinDivert...that's not my preferred solution.

    From Xinso's projects, which would be the most "AV" proof?

    Cheers.
     
  4. sunilk

    sunilk MDL Member

    May 15, 2014
    111
    16
    10

    use QADHook if you like it, they are different process of activation but end result would be same
     
  5. ratzlefatz

    ratzlefatz MDL FUBAR Recon Squad

    Sep 1, 2012
    1,379
    5,001
    60
    #426 ratzlefatz, Jul 28, 2014
    Last edited: Jul 28, 2014
    and additonally QadHook of "KMS-HGM" module from hotbird64.

    There are many solutions, as there are many different needs and likes from the users.

    So you can use this as you wish. I like "Qad KMS-HGM" best.

    Depends on AV / signatures and behaviour. As AV is permanently improved this can change daily.
    To be sure make exclusion of "program".exe in your AV.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. qewlpal

    qewlpal MDL Addicted

    Jun 25, 2010
    576
    2,024
    30
    These informative guides in addition to your superb work on Slipstream stuff is just amazing xinso..Please keep the guides for as long as possible, they are really good.:worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,554
    15,642
    270
    Perhaps blind people at the other thread since they cannot see the bright? :D
     
  8. ratzlefatz

    ratzlefatz MDL FUBAR Recon Squad

    Sep 1, 2012
    1,379
    5,001
    60
    Editable KMS Values
    :----------------------------------------
    for those who like to have their own ePIDS see here:

    :----------------------------------------
    :0=Default, 1=Random by Session, 2=Random by instance
    :
    set PID=1
    set WIN=55041-00206-271-082541-03-1033-7601.0000-2972013
    set O15=55041-00206-234-195517-03-1033-7601.0000-0072013
    set O14=55041-00096-199-223649-03-1033-7600.0000-2382010
    :----------------------------------------

    %WinDir%\VLMCSD.exe -s -P %PORT% -w %WIN% -0 %O15% -3 %O14% -H %HWID% -A %ActivationInterval% -R %RenewalInterval% -l "%SystemDrive%\VLMCSD.log" -v >nul 2>&1

    -w Windows ePID
    -0 (number zero) Office 2013 ePid
    -3 Office 2010 ePid

    -v activates verbose output in logfille

    regards
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,019
    14,668
    340
    #430 xinso, Aug 1, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thank you. I'll test it at once. This is my first touch with it.

    Here's what Hotbird64 instructed:

    If specified, -i and -r are disregarded

    So ... How about:
    Code:
    :IT
    :----------------------------------------
    :W63 + Office 2013 = FreeRemoteIP (other than Local 127.x.x.x)
    :Else = Local 127.0.0.2
    :
    if %CV% EQU 6.3 (set NAME=192.168.1.255) else (set NAME=127.0.0.2)
    :----------------------------------------
    :1-65535
    :
    set PORT=1688
    :----------------------------------------
    :0=Default, 1=Random by Session, 2=Random by request
    :
    set PID=1
    :
    :or Custom
    :
    set WIN=55041-00206-271-082541-03-1033-7601.0000-2972013
    set O15=55041-00206-234-195517-03-1033-7601.0000-0072013
    set O14=55041-00096-199-223649-03-1033-7600.0000-2382010
    :----------------------------------------
    :15-43200 minutes
    :
    set ActivationInterval=120
    set RenewalInterval=10080
    :----------------------------------------
    :HwID
    :
    call:HWID
    :----------------------------------------
    sc stop "VLMCSD" >nul 2>&1&taskkill /f /im "VLMCSD.exe" >nul 2>&1&sc delete "VLMCSD" >nul 2>&1
    copy /y "%~dp0$OEM$\$$\Setup\Scripts\VLMCSD\%OA%\VLMCSD.*" "%WinDir%" >nul 2>&1
    
    
    :%WinDir%\VLMCSD.exe -s -P %PORT% -r%PID% -A %ActivationInterval% -R %RenewalInterval% -H %HWID% -l "%SystemDrive%\VLMCSD.log" -v >nul 2>&1
    
    
    :or
    
    
    %WinDir%\VLMCSD.exe -s -P %PORT% -w %WIN% -0 %O14% -3 %O15% -A %ActivationInterval% -R %RenewalInterval% -H %HWID% -l "%SystemDrive%\VLMCSD.log" -v >nul 2>&1
    
    
    sc description "VLMCSD" "HGM License Server Emulator Enterprise Edition" >nul 2>&1
    netsh advfirewall firewall delete rule name="VLMCSD" >nul 2>&1
    netsh advfirewall firewall add rule name="VLMCSD" dir=in program="%WinDir%\VLMCSD.exe" localport=%PORT% protocol=TCP action=allow remoteip=any >nul 2>&1
    netsh advfirewall firewall add rule name="VLMCSD" dir=out program="%WinDir%\VLMCSD.exe" localport=%PORT% protocol=TCP action=allow remoteip=any >nul 2>&1
    sc start "VLMCSD" >nul 2>&1
    goto:eof
    -v (Verbose logging)? Confirmed. Thank you.
    Code:
    2014-08-02 02:06:54: Listening on [::]:1688
    2014-08-02 02:06:54: Listening on 0.0.0.0:1688
    2014-08-02 02:06:54: vlmcsd svn349, built Thu, Jul 17, 2014  6:36:31 PM started successfully
    2014-08-02 02:06:56: IPv4 connection accepted: 127.0.0.1:49947.
    2014-08-02 02:06:56: <<< Incoming KMS request
    2014-08-02 02:06:56: Protocol version                : 6.0
    2014-08-02 02:06:56: Client is a virtual machine     : No
    2014-08-02 02:06:56: Current client license status   : 1 (Licensed)
    2014-08-02 02:06:56: Remaining time (0 = forever)    : 259198 minutes
    2014-08-02 02:06:56: Application ID                  : 55c92734-d682-4d71-983e-d6ec3f16059f (Windows)
    2014-08-02 02:06:56: Client SKU ID                   : 81671aaf-79d1-4eb1-b004-8cbbe173afea (Windows 8.1 Enterprise)
    2014-08-02 02:06:56: Server SKU ID                   : cb8fc780-2c05-495a-9710-85afffc904d7 (Windows 8.1)
    2014-08-02 02:06:56: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:56: Time stamp (UTC)                : 2014-08-01 18:06:56
    2014-08-02 02:06:56: Workstation name                : A-PC
    2014-08-02 02:06:56: Minimum required clients        : 25
    2014-08-02 02:06:56: >>> Sending response, ePID source = command line
    2014-08-02 02:06:56: Protocol version                : 6.0
    2014-08-02 02:06:56: KMS host extended PID           : 55041-00206-271-082541-03-1033-7601.0000-2972013
    2014-08-02 02:06:56: KMS host Hardware ID            : 111AB21937BCAF5B
    2014-08-02 02:06:56: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:56: Time stamp (UTC)                : 2014-08-01 18:06:56
    2014-08-02 02:06:56: KMS host current active clients : 50
    2014-08-02 02:06:56: Activation renewal interval     : 10080
    2014-08-02 02:06:56: Activation retry interval       : 120
    2014-08-02 02:06:57: <<< Incoming KMS request
    2014-08-02 02:06:57: Protocol version                : 6.0
    2014-08-02 02:06:57: Client is a virtual machine     : No
    2014-08-02 02:06:57: Current client license status   : 1 (Licensed)
    2014-08-02 02:06:57: Remaining time (0 = forever)    : 259198 minutes
    2014-08-02 02:06:57: Application ID                  : 0ff1ce15-a989-479d-af46-f275c6370663 (Office2013)
    2014-08-02 02:06:57: Client SKU ID                   : 4a5d124a-e620-44ba-b6ff-658961b33b9a (Office Project Pro 2013)
    2014-08-02 02:06:57: Server SKU ID                   : e6a6f1bf-9d40-40c3-aa9f-c77ba21578c0 (Office 2013)
    2014-08-02 02:06:57: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:57: Time stamp (UTC)                : 2014-08-01 18:06:57
    2014-08-02 02:06:57: Workstation name                : A-PC
    2014-08-02 02:06:57: Minimum required clients        : 5
    2014-08-02 02:06:57: >>> Sending response, ePID source = command line
    2014-08-02 02:06:57: Protocol version                : 6.0
    2014-08-02 02:06:57: KMS host extended PID           : 55041-00206-234-195517-03-1033-7601.0000-0072013
    2014-08-02 02:06:57: KMS host Hardware ID            : 111AB21937BCAF5B
    2014-08-02 02:06:57: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:57: Time stamp (UTC)                : 2014-08-01 18:06:57
    2014-08-02 02:06:57: KMS host current active clients : 10
    2014-08-02 02:06:57: Activation renewal interval     : 10080
    2014-08-02 02:06:57: Activation retry interval       : 120
    2014-08-02 02:06:58: <<< Incoming KMS request
    2014-08-02 02:06:58: Protocol version                : 6.0
    2014-08-02 02:06:58: Client is a virtual machine     : No
    2014-08-02 02:06:58: Current client license status   : 1 (Licensed)
    2014-08-02 02:06:58: Remaining time (0 = forever)    : 259198 minutes
    2014-08-02 02:06:58: Application ID                  : 0ff1ce15-a989-479d-af46-f275c6370663 (Office2013)
    2014-08-02 02:06:58: Client SKU ID                   : ac4efaf0-f81f-4f61-bdf7-ea32b02ab117 (Unknown)
    2014-08-02 02:06:58: Server SKU ID                   : e6a6f1bf-9d40-40c3-aa9f-c77ba21578c0 (Office 2013)
    2014-08-02 02:06:58: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:58: Time stamp (UTC)                : 2014-08-01 18:06:58
    2014-08-02 02:06:58: Workstation name                : A-PC
    2014-08-02 02:06:58: Minimum required clients        : 5
    2014-08-02 02:06:58: >>> Sending response, ePID source = command line
    2014-08-02 02:06:58: Protocol version                : 6.0
    2014-08-02 02:06:58: KMS host extended PID           : 55041-00206-234-195517-03-1033-7601.0000-0072013
    2014-08-02 02:06:58: KMS host Hardware ID            : 111AB21937BCAF5B
    2014-08-02 02:06:58: Client machine ID               : c5ea9322-8b8d-46fe-b9ee-c852838cad0d
    2014-08-02 02:06:58: Time stamp (UTC)                : 2014-08-01 18:06:58
    2014-08-02 02:06:58: KMS host current active clients : 10
    2014-08-02 02:06:58: Activation renewal interval     : 10080
    2014-08-02 02:06:58: Activation retry interval       : 120
    2014-08-02 02:07:00: IPv4 connection accepted: 127.0.0.1:49948.
    2014-08-02 02:07:00: <<< Incoming KMS request
    2014-08-02 02:07:00: Protocol version                : 4.0
    2014-08-02 02:07:00: Client is a virtual machine     : No
    2014-08-02 02:07:00: Current client license status   : 1 (Licensed)
    2014-08-02 02:07:00: Remaining time (0 = forever)    : 259198 minutes
    2014-08-02 02:07:00: Application ID                  : 59a52881-a989-479d-af46-f275c6370663 (Office2010)
    2014-08-02 02:07:00: Client SKU ID                   : cee5d470-6e3b-4fcc-8c2b-d17428568a9f (Office Excel 2010)
    2014-08-02 02:07:00: Server SKU ID                   : e85af946-2e25-47b7-83e1-bebcebeac611 (Office 2010)
    2014-08-02 02:07:00: Client machine ID               : 631e7340-4645-4fb4-86d3-353e30398b61
    2014-08-02 02:07:00: Time stamp (UTC)                : 2014-08-01 18:07:00
    2014-08-02 02:07:00: Workstation name                : A-PC
    2014-08-02 02:07:00: Minimum required clients        : 5
    2014-08-02 02:07:00: >>> Sending response, ePID source = command line
    2014-08-02 02:07:00: Protocol version                : 4.0
    2014-08-02 02:07:00: KMS host extended PID           : 55041-00096-199-223649-03-1033-7600.0000-2382010
    2014-08-02 02:07:00: Client machine ID               : 631e7340-4645-4fb4-86d3-353e30398b61
    2014-08-02 02:07:00: Time stamp (UTC)                : 2014-08-01 18:07:00
    2014-08-02 02:07:00: KMS host current active clients : 10
    2014-08-02 02:07:00: Activation renewal interval     : 10080
    2014-08-02 02:07:00: Activation retry interval       : 120
    2014-08-02 02:07:05: IPv4 connection closed: 127.0.0.1:49947.
    So I renew like this, alright?
     
  10. qewlpal

    qewlpal MDL Addicted

    Jun 25, 2010
    576
    2,024
    30
    Yes, both your suggestions are very sensible. The script was based on the MasterDisaster's original script, which he made as Proof Of Concept, so much thought did not go into redesigning from scratch and simplifying, but instead went into adding functionality and bug fixing by both me and abbodi1406. So there is a lot of scope for improving the script. I am planning to do a rewrite based on your scripts, and s1ave's JATD :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Paky89

    Paky89 MDL Novice

    Aug 27, 2012
    12
    10
    0
    #432 Paky89, Aug 8, 2014
    Last edited by a moderator: Apr 20, 2017
  12. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,019
    14,668
    340
    #433 xinso, Aug 8, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Thanks, Paky89.

    Is winnt.sif necessary under such condition?
     
  13. Paky89

    Paky89 MDL Novice

    Aug 27, 2012
    12
    10
    0
    no, it is not :)
     
  14. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,019
    14,668
    340
    No avail, Paky89.

    Is it because of VMware?

    (I didn't see XP copying Office files while installation.)
     
  15. Paky89

    Paky89 MDL Novice

    Aug 27, 2012
    12
    10
    0
    I'm not sure
    maybe is it case sensitive?

    Immagine.jpg Immagine2.jpg

    it works for me
     
  16. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,019
    14,668
    340
    #437 xinso, Aug 8, 2014
    Last edited: Aug 8, 2014
    (OP)
  17. Paky89

    Paky89 MDL Novice

    Aug 27, 2012
    12
    10
    0
    #438 Paky89, Aug 8, 2014
    Last edited by a moderator: Apr 20, 2017
    this is the solution

    Code:
    
    CMDOW @ /HID
    @ECHO OFF
    pushd %~dp0
    
    
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
    
    
    REG ADD %KEY% /V TITLE /D "Title" /F
    
    
    REG ADD %KEY%\010 /VE /D "Step1" /F
    REG ADD %KEY%\010 /V 1 /D "cmd.exe /c call %windir%\SETUP\SCRIPTS\XP.cmd"
    
    
    DEL "%~f0"
    exit
    
    
    Immagine3.jpg
     
  18. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,280
    931
    60
    Huuumm XP ! :D
    I have XP SP4 and office 2010 SP2 in VL version, I wait your script xinso
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. xinso

    xinso MDL Guru

    Mar 5, 2009
    14,019
    14,668
    340
    SP4? Where is it?

    Sorry, I am having bad luck 'till now though with Paky89's big hand.