MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    Yes, it's definitely something removed by NTLite that causes this. I just know that the integration of updates along with something removed causes it but I don't know which component removal does this even after removing a different sub set of components each time.
     
  2. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    266
    212
    10
    #7502 tefor, Jul 29, 2018
    Last edited: Jul 29, 2018
    Hi MSMG and all,
    I gave up and i am really tired of trying to crop Defender,SmartSCreen,CEIP,WER from RS3 and RS4 with the MSMG toolkit because the Windows Installation always gave the error "Windows Setup could not configure Windows on this computer’s hardware” and i could not find any solution for this
    Instead of cropping those items from the iso , may i prefer to stop those services by way of a reg file ?

    Here is the registry file

    Windows Registry Editor Version 5.00

    ; DisableDefender

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
    "DisableAntiSpyware"=dword:00000001

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
    "DisableBehaviorMonitoring"=dword:00000001
    "DisableOnAccessProtection"=dword:00000001
    "DisableScanOnRealtimeEnable"=dword:00000001

    ; Disable Windows Customer Experience Improvement Program

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SQMClient\Windows]
    "CEIPEnable"=dword:00000000

    ; Disable Windows Error Reporting

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting]
    "Disabled"=dword:00000001

    ; Disable SmartScreen

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
    "SmartScreenEnabled"="Off"

    [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter]
    "EnabledV9"=dword:00000000

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\AppHost]
    "EnableWebContentEvaluation"=dword:00000000

    Thank you
     
  3. lewcass

    lewcass MDL Senior Member

    Mar 10, 2018
    429
    250
    10
    I have tried to remove system restore 3 times from a w7 pro n image, each time it get "package does not exist", it is probably hidden but it isnt hidden on a pro vl image. Can i export the CBS registry entries for the 2 packages from the vl image and import them/replace existing to the n image to make them visible?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    I cannot replicate this. I integrated updates into base RS4 Pro, used MSMG to remove just about everything (including defender and smartscreen) and had 0 issues installing.

    I have had 0 issues installing with defender removed on any RS3 and RS4 build.
     
  5. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    266
    212
    10
    Sure i know most of the people haven't had any issues while removing those items , but a few people are having trouble while removing. Maybe it is realated with computer's hardware.. Unfortunately your answer has no use for me. Thanks anyway
     
  6. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    As has been mentioned before, I have a feeling its the state of the image prior to MSMG removals that is screwing things up.

    As far as hardware goes I have done this on a NUC8i7HVK, X299, Z370, X99, X79 and even a core 2 duo system that originally came with XP.
     
  7. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    Here are my steps:

    1. Download Windows 10 via media creation tool.
    2. Extract the image I need (Pro or Home) as a WIM file.
    3. Do a preliminary install and get drivers 100% squared away (this install is temporary, it will be deleted via format during the final install).
    4. Extract newly created driver folders from C:\Windows\System32\DriverStore\FileRepository
    5. Integrate SSU, save.
    6. Integrate CU and all other updates, save.
    7. Integrate drivers, save.
    8. Load up MSMG and do all of my removals, save.
    9. Do a final install with this image and confirm that all drivers and updates are pre-installed.
     
  8. hookahman

    hookahman MDL Novice

    Jul 25, 2018
    24
    13
    0
    For those who do not know how to export drivers from an installation--
    Code:
    dism /online /export-driver /destination:<path to drivers folder>
     
  9. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    266
    212
    10
    Dear nosirahx ;

    1- The windows installation finishes smoothly when i remove All Apps ,Windows Components and the Advanced Windows Components except telemetry , smart screen , WER and CEIP

    2- The Windows installation gives error when i remove All Apps ,Windows Components and the Advanced Windows Components including telemetry , smart screen , WER and CEIP

    That is the problem and the error is "Windows Setup could not configure Windows on this computer’s hardware
    I have done several tests so far beginning from the first release of RS3 but the error never changes

    Do you have any solution for this issue ?
    Can it be related with my computer's hardware ? (Asus X550LB i5)
     
  10. hookahman

    hookahman MDL Novice

    Jul 25, 2018
    24
    13
    0
    Possibly. If you have another computer you could install same on it. You could also try in Virtual Machine to see if it installs.
     
  11. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30

    Going to try that side by side tonight. I remember reading somewhere that you can get a massively bloated list of drivers under certain circumstances.

    I know that when I export just the ones added post install its not much that I am adding.
     
  12. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    Tested it, literally creates the same folders containing the same files. Since you can copy and paste this command actually takes longer.
     
  13. hookahman

    hookahman MDL Novice

    Jul 25, 2018
    24
    13
    0
    My C:\Windows\System32\DriverStore\FileRepository folder is 1.02 GB and contains a whole lot more files than my exported drivers folder which is 738 MB.
     
  14. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    You are taking the entire folder, that is incorrect.

    Only select folders created post OS install, those are the ones added after the install is complete and match the ones exported by the command.
     
  15. hookahman

    hookahman MDL Novice

    Jul 25, 2018
    24
    13
    0
    Well, I only have that one folder as far as I know. It seems pretty easy to just run the command. Where is this post OS install folder?
     
  16. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    Maybe I explained that incorrectly. Inside FileRepository are a bunch of folders. Add the "created" tab and then sort by creation date. You will see a delineation between the folders created at install and folders created post install, these the ones you are and match the command export 1:1.
     
  17. hookahman

    hookahman MDL Novice

    Jul 25, 2018
    24
    13
    0
    OK. I totally understand. Also, I have the drivers already exported anyway. While waiting for you to respond, I mounted an install.wim, and integrated all drivers from FileRepository. There were 669 of them. LOL. At some point I will try installing this on one of my partitions.
     
  18. nosirrahx

    nosirrahx MDL Addicted

    Nov 7, 2017
    873
    396
    30
    Thanks for that command BTW, I knew it was possible but I had never actually looked it up. Building an install image for my NUC8i7HVK tonight, this new technology has a mountain of drivers not included in the base Windows 10 image, 1.7 GB worth.
     
  19. AeonX

    AeonX MDL Addicted

    May 24, 2013
    694
    542
    30
    From what I read in the NTLite forum there were some CUs from the month of June that failed to install if you removed Windows Apps on version 1803 RS4 but with newer CU it does not occur anymore.

    Have you tried with the latest CU? Removed Windows Apps with MSMG Toolkit?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. AeonX

    AeonX MDL Addicted

    May 24, 2013
    694
    542
    30
    Have you tried without removing telemetry? I have this error removing telemetry on Win8.1 with NTLite.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...