Multi-OEM/Retail Project {MRP} - Mk3

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

  1. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,156
    5,969
    150
    same loc. 2016 can be both MSI / C2R.
    depend what you install.
    btw MSI entries can be found in Uninstall* Sub keys.
    Look for Office*
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    I cover both C2R and MSI/Standard office - i hope..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #8903 mxman2k, Oct 22, 2022
    Last edited: Oct 22, 2022
    (OP)
    .31 will have Channel/Audience Data ie Production:CC etc...

    Code:
    Click2Run Office Installed      ID: Pro Plus 2021 Volume {x64}  CV: 16.0.15629.20204  VR: 16.0.15629.20208 Chan: Production::CC
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,708
    210
    Code:
    -------------------------------------------------------------------------------------------------------------------
                                                 Query Tool GUI v0.10.0.30
    -------------------------------------------------------------------------------------------------------------------
    
    Log Date {UTC}: 22/10/2022 -- 18:57 {24-hour}
    
    Some results may be shortened to fit the output stage, such as RAM information.
    
    This is the postable report that does not contain full serial or sensitive information.
    
    ===================================================================================================================
                                                 Operating System Information
    ===================================================================================================================
    Installation Type               Client
    Name                            Microsoft Windows 10 Education
    OS/CPU Architecture             CPU and OS is 64 bit
    Build                           10.0.19045
    Language                        English (United States)
    Native Language                 English
    Installed/Available Languages   de-DE en-GB en-US
    Operating System SKU            121
    Experience Pack                 120.2212.4180.0
    Windows Key Installed           7CFBY (Last 5 digits shown)
    Installation Date               6/19/2021 at 23:26 PM {UTC}
    MSDM Key Detected               Not Present
    TPM Information                 N/A
    
    ===================================================================================================================
                                      System Drive C: Partition Information
    ===================================================================================================================
    Drive Type                      SSD
    BUS Type                        NVMe
    Total Space                     476.32 GB
    Free Space                      441.57 GB
    Partition Type                  GPT
    Firmware Boot Type              UEFI Mode
    Secure Boot Status              Disabled [Ref:1]
    File System                     NTFS
    
    ===================================================================================================================
                                              Memory Information                                                       
    ===================================================================================================================
    Total Physical                  7779928 KB (7.42 GB)
    Available Physical              4154904 KB (3.96 GB)
    Total Page Size                 8369752 KB (7.98 GB)
    Available Page Size             2972144 KB (2.83 GB)
    Total Virtual Size              4194176 KB (4 GB)
    Available Virtual               4033264 KB (3.85 GB)
    DIMM Information {First Four}   DIMM 0 8192MB @ 3200MHz 
    
    ===================================================================================================================
                                              Graphics Information                                                     
    ===================================================================================================================
    Adaptor 1 Name                  NVIDIA GeForce RTX 2060
    Adaptor 1 Memory                6144 MB (6 GB) {Routine:P1}
    Adaptor 1 DACTyp                Integrated RAMDAC
    
    Adaptor 2 Name                  AMD Radeon(TM) Graphics
    Adaptor 2 Memory                6144 MB (6 GB) {Routine:P1}
    Adaptor 2 DACType               Internal DAC(400MHz)
    
    ===================================================================================================================
                                            Network Adaptor Information                                               
    ===================================================================================================================
    Adaptor 1 Name                  Realtek PCIe GbE Family Controller
    Connection Status               Media Disconnected
    
    Adaptor 2 Name                  Realtek 8822CE Wireless LAN 802.11ac PCI-E NIC
    Connection Status               Connected
    
    ===================================================================================================================
                                              Processor 1 Information                                                 
    ===================================================================================================================
    Name                            AMD Ryzen 7 4800H with Radeon Graphics         
    Architecture                    64
    L2 Cache Size                   4096
    L3 Cache Size                   8192
    Current Clock Speed             2900
    Physical Cores                  8
    Logical Cores                   16
    Processor Id                    178BFBFF00860F01
    Virtualization Mode             Enabled
    Manufacturer                    AuthenticAMD
    Description                     AMD64 Family 23 Model 96 Stepping 1
    
    ===================================================================================================================
                                                 DMI/BIOS Information                                                 
    ===================================================================================================================
    System Manufacturer             ASUSTeK COMPUTER INC.
    System Product Name             ASUS TUF Gaming A15 FA506IV_FA506IV
    BaseBoard Manufacturer          ASUSTeK COMPUTER INC.
    BaseBoard Product               FA506IV
    BaseBoard Version               1.0
    
    BIOS Vendor                     American Megatrends Inc.
    BIOS Release Dat                03/12/2021
    BIOS Version                    FA506IV.316
    Primary BIOS                    True
    SMBIOS Present                  True
    SMBIOS Verson                   3.2
    SLIC/BIOS Data                  _ASUS_ - 1072009
    
    Valid SLIC Name                 Asus
    Possible Brand Theme            Asus
    
    ===================================================================================================================
                                              Miscellaneous Information                                               
    ===================================================================================================================
    Which MRP Version Used          CY21M05D28-R137.1.BR
    
    Installed .Net Frameworks       2.0  3.0  3.5  4.8  4.0 
    Installed Powershell Versions   1.0, 2.0, 3.0, 4.0, 5.0, 5.1
    
    Security Product Name{s}        COMODO Antivirus
    Defender Tamper Protection      Disabled
    Defender Service Status         Manual
    Windows Firewall Service State  Running {Reg: Auto}
    
    Windows Activation Status       Volume activation will expire in 259051 minutes
    Windows Licence Reason          Digital Store Licence/HWID
    Standard Office Installed       Does not appear to be installed
    Click2Run Office Installed      N/A
    
    -------------------------------------------------------------------------------------------------------------------
    
    Windows Activation Status is wrong. The License reason is correct - It's a Windows Store license. And the Volume activation listed for Windows is actually the one from Office (2021 LTSC Standard), which is not detected, unfortunately.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    i not check for kms etc specifically.

    the activation check is simple at moment as been focusing on office stuff.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    the routine not look at office. :g:

    think i might put gui qt on hold, cant handle the stress.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,758
    340
    Maybe it's not necessary to distinguish Volume<>Retail, just the Product name is enough :)

    Office C2R 16.0 serve 4 products :D
    SKU contain 2021 = Office 2021
    SKU contain 2019 = Office 2019
    SKU contain o365 = Office 365 (currently branded Microsoft 365 Apps)
    any other SKUs without above numbers = Office 2016
     
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #8908 mxman2k, Oct 22, 2022
    Last edited: Oct 22, 2022
    (OP)
    I parse the productionid and pick the first one with a match, probably not the ideal one but if there is a few names for say word, excel etc it takes up too much space in the gui line so i condense it into a simple result.

    The for loop in batch is so much easier to select bits of a result, but in autoit the for loop is not like it so you have to get creative in other ways with strings etc.

    Will work on the gui as and when i feel like it. At least the main framework is in place.

    My last bit tomorrow will be the check for windows activation routine . The check uses the same way as a vbs would to read license info via a call such as '* select from' and 'name like windows' etc so why it picking up kms from office is confusing. I remeber had same issue in the old qt too, just have see how to use same way to fix it using autoit code.

    Not my own function , i used one i found on the autoit forum, seems like it wasnt fully tested back then for actual use.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,708
    210
    lic_off1.png lic_off2.png lic_off3.png lic_win1.png

    Does it help?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Wiil take a better look tomorrow as on phone and awkward zooming pictures.

    Im thinking the method the autoit fuction uses is not got the filtering correct and that is why the office kms is being seen by mistake.

    It a similar path as wmic would use, select license blah from spp etc, it looked complex at first but it very much a wmi call that a vbscript would use.

    I do have a vbs that is used in the old qt as a backup. Running a vbs is easy, the hard part is parsing the results back into autoit. Will see.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Code:
    local $oCollection = $oWMIService.ExecQuery("SELECT Description, LicenseStatus, GracePeriodRemaining FROM SoftwareLicensingProduct WHERE PartialProductKey <> null")
    Filtering not filtering for windows specifically...

    I must of reverted code between the pc and laptop :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #8912 mxman2k, Oct 23, 2022
    Last edited: Oct 23, 2022
    (OP)
    GUI QT

    Removed all office information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Capture.JPG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #8914 mxman2k, Oct 23, 2022
    Last edited: Oct 25, 2022
    (OP)
    All office references have been removed - not to return, sorry - reached braking point and so decided to remove ALL code referencing office.

    Using AppID instead of "Windows%%" as for some reason it forgets the HWID reference and just says valid key used.. Seems to be ok again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,768
    7,708
    210
    misc.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Capture.JPG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    574
    968
    30
    xyx.PNG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. kajoe1

    kajoe1 MDL Novice

    May 9, 2011
    20
    11
    0
    In MRP.ini Defender disabled, but in newest Windows 11 still security is enabled. Is there a new method?
     
  19. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    It should still be disabled on win 11, remember MRP does not remove defender it basically modifies the way it works so it is thinking that a 3rd party av is installed therefore defender not operational.

    The defender/windows firewall is NOT disabled or you could have major issues with some windows functions not working or even 3rd party security suits that need the firewall service working.

    The defender service etc should not be running, unless m$ have changed it yet again since last month :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Have added for next GUI QT:

    Memory Type
    Memory Error Correction
    Memory Slots Fitted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...