1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #21422 MSMG, Nov 15, 2021
    Last edited: Nov 15, 2021
    (OP)
    When the error occurs, do check the Toolkit window content and let me know the previous component name which was successful in removal.

    Will be testing a different approach to remove directories using the RemoveDirectoryW() function which doesn't have MAX_PATH restrictions.

    Also there's a method to get short pathname using GetShortPathName(), let's see if it solves the issue.
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #21423 MSMG, Nov 15, 2021
    Last edited: Nov 15, 2021
    (OP)
    Those are the settings to disable for Windows 10 v1809 to v21H2, it will work for the older builds too though some keys may not be required.
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #21424 MSMG, Nov 15, 2021
    Last edited: Nov 15, 2021
    (OP)
    1) Copy the registry file to <Toolkit\Custom\Registry\w10\x64> folder.

    2) Select the source using Toolkit.

    3) Select the menu [4] Customize -> [7] Import Custom Registry Setting from Registry File

    4) Save the source
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Without license it may require the internet connection to get it's license activated.

    The license.xml file found inside the <Display.Driver\NVCPL\5efb955d2acb49ea89ce8df2b4fd49dc_License1.xml"

    I have added an option to integrate the Nvidia Control Panel App in the Toolkit, it will be available from next version.
     
  6. dany0071199661

    dany0071199661 MDL Member

    Oct 5, 2021
    135
    19
    10
    :confused: why if i want remove again components from lite iso
    on removal menu i see everything with + so i not see which is previous remove and which is not ?
    any solution for it ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    356
    718
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    #21431 ingviowarr, Nov 15, 2021
    Last edited: Nov 15, 2021
    @Yanta

    Please, check these minimum requirements for apps installations.

    1) These services must be enabled (not disabled) at the time of installation:

    Firewall (when existing in the OS and not removed):

    - mpsdrv (Windows Defender Firewall Authorization Driver)
    - mpssvc (Windows Defender Firewall)

    wsappx process that includes two background services:

    - AppXSvc
    - ClipSVC

    - Appinfo

    2) Check whether you don't have GPO restrictions for the Store (i.e. when Store is restricted on global level)
    This global restriction affects on app's UI also.

    At the same time you can keep Firewall's GPO disabled permanently, only services are needed (start/stop).

    ------

    I name this requirements kind of like "Apps install readiness"
    This is neccessary only for the time of installation and then might be disabled back (I have two cmd -s for this perpose).
    (Note: Never disable StateRepository service)

    Only after that can you start playing with the configuration and figure out what is not working.

    *****

    About DDU :
    You're really don't need going to Safe Mode.
    It works nice in regular mode far long time.
     
  9. raptorddd

    raptorddd MDL Addicted

    Aug 17, 2019
    729
    275
    30
    does creating a iso with components removed and updating windows still brings back components on windows 10.??
     
  10. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    @ingviowarr @MSMG
    Do you see anything in my original method (here) which would produce the error message I showed earlier (here) in this thread?
     
  11. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    @Feartamixg

    1) You didn't use Toolkit's update options for OS because your build is already is the most recent version?
    I used to only LTSC 2019 and integrating updates for ISO is always a must part.
    Only one correct exception from this rule - if you already have the most rescent build supported by Toolkit.

    2) I just can share another info you can think about - a number of nesessary components, when the Store is NOT removed.
    This info collected by people that use editions newer than LTSC 2019 (i.e. newer than my OS and my experience)

    Apps:

    - Microsoft.DesktopAppInstaller

    - Microsoft.StorePurchaseApp
    - Microsoft.WindowsStore

    - XboxIdentityProvider
    - XboxGameCallableUI

    System Apps:

    - Microsoft.XboxGameCallableUI
    - MicrosoftWindowsClient.CBS

    ----------

    The reality lies somewhere in the middle.
    We have to identify necessary workable config when Store is removed and WindowsStoreClient (back-end) retained.

    I know theory a bit, have some experience / testing in the past (a short period) .
    That was far earlier than @MSMG splitted the Strore on parts.
    My notebook is from era before apps (and always had a classic drivers), I used to LTSC and apps were mostly ignored.
    So we need make a new tests together. And better on newer HW than mine, that have true modern DCH drivers to install.
     
  12. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    477
    274
    10
    #21435 Yanta, Nov 16, 2021
    Last edited: Nov 16, 2021
    The first one does not exist on my system.

    Yep. Clipsvc is always running. It breaks several things if I don't leave it running.
    Appxsvc I have to disable as it accumulates gigs of evtx and tmpx files in %windir%\Temp when enabled.

    Store and store back end are removed from image. As are all xbox components.
    I have no GPO settings that I can find, but I do set a few registry values..

    Code:
    REG ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v StoreAppsOnTaskbar /d 0 /t REG_DWORD /f
    REG ADD "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v NoPinningStoreToTaskbar /d 1 /t REG_DWORD /f
    REG ADD "HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer" /v ShowWindowsStoreAppsOnTaskbar /d 2 /t REG_DWORD /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer" /v NoUseStoreOpenWith /d 1 /t REG_DWORD /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /v AutoDownload /d 2 /t REG_DWORD /f
    REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsStore" /v DisableStoreApps /d 1 /t REG_DWORD /f
    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore" /v AutoDownload /d 2 /t REG_DWORD /f
    
    I wasn't aware of that. The DDU Author recommends drivers be removed in safe mode.
    I've never had a problem, and I've probably used it a 100 times. But it would definitely save time by not having to boot to safe mode.

    The only thing I have to change to be able to install/jmodify/remove appx packages is to enable appxsvc then reboot.

    the nvcpl package installed without issue. All the content is where it's supposed to be except the license file

    @MSMG suggested that is fine in that it will connect to the internet and activate. That actually doesn't happen. It just throws an error.
    I will remove the drivers again, including nvcpl and try again, now that @MSMG has shown me where to find the licence xml file.
     
  13. PapaKarloS

    PapaKarloS MDL Novice

    Oct 12, 2017
    5
    0
    0
  14. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    477
    274
    10
  15. maka213

    maka213 MDL Novice

    Aug 24, 2012
    41
    12
    0

    Yes.
     
  16. Spekuloos

    Spekuloos MDL Novice

    Nov 9, 2021
    3
    2
    0
    Thx the problem was solved by shortening the path name ;)