Multi-OEM/Retail Project {MRP} - Mk3

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

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,211
    90,793
    340
    The new GUI output window for Query Tool is nice :)

    is't suppose to report partition size as 40 GB, although it's really 37 GB?
     
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    The drive size values are due to the limitation of SET /A being 32-bit only.

    It's just a bit of eye candy and i mention in the log that it is approx values.

    Will find a way around the limitation with either vbs or other programming language, i avoided using PShell one it slow and two not all OS's may have the PS applet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    After about 4 hours of installing 7 over and over have, (hopefully), fixed that reason message about no SLP key when in fact it was no SLIC table!

    Now the Win8.x tests begin...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    The routine to obtain the drive info is simple but the maths are the problem, had to twiddle the division to get the values to look 'almost' right. lol

    Code:
    
    @echo off
    
    set "volume=%SystemDrive%"
    
    For /f "UseBackQ Tokens=1-2 Delims==" %%A In (`WMIC LogicalDisk Where "DeviceID = '%volume%'" Get FreeSpace^, Size /Value`) Do If "%%B" NEQ "" Call Set _%%A=%%B
    
    Set /a "_FreePercent=(%_FreeSpace:~,-6% / %_Size:~,-8%)"
    Set /a "_FreeSpace=(%_FreeSpace:~,-6% / 1079)"
    set /a "_TotalSize=(%_Size:~,-9%)"
    
    IF Defined _TotalSize echo Information For %systemdrive% - Total: %_TotalSize% GB , Avail: %_FreeSpace% GB {%_FreePercent%%%} - Approx Values.
    
    echo.
    pause
    
    
    Tried to match the values to what Windows reports when you right click a drive and select Properties.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    #3005 mxman2k, Jul 6, 2018
    Last edited: Jul 6, 2018
    (OP)
    Have struggled with Defender disablement on Win8.x, no matter what i do it wont disable!

    *edit* sorted now. :)

    Now on to W10 testing....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Testing another way for w8.1 Defender, not sure if it will work... If this does then MRP 95.0 is completed. Finally!

    Windows 7 (and SLIC based OS's) All OK.
    Windows 10 All OK.

    Windows 8.x OK apart from Disable Defender but this work-a-round might be the key to success or another failure. :p

    Will find out in about 20 mins as this HDD is about shafted after all this installing today.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Forgot 8.1 installs a bit faster than 7 :p

    Yes!! Windows 8.x Defender is now disabled! :D :D :clap: that took some sorting out!!

    This App is turned off by group policy. :haha:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    just sorting the change log etc....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Finally the wait is over!

    MRP 95.0 Baseline has been uploaded and 2nd post download link, password and hashes have been updated.
    + Added two new W10 options:
    1} Do not allow updates from other PC's. - Prevents WU from using other PC's on Internet too i think.
    2} Set Diagnostic & Feedback to Basic and Never.

    + Fixed a cosmetic glitch on SLIC based OS's where if no SLIC table present it would give the reason about SLP key instead of No SLIC table. Did not affect MRP but looked a bit out of place.

    + Adjusted the Project.log output to remove the Applied:, Enabled: and Disabled: prefixes on any options and have new headers to separate them.

    + Have moved the 'Disable Defender' advanced option to Windows 8.x/10 General tab for the Creator and in the MRP code base as now you can also Disable Defender for Windows 8.x.

    Note: The 'Disable Defender' option is disabled for Servers, this is by design. You can handle that by the Server Dashboard in a better way.

    + Fixed a glitch with Store when set to 'StoreOnly' it would default to 'Anywhere' now works correctly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    just in time for a new rs5 build :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. JanCerny

    JanCerny MDL Senior Member

    Sep 13, 2012
    295
    194
    10
    #3013 JanCerny, Jul 7, 2018
    Last edited: Jul 7, 2018

    Attached Files:

  12. Dubioza Kolektiv

    Dubioza Kolektiv MDL Addicted

    Dec 27, 2012
    870
    1,470
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mad_max

    mad_max MDL Junior Member

    Mar 31, 2014
    77
    40
    0
    It did not help. Still nothing.
     
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    hmm odd... the QT should revert to the old style 'dos' display if something goes wrong. :g:

    that is if a AV/defender grabs the GUI exe. The GUI is language independent - it just displays the text like notepad would.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Just rechecked the code, i think i know what went wrong.

    I had a clean up routine that also cleared the text file that the gui would display, but because i missed a line that removed all *.txt files it also removed the display text, :oops:

    Will upload this version (62.1) shortly -- it should now show the GUI unless a AV has grabbed the reader program.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,324
    21,067
    210
    Ok Query Tool v62.1 uploaded, 2nd post updated with new download link, password and hashes.

    Hopefully sorted the glitch that the GUI not show on Windows 7 (maybe other OS's).

    No other changes done from 62.0 QT.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mad_max

    mad_max MDL Junior Member

    Mar 31, 2014
    77
    40
    0
    Well...no :( Still the last line saying something about unexpected 0. I have no other computers with Win7 right now. Tomorrow I will try on a different one.
    Some kind of a debug switch would be helpfull.