Multi-OEM/Retail Project {MRP} - Mk3

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

  1. BALTAGY

    BALTAGY MDL Guide Dog

    Dec 23, 2014
    350
    620
    10
    #1521 BALTAGY, Oct 23, 2017
    Last edited: Oct 23, 2017
    I didn't test it setting network to home, i always use public, But i think it should work ?, i hope they don't remove it in the future or it will be boring when you can't access file sharing no more unless using username and password
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    It should work for home too, i looked on the net for ways to word it for the config file and most mentioned about Home networking Samba shares and to allow mapping of drives etc.

    For something to do with Servers there are two other settings but i not added those.

    Code:
    reg add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "EnableSecuritySignature" /t REG_DWORD /d "1" /f >nul
    
    reg add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d "1" /f >nul
    They, when set require something to be signed for authentication/connection and security. For those it is best to research on the net about that as it is outside the scope of MRP.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    For security in the new config file on the next release.

    :EnableFileSharing=

    The parameter must be yes or Yes as anything else then the option will be set as No. So just typing Y or 1 will be ignored.

    I have wrote the code in already when i saw your tweak this morning, so it set for the next MRP. :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. BALTAGY

    BALTAGY MDL Guide Dog

    Dec 23, 2014
    350
    620
    10
    I used it in SetupComplete for now, btw very good move using MRPConfig and adding custom drive label, i was using it my self now i use it throw MRP :worthy:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    I had a few pm's asking if i could have the user drive name option and it was simple enough to add, however there is no error checking for the label - yet!

    While labeling a volume, there are some limitations. If you are labeling a FAT volume, you can use 11 characters, while NTFS volumes can use up to 32 characters. Your labels cannot include tabs but you can use spaces. If you are labeling an NTFS drive, you can use all characters, however, FAT volumes cannot be labeled with the following characters:

    * ? / \ | . , ; : + = [ ] < > "
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. BALTAGY

    BALTAGY MDL Guide Dog

    Dec 23, 2014
    350
    620
    10
    I'm in safe side, i like to label it SYSTEM :cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    #1527 mxman2k, Oct 23, 2017
    Last edited: Oct 23, 2017
    (OP)
    If someone suggests a feature that can be added then i will test it to make sure it does not break something else, then once ok it can then be integrated.

    I will only consider a 'tweak' that would be useful for many and it will be default Off/Disabled so keeping with the project rule that the options are for the end user to make a choice if they wish to use something or not.

    However that was one reason i created the UserTweaks.cmd so that the majority of the users own tweaks can be placed there because it runs at the end of oobe any HKey_Current_User (HKCU) tweaks can be used as at that stage the username has been created.

    One option i have been asked is about the People Band icon in the taskbar, if there is enough call i can add that but it a simple reg tweak so can be added to SetupComplete.cmd or UserTweaks.cmd.
    Code:
    REM Remove people band from taskbar - Current User Only
    Reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /v "PeopleBand" /t REG_DWORD /d "0" /f  >nul 2>&1
    
    REM Remove people band from taskbar - All Users -May or may not work?
    Reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /v "PeopleBand" /t REG_DWORD /d "0" /f  >nul 2>&1
    If there is enough call for the option to be added to MRP then only the current user one will be used.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
    HKCU regkeys, can they be added by MRP or by usertweaks file?

    I thought only HKLM and HKU.
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    UserTweaks or Setupcomplete cmd's, i prefer UserTweaks because i know that works. The UT file and its folder will need to be placed in the Scripts folder.

    You can even use Wintel.cmd as that is called during the last stage of the Windows setup too when the HKCU is available. Only if that file is placed in the Scripts folder.

    Setting any HKCU tweaks within the oobe.cmd will not work because at that stage the username has not been created.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    You should see some of the names i call my tests!! Drive name/user name :p No wonder Cortana does not like me lol.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    @Enthousiast , I see the addon 2.x kicked in :eek: Think your VM might need a refresh :p

    Decompile found a glitch hence why it kicked in.

    Rare it happens. But there again we do hammer those VM's mercilessly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    Here is a sneak preview of the next MRP with EnableFileSharing and RemovePeopleBand options added to the config file and enabled...

    Code:
    Multi-OEM/Retail Project Version : 171023-R70.1 - Internal Test   [MRP/MDL]
     
    Required project files extracted successfully.
     
    OEM's folder detected, structure appears OK.
     
    Enhanced Log Mode: Enabled.
     
    W10TB option enabled: Windows 10 Title Bars will be colorized to Blue.
     
    HiLite option enabled: Hi-Lited Text will be colorized to Blue.
     
    ForceTheme user option enabled with 'Alienware' added from MRPConfig file.
     
    OS Installation Date/Time: 23/10/2017 -- 8:46pm
     
    [OSINF] =======================
    [OSINF] Detected OS Information
    [OSINF] =======================
    [OSINF] Version Installed     : Windows 10 Pro x64
    [OSINF] Edition {Registry}    : Professional
    [OSINF] Edition {WMIC}        : Professional
    [OSINF] Build Information     : 16299.15.amd64fre.rs3_release.170928-1534
    [OSINF] Update Build Revision : 15 {Baseline Release}
    [OSINF] Edition Language/Code : en-GB / 2057 {809h}
    [OSINF] Locale                : en-GB
    [OSINF] Language Name Value   : ENG
    [OSINF] =======================
     
    [MBINF] =======================
    [MBINF] Motherboard Information
    [MBINF] =======================
    [MBINF] #01 CS Product Name   : [H81M-HDS]
    [MBINF] #02 CS Model Name     : [H81M-HDS]
    [MBINF] #04 CS Vendor Name    : [ASUSTeK Computer INC.]
    [MBINF] #05 CS System Name    : [ASUSTeK Computer INC.]
    [MBINF] #06 Baseboard Name    : [ASUSTeK Computer INC.]
    [MBINF] #08 BIOS or SLIC ID   : [_ASUS_]
    [MBINF] #09 SLIC Version      : [v2.1]
    [MBINF] =======================
     
    [CMINF] =======================
    [CMINF] CPU/Memory  Information
    [CMINF] =======================
    [CMINF] CPU Name/Type         : [Intel{R} Celeron{R} CPU G1820 @ 2.70GHz]
    [CMINF] CPU Description       : [Intel64 Family 6 Model 60 Stepping 3]
    [CMINF] CPU Architecture      : [32/64 Bit Instruction Set]
    [CMINF] CPU Cores/Threads     : [2] / [2]
    [CMINF] Total Physical Memory : [3896 Mb]
    [CMINF] Available Memory      : [3383 Mb]
    [CMINF] =======================
     
    [HDTYP] Info: SSD Detected.
     
    [NETSE] User EnableFileSharing option: Enabled. 
    [REMPB] User Remove PeopleBand option: Enabled. 
    [USERL] User System Drive rename option enabled, 'Local Disk' changed to 'OS_Drive'.
    [PKEIC] -> PID.txt/EI.cfg Detection.
    [PKEIC] PID.txt file not detected.
    [PKEIC]  EI.cfg file "D:\Sources\EI.cfg" detected.
    [CKDMI] Querying BIOS for any manufacturer branding information.
    [THMOK] Asus [#04] manufacturer detected, ForceTheme will override this, if defined correctly.
    [CHKMN] Computer Model Name: 'H81M-HDS' has been applied.
    [BRND1] -> Branding Extra Checks Section.
    [FTHWD] ForceTheme.ini file detected, processing.
    [USRFT] User selected ForceTheme 'Alienware' will be used. 
    [THMMS] -> OEM Brand Transfer Management Section.
    [WPCHK] Wallpaper.jpg transferred.
    [BGDFC] Desktop backgrounds folder created.
    [BGDFC] BackgroundDefault.jpg created from Wallpaper.jpg.
    [W8XAP] -> Windows 10: User Account Picture Management.
    [RMXML] OOBE.xml file processed.
    [UBREP] User.bmp replaced.
    [UPREP] User.png replaced.
    [UPREP] User-40.png replaced.
    [WXAP2] -> Windows 10: User Account Picture Management {Section 2}.
    [UPREP] User-32.png replaced.
    [UPREP] User-48.png replaced.
    [UPREP] User-192.png replaced.
    [WXLS5] Lock Screen {img105.jpg} replaced. Original renamed as img0105.jpg.
    [WXLS1] Log-In Background {img100.jpg} replaced. Original renamed as img0100.jpg.
    [OTFTS] -> OEM Theme Files Transfer Section.
    [OTFTS] OEM theme folder has been created.
    [OTFTS] OEM files have been transferred.
    [UFTMA] User specified theme Alienware has been applied.
    [BSHCS] Branding script has completed.
     
    [ADMAN] Add-On Manager: Started.
    [REMPB] People Band HKCU registry tweak processed. 
    [CMSDM] Querying BIOS for any MSDM data.
    [CMSDM] No MSDM Table/Key detected in BIOS.
    [USRAC] Windows 10 Enhanced Log-On screen has been enabled.
    [W10TB] Windows 10: 'Blue' Title Bar Colorization applied.
    [USRAC] 'User Account Picture' registry entry applied.
    [USRRO] Windows 'Registered Owner' {Winver} registry entry corrected.
    [USRD0] Detected 'defaultuser0', removal process started.
    [RDUPM] Removal of 'defaultuser0' account completed.
    [AMBPS] -> Checking BIOS/Boot mode and OS HDD/SDD partition type.
    [AMBPS] BIOS/Boot Mode : Legacy
    [AMBPS] Partition Type : MBR
    [AMHDC] SSD/HDD Mode   : AHCI
    [CHKLS] -> Check if Windows is activated/licensed.
    [CHKLS] License Status: Notification
    [CHKLS] Online connection maybe required to complete activation.
    [AMUTC] UserTweaks.cmd file is present.
    [AMUTC] UserTweaks completed without errors.
    [ADMAN] Add-On Manager: Completed.
    [CLNUP] MRP Clean Up Routine Processed.
     
    =========================================================================================
    = Please Note: It is advisable to logout or reboot your computer when possible to allow =
    =              the User and Log-On background pictures to finalize.                     =
    =                                                                                       =
    =              A Log/Sign out will be required to set the Title Bar/Taskbar colors etc. =
    =========================================================================================
     
    The Multi-OEM/Retail Project has completed. 

    A log out or reboot will be required for the People Band to vanish, other than that all working. :)

    Be about two weeks before this one will be ready...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    The next MRP will have a few more Options. ;)

    There is at the moment 17 of them now in the Config file!

    The last 3 are being tested to make sure they work properly.

    Have also enhanced the License Reason Code slightly it should now work fully with MRP.

    Most I am sure you will use.

    Will list them once tests are complete, well the 17 of them so far, there may be a few more depends on how complex it gets with all the checking etc. :p

    As always they are all default OFF. So you can make a choice if you wish to use one or two.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    I knew you would like that post Enth, your testing them. :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    #1538 mxman2k, Oct 24, 2017
    Last edited: Oct 24, 2017
    (OP)
    Hmm just one error i see two apps use dark theme lol cosmetic and as it beta i can tweak that ;)

    [MTTBT] Apps use Dark Theme option has been enabled.

    should of been:

    [MTTBT] Extra Taskbar transparency option has been applied.

    Knew i would make a mistake. :oops::rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,320
    21,061
    210
    #1539 mxman2k, Oct 24, 2017
    Last edited: Oct 24, 2017
    (OP)
    ok here is the current list of Options, (sofar), in the config file and what they do...
    Code:
    MRPConfig.ini Options Listing
    =============================
    
    :LblDrv=
    --------
    Setting LblDrv to 1 will tell MRP to auto rename the system drive with windows version etc.
    Setting to 0 or leaving blank will not auto name the drive.
    
    :DriveLabel=
    ------------
    Setting DriveLabel to your own choice will rename the system drive to your specified name, this will override the LblDrv= switch.
    Some characters are not permitted, see internet for details about what is and isn't allowed.
    
    :Debug=
    -------
    Setting Debug=Yes will turn on the enhanced project.log information.
    Set to No will disabled the enhanced logging.
    
    :NoLLS=
    -------
    Setting NoLLS=1 will tell MRP to use the default Windows Lock/Log-In screens {Windows 8.x/10 Only}.
    Set as 0 will allow MRP to change the lock/Log-In screens, {Default setting = 0 }.
    
    :W10TB=
    -------
    Setting W10TB=Yes will tell MRP to Colorize the TitleBars {Windows 10 ONLY} -- Change to  No to disable, {Default setting}.
    
    :WXTBColor=Blue
    ---------------
    Setting WXTBColor=Grey will tell MRP to Colorize the TitleBars Grey {Windows 10 ONLY} -- Active=DarkGrey, Inactive=LightGrey.
    Setting WXTBColor=Blue use NavyBlue-Active, LightBlue-Inactive.  This is also the default if W10TB=Yes.
    However for the moment only two Colors are working, default Blue or Grey.
    This is only active if W10TB=Yes otherwise it is ignored.
    
    :HiLiteColor=
    -------------
     ** Windows 10 Only **
    Setting HiLiteColor=Grey will tell MRP to change the HiLite'ed text to Grey.
    Setting HiLiteColor=Black will tell MRP to change the HiLite'ed text to Black.
    Default setting is Default for default color used by Windows 10.
    However for the moment only two Colors are working, Grey or Black.
    This is only active if W10TB=Yes otherwise it is ignored.
    
    :ForceTheme=
    ------------
    Using the ForceTheme option below works in same way as the 'Force_Theme[Readme].txt' did, you set the brand and MRP attempts
    to use it, leave it blank to allow MRP normal theme processing.
    Using an incorrect name for the brand will result in the Windows default theme being used.
    Only accepts brand names found within the OEM's.7z file. Default is blank.
    
    :DelConfirm=
    ------------
    Set Delete confirmation only for Windows 8.x/10, DelConfirm=Yes - will ask when deleting a file for confirmation, Default is No.
    
    ===============
    New ones added:
    ===============
    
    :ThisPC=
    --------
    Places ThisPC/My Computer icon on the desktop, Yes = icon shown, No {default} don't put icon on desktop.
    
    :EnableFileSharing=
    -------------------
    Enable file sharing tweak without enabling SMB v1.0 - This enables you to access network shares on a Home network.
    Check online for any risks.
    Set as Yes to enable.  Default No.
    
    :RemovePeopleBand=
    ------------------
    Windows 10 RS3+ Only.
    Remove People icon from the taskbar. Yes to remove, or No to leave it alone.
    
    :PreventOneDrive=
    -----------------
    Windows 10 Only.
    Prevent OneDrive from installing.  Set to Yes to remove it from run/runonce, or No {default} to let it install.
    
    :ShowFileExt=
    -------------
    ShowFileExt, set to Yes to show 'filenamewith.ext' or No {default} to not show extension.
    
    :NoShortCutSuffix=
    ------------------
    NoShortCutSuffix , Yes removes the -shortcut suffix from icons, No {Default} leave -shortcut reference.
    
    :AppsUseDarkTheme=
    ------------------
    AppsUseDarkTheme , Yes sets the Windows 10 Apps to use Dark Theme, No {Default} use White theme.
    
    :OLEDTaskbar=
    -------------
    OLEDTaskbar, Yes sets a more transparent Taskbar for Windows 10, No {Default} leave as default.
    
    Think there are a few that will get used! :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,527
    450
    #1540 Enthousiast, Oct 24, 2017
    Last edited: Oct 24, 2017