Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #2141 mxman2k, Jan 6, 2018
    Last edited: Jan 6, 2018
    (OP)
    The actual main one that does the UAC level seems to be:
    Code:
    :: Lowest Setting.
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "ConsentPromptBehaviorAdmin" /t REG_DWORD /d "0" /f >nul 2>&1
    Code:
    :: Normal Setting.
    REG add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "ConsentPromptBehaviorAdmin" /t REG_DWORD /d "5" /f >nul 2>&1
    I have added the other reg entries in the .zip file for completeness. As they may be required if they are not present.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30

    Very nice. Thank you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    @Qurajber Hope it does what you require, as it does seem to work under Windows 10. Not tested on other OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    There will be a delay of QT46 release... Sorry.

    I could upload it as it is, does all work, but on dual-card/GPU systems it can get a bit confused on the Adaptor name.

    Working out a way around that.

    For now there is a 'bodge' to prevent a error if a 2nd adaptor is detected.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Thanks @MMIKEE for your help with dual-gpu :)

    Hopefully i can get this to work and show both adaptors. 2+ adaptors it may show them too (in theory).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    It seems the order is reversed in the results... Gez why can't m$ do things in some logical order instead of back to front lol.

    Well i will present what is found in the QT display output, if the order is wrong on some systems nothing i can do as it can get very complex.

    Just creating a T5 test...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. JanCerny

    JanCerny MDL Senior Member

    Sep 13, 2012
    295
    194
    10
    It's time to split MRP to the two versions:
    1) "MRP live" for Windows 7 an up with with regular updates
    2) "MRP legacy" for Windows Vista/2008, bugfix updates only, updates after few months
     
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    QT 46 is almost ready :D

    took longer than expected because of how the adaptor code works.. got part right but then the wrong name, well they was all the same!

    To keep the QT simple (well my code) it will only detect 2 adaptors as more than that then it will be another total re-write of the section.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,522
    450
    My thoughts are, when msft stops supporting it, mxman2k stops supporting it, much less hassle ;)
     
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #2150 mxman2k, Jan 7, 2018
    Last edited: Jan 7, 2018
    (OP)
    With the MRP it has a simple switch in the decompile :) Vista/S2008 can be turned off totally and no extra coding needed. ;)

    I redesigned it that way so i can turn off each OS as required.

    Try just running decompile.exe on its own on XP/2000/98... , you will get a popup saying the OS is not supported at some point Vista/S2008 will have that message.

    The QT however is a different design. It will be re-written at some point this year.

    Most of the latest additions do work on vista/S2008 just in a reduced format as they dont have the API's or most WMIC calls as later OS's have.

    Hence why i have had to write some of the routines to work on 7 as well.

    If you run the QT on Vista you will see a note mention that some information may not show correctly. 98% does show.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #2151 mxman2k, Jan 7, 2018
    Last edited: Jan 7, 2018
    (OP)
    Finally after a few delays and re-writes...

    Query Tool v46 has been uploaded and 2nd post updated with link and new password.

    Fingers crossed it all works!

    If not then it will have to wait until tomorrow as its almost 1am GMT and a drink is calling then some well earned sleep!

    Quick Summary

    + Now checks for more than one GPU adaptor, it will show the 2nd one name only, the data line will be for the primary one only. Thanks @MMIKEE for your time testing this new routine.

    + there are other little bits done but i not had time to write any notes :oops:

    Note the GPU adaptor section is experimental, it may get the Primary/Secondary Names in reverse!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. JanCerny

    JanCerny MDL Senior Member

    Sep 13, 2012
    295
    194
    10
    I'm not sure about display color detection. This card and monitor supports 10 bit per pixel (30 bits total). 32bits means 8+8+8 (RGB) + 8 alpha transparency bits. I do more tests on Quadro K4000 and let you know.

    Code:
    MRP - OEM Query Tool v46.0 Enhanced  --  01/07/2018 {UTC} -- 03:31am
    
    ------------------------------------------- 
    - Basic OEM Information For This Computer - 
    ------------------------------------------- 
     OS Version {Registry}     - Windows 8.1 Enterprise x64 
     OS Edition {Registry}     - Enterprise 
     OS Edition {CBS}          - Enterprise 
     OS Build Number           - 9600 
     OS Language Name/Code     - cs-CZ / Dec:1029 {Hex:405} 
     OS Locale                 - cs-CZ 
     OS Language Value         - CSY 
     OS Installation Date      - 14. 3. 2014 13:35:00 {Localized Date Format} 
     CPU Name                  - Intel{R} Xeon{R} CPU           X5660  @ 2.80GHz   
     CPU Description           - Intel64 Family 6 Model 44 Stepping 2 
     CPU Architecture          - 32/64 Bit Instruction Set 
     CPU Cores/Threads         - [6] / [12] 
     Boot Drive Information    - [BusType: SATA, Mode: AHCI, Partition: MBR] 
     Boot Drive Model Name     - [WDC WD20EARX-00PASB0] 
     Bios Information          - [Type: American Megatrends Inc. , Version: 1104    , Date: 03/02/2015] 
     Total Physical Memory     - [24567 Mb] 
     Available Memory          - [18700 Mb] 
     GPU Primary Adaptor Name  - [AMD Radeon HD 8570] 
     GPU Primary Adaptor Info  - [BPP: 32 , Res: 2560x1440 , DrvDate: 07/04/2017 , DrvVers: 22.19.171.1024] 
    
    -------------------- 
    - Scanned DMI/BIOS - 
    -------------------- 
     #01 CSProduct Name        - System Product Name             #09 SLIC Information - 2.3                                     
     #02 CSModel Name          - System Product Name             #10 Product Key      - Not Shown On Saved Report     
     #03 CSBaseboard Prod      - P6T7 WS SUPERCOMPUTER           #11 MSDM Key         - No MSDM Table Detected         
     #04 CSProduct Vendor      - System manufacturer             #11 MSDM Edition     - Undefined                               
     #05 CSManufacturer        - System manufacturer             #11 MSDM Brand Name  - Undefined                     
     #06 Baseboard MFR         - ASUSTeK Computer INC.           #12 BIOS/Boot Mode   - Legacy/MBR                     
     #07 Serial/Service Tag    - Not Shown On Saved Report       #13 Certificate      - Not Present                   
     #08 BIOS or SLIC ID       - DELL   - 20120329               #14 License Status   - Licensed {Volume_MAK}                   
    
    ----------- 
    - Summary - 
    ----------- 
     OEM Theme/Branding        - Asus [id: #06]   
     OEM Activation Vista/7    - Dell [id: #08] 
     Valid OEM Consumer OS     - Vista/Win7 
     Valid OEM Server OS       - Server 2008/Server 2008R2/Server 2012/Server 2012R2 
     Detected .Net Versions    - v1.1.4322 v2.0.50727 v3.5 v4.0.30319 v4.6.01055 
     Powershell Version{s}     - 1.0, 2.0, 3.0, 4.0, 5.0 
    
     ** End of Query Tool report. ** 
    
    
     

    Attached Files:

  13. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,769
    7,711
    210
    Server 2008 is still in support, while Vista isn't. Server 2008's support got extended to match the 2008 R2 one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    Interesting... that is the information given back via the system call used regarding the bpp etc.

    Code:
    WMIC path Win32_VideoController get CurrentBitsPerPixel /value
    If the above command is typed/pasted into a command prompt, it lists the value of bpp. Remove the CurrentBitsPerPixel bit and a whole lot of info appears about the video adaptor.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mad_max

    mad_max MDL Junior Member

    Mar 31, 2014
    77
    40
    0
    In QTv46.0 I've got misplaced values in "Res:" and "DrvDate:". Check my results.txt

    Code:
    MRP - OEM Query Tool v46.0 Enhanced  --  01/07/2018 {UTC} -- 1:14pm
     
    -------------------------------------------
    - Basic OEM Information For This Computer -
    -------------------------------------------
     OS Version {Registry}     - Windows 7 Home Premium x64 - Service Pack 1
     OS Edition {Registry}     - HomePremium
     OS Edition {CBS}          - HomePremium
     OS Build Number           - 7601
     OS Language Name/Code     - pl-PL / Dec:1045 {Hex:415}
     OS Locale                 - pl-PL
     OS Language Value         - PLK
     OS Installation Date      - 2017-10-01 16:13:03 {Localized Date Format}
     CPU Name                  - Intel{R} Core{TM} i7-4770 CPU @ 3.40GHz  
     CPU Description           - Intel64 Family 6 Model 60 Stepping 3
     CPU Architecture          - 32/64 Bit Instruction Set
     CPU Cores/Threads         - [4] / [8]
     Boot Drive Information    - [BusType: SATA, Mode: AHCI, Partition: GPT, DriveType: SSD]
     Boot Drive Model Name     - [PLEXTOR PX-256M6S SCSI Disk Device]
     Bios Information          - [Type: American Megatrends Inc. , Version: F8a , Date: 11/07/2015]
     Total Physical Memory     - [8052 Mb]
     Available Memory          - [5455 Mb]
     GPU Primary Adaptor Name  - [Intel{R} HD Graphics 4600] , Secondary Adaptor Name [NVIDIA GeForce GTX 780]
     GPU Primary Adaptor Info  - [BPP: x , Res: 01/04/2017 , DrvDate: 10.18.14.4578 , DrvVers: ]
     
    --------------------
    - Scanned DMI/BIOS -
    --------------------
     #01 CSProduct Name        - Z97X-Gaming 5                   #09 SLIC Information - v2.1                                    
     #02 CSModel Name          - Z97X-Gaming 5                   #10 Product Key      - Not Shown On Saved Report    
     #03 CSBaseboard Prod      - Z97X-Gaming 5                   #11 MSDM Key         - No MSDM Table Detected        
     #04 CSProduct Vendor      - Gigabyte Technology Co., Ltd.   #11 MSDM Edition     - Undefined                              
     #05 CSManufacturer        - Gigabyte Technology Co., Ltd.   #11 MSDM Brand Name  - Undefined                    
     #06 Baseboard MFR         - Gigabyte Technology Co., Ltd.   #12 BIOS/Boot Mode   - UEFI/GPT                      
     #07 Serial/Service Tag    - Undefined                       #13 Certificate      - Present                      
     #08 BIOS or SLIC ID       - GBT    - 1072009                #14 License Status   - Licensed {OEM_SLP}                      
     
    -----------
    - Summary -
    -----------
     OEM Theme/Branding        - Gigabyte [id: #04]  
     OEM Activation Vista/7    - Gigabyte [id: #08]
     Valid OEM Consumer OS     - Vista/Win7 Only
     Detected .Net Versions    - v1.1.4322 v2.0.50727 v3.5 v4.0.30319 v4.7.02053
     Powershell Version{s}     - 1.0, 2.0
     Other Notes:              - SLIC ID or Version may not show correctly with UEFI or Secure Boot enabled.
     
     ** End of Query Tool report. **
    
     
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    #2156 mxman2k, Jan 7, 2018
    Last edited: Jan 7, 2018
    (OP)
    Regarding the GPU area of the QT.

    So many variables and nothing standardized it seems for older OS's it just not worth the hassle to obtain any extra data for Resolution etc.

    So have set the variable to null for vista/7 (and Server 2008/2008R2), so the QT will no longer show the resolution etc on those older OS's.

    It will show for Windows 8.x and above and should be correct.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,059
    210
    QT 46 has been re-uploaded.
    2nd post hashes and download link updated. Same password.

    Changes:
    Will only show the Primary Adaptor's Resolution, Driver Date and Driver version now on Windows 8.x and above.

    example:
    GPU Primary Adaptor Name - [NVIDIA GeForce GTX 1050 Ti]
    GPU Primary Adaptor Info - [Resolution: 1920x1080 , Driver Date: 09/16/2017 , Driver Vers: 22.21.13.8569]

    I did mention it is experimental :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mad_max

    mad_max MDL Junior Member

    Mar 31, 2014
    77
    40
    0
    Ok. No problem. For me those infos are less important.
     
  19. LoverOfLove

    LoverOfLove MDL Member

    Oct 17, 2017
    125
    33
    10
    hi @mxman2k i need your help..
    i'm trying to make perfect win os iso for offline distribution purpose (dvd selling)
    i do not see team os and gen2 iso as perfect iso. so i'm trying to create myself.
    i want to include oem + standard + preactivated in iso same like gen2 iso.
    if i include your $oem$ folder then it will try to install itself. even if user only want standard installation.
    so is this possible that user can use both options and not interfering each other.. possibly separate oem install entry in windows edition selection stage same like gen2. can anyone point me right in direction so i can learn how to do it. thank you..
     
  20. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,522
    450
    In general MDL doesn't support people who sell pirated iso's/dvd's.