Multi OEM/Retail Project

Discussion in 'MDL Projects and Applications' started by The_Guardian, Nov 8, 2014.

Thread Status:
Not open for further replies.
  1. legacy

    legacy MDL Novice

    Jul 18, 2015
    20
    0
    0
    #1261 legacy, Jul 19, 2015
    Last edited: Jul 19, 2015
    bitznpc

    As current, i am using this OEM brander bundled together with the Anarethos recovery tools
    . When i activated with genuine keys or daz loader it all worked great until i prepared a factory restore, activation was lost on reset. The Solution for me was to upgrade any bios to 2.1 slic. Some where on 2.0 on my laptops, now activation is working solid on every factory reset. Quite a diamond really.
     
  2. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1262 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    That key in your results text file, is a placeholder key not a oem slp key. Without slp key and cert that matches I cannot add the info into the project, sorry.

    Always run query tool on said machine BEFORE doing a install with the project to insure it will work. If it doesn't then you can post me the results.txt file so I can add key and cert if needed.

    The logging is coming alone but hit a snag with win8.x and win 10 but think I got that resolved now. Testing in VMware again. lol
     
  3. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1263 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    I caught that one I seen Initial under licensing. I just woke up so brain isn't awake yet. lol Without said oem slp key and cert I cannot add it to the project. This is why I say ALWAYS run the query tool FIRST before doing a install with the project to ensure it works. Then if it does not work we can add the needed info for future use. Not much I can do...I will search online and see if I can find the needed info but I would not hold my breathe. :(
     
  4. urie

    urie retired mod

    May 21, 2007
    8,996
    3,380
    300
  5. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    I found a new oem slp key for TOSHIBA Win Pro but I only see the included certs I already have in the project. The fun part will be adding extra Toshiba key under professional without confusion of the script...hmmm.
     
  6. bitznpcz

    bitznpcz MDL Novice

    Jan 19, 2014
    23
    4
    0
    Thanks for all replies. I have been working on two of these - one of which is untouched and I have added results.txt below:


    Running the SLIC Toolkit gave the following files... perhaps they could be added to the project?

    TOSCPL_V2.1_Cert.xrm-ms
    TOSCPLTOSCPL00_V2.1.bin

    I can't upload or share the files as my post count is not high enough yet... but edit this line to download: httpx://www(dot)dropbox(dot)com/sh/xp0wok8tvvvft7t/AAC01kBqHWPiPCdMgX9TGLi_a?dl=0
     

    Attached Files:

  7. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. bitznpcz

    bitznpcz MDL Novice

    Jan 19, 2014
    23
    4
    0
    I've tried a BIOS update, but it's already up to date. I'll have a look at Anarethos recovery tools, thanks!
     
  9. urie

    urie retired mod

    May 21, 2007
    8,996
    3,380
    300
    #1269 urie, Jul 19, 2015
    Last edited by a moderator: Apr 20, 2017
  10. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1270 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    I have all the known certs that there are already in the project so it is either a unknown cert or its the multiple key issue. Without the original oem windows version installed and running the query tool, there isn't much I can do because I don't know what is missing. You really must run the query tool first in order to address issues like this. Case closed until we get original oem query tool info. Sorry. :(
     
  11. urie

    urie retired mod

    May 21, 2007
    8,996
    3,380
    300
    I doubt very much if the key is the problem more likely certificate.
     
  12. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    I will add cert but this multiple key issue I think I need a program that can query licensing status of other languages in order to achieve implementation. We will have to wait on that I believe.
     
  13. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    How checks the script the license status atm, if one may ask :eek:?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1274 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    That is the problem with multiple languages....the script doesn't know....it cant. I cant add info for every language because scripting doesn't allow for special characters. See the issue? I really cant query licensing status other then about 9 different languages to compare it too. Other languages have special characters that cmd scripting doesn't allow. M$ didn't use their brains for this...they went on vacation. lol

    Example, lets query license status of Russian....it will query the info but how is script going to interpret special character's? It wont, it will fail when comparing what I am able to put into script which does not allow special character's. This is the problem. :( Plus it would require a team of translators for every language because google isn't good at translating.

    Again, I ask, suggestions? lol

    For this to be implemented I believe we would need a mediator app to translate special character's so a compare could be done within the script. Cmd scripting is very limited as far as languages goes.
     
  15. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    Hmm ... sounds like you use slmgr for this. That dreaded, sluggish little diva ... highly dislike it. Recommend to use WMIC for that (like i.e. KMS_VL_AL or JATD).

    License Status: 0=Unlicensed (no key installed or tampered); 1=LICENSED, 2=OOBE Grace; ... 5=NOTIFICATION :g:.

    No language confusion here, only localised string is the Name (shown in System Pane). Registry is English here (always).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    #1276 s1ave77, Jul 19, 2015
    Last edited by a moderator: Apr 20, 2017
    Code:
    :CheckSPPSVC
        set slp=SoftwareLicensingProduct
        for /f "tokens=2 delims== " %%A in ('"wmic path %slp% where (Name LIKE '%%Windows%%') get GracePeriodRemaining /format:list"') do (set grace=%%A)&&(if %%A geq 1 goto:Status)
    :Status
        for /f "usebackq tokens=2 delims==" %%n in (`"%SystemRoot%\System32\wbem\WMIC.exe" /namespace:\\root\cimv2 path %sls% get RemainingWindowsReArmCount /format:list`) do set r=%%n
        for /f "tokens=2 delims== " %%A in ('"wmic path %slp% where (Name LIKE '%%Windows%%') get LicenseStatus /format:list"') do (set status=%%A)&&(if !status! geq 1 goto:License)
    :License
        set /a grace=grace/60/24
        if %status% EQU 6 set "license=^< EXTENDED GRACE Left: %grace% days ^>" & color 1F
        if %status% EQU 5 set "license=^< NOTIFICATION ^>" & color 4F
        if %status% EQU 4 set "license=^< NON GENUINE GRACE Left: %grace% days ^>" & color 1F
        if %status% EQU 3 set "license=^< OOT GRACE Left: %grace% days ^>" & color 1F
        if %status% EQU 2 set "license=^< OOB GRACE Left: %grace% days ^>" & color 1F
        if %status% EQU 1 set "license=^< LICENSED ^>"
        if %status% EQU 0 set "license=^< UNLICENSED ^>"& color 1F
        if %win% GEQ 9200 ( set "tok=6" ) else ( set "tok=9" )
        for /f "tokens=%tok% delims==,() " %%G in ('"wmic path %slp% where LicenseStatus='%status%' get Description /format:list"') do set channel=%%G
        goto:eof
    
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1277 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    That doesn't work for win 8.x and higher. I can add it for vista/win7 but not anything newer. It too is limited. slmgr is what I was referring too anyways not wmic but slmgr will show in other languages, not English only so the language issue is still a problem.

    This wont work for lets say Russian language for example...
    The bold would be in Russian instead of English. :(
     
  18. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,554
    15,642
    270
    I'm in for Spanish hehehe. :SmallAwesomeSmiley:
     
  19. s1ave77

    s1ave77 Has left at his own request

    Aug 15, 2012
    16,092
    24,400
    340
    #1279 s1ave77, Jul 19, 2015
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1280 The_Guardian, Jul 19, 2015
    Last edited: Jul 19, 2015
    (OP)
    You are confusing it working with language issues....yes it will work but what if in a language with special characters? This is the problem. I have talked with Alphawaves in the past on this very subject of languages. ;) Cmd output doesn't allow special characters, check on M$ site for more details on this subject. Its a pita.

    I am trying to find a way of doing this for all os's even with different languages.

    Wmic query for license status doesn't work on win 8.0. That cmd is disabled for that version. See, not every os is the same. ;)

    I am going to finish the logging then work on the multiple key and language issue later. This release I am working on now wont be available until win 10 rtm. I am waiting on purpose to make sure other changes aren't needed.