1. smurfingtheweb77

    smurfingtheweb77 MDL Novice

    Feb 11, 2023
    4
    1
    0
    #24661 smurfingtheweb77, Feb 13, 2023
    Last edited: Feb 13, 2023

    I was able to stop the script from telling me access denied but its back to saying the application failed to start. Any ideas there?



    ===============================================================================
    MSMG ToolKit - Removing Windows Components
    ===============================================================================

    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components#######################################
    -------------------------------------------------------------------------------

    Image : Install.wim
    Image Index : 1
    Image Architecture : x64
    Image Version : 10.0.19041.2006.0

    -------------------------------------------------------------------------------
    ####Removing Windows Components################################################
    -------------------------------------------------------------------------------

    ===========================[Install.wim, Index : 1]============================

    The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components#######################################
    -------------------------------------------------------------------------------

    ===============================================================================

    Press any key to continue . . .
     
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    No. If you run Start.cmd as admin, I believe that nsudo will be bypassed or it will run but it will verify that the rights are elevated and it seems to me that for this reason it ends up not doing the complete procedure.

    You can take the Test there. If 2 clicks on Start.cmd the NSudo window will open.
    If you start as Admin UAC will open. If anyone want to use without NSudo, just start Toolkit.cmd as admin. But it doesn't work for removing components through the ToolkitHelper list or menus.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Look what I wrote in the post above.
    If you have UAC turned off, I believe it's another problem to run with NSudo, this has to be checked.
    When these errors happen you should discard everything... Restart the Laptop and start the procedure again. Always use the tool until you finish the process without using other wim image editing tools at the same time in parallel. If you need to make any manual changes to the mount points, do so and close windows explorer before continuing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. gesla

    gesla MDL Novice

    Nov 2, 2017
    26
    6
    0
    Yes,it is Capture Picker!
    How to restore Capture Picker?
    I try to copy the files to my system, but it doesn't work.
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #24665 inTerActionVRI, Feb 14, 2023
    Last edited: Feb 20, 2023
    @MSMG,

    I think it's interesting to put a section in the main post for newcomers in the thread. A spoiler containing known issues and first precautions to start procedures.

    It is interesting to concentrate this information in a small space.

    1. .NET FrameWork 4.8 or 4.8.1 is prerequisite for properly works Removing Components through ToolkitHelper's list or Menu;
    2. Short Path like C:\MSMG;
    3. No folders with spaces, dots, parentesis or sqare brackets;
    4. No image wim in working progress from another processes at same time like Convert-UUP, W10UI, NTlite, etc;

    1. Disabled UAC may cause NSudo bypass extra TrustedInstaller Elevating Rights process;
    2. Start the "Toolkit.cmd" or "Start.cmd" as admin cause NSudo bypass extra TrustedInstaller Elevating Rights process;
    Then Removing Components through ToolkitHelper's list or Menu will not properly works;
    3. Servicing Builds that are not supported by ToolkitHelper may cause Windows Update failures;
    4. Using Windows Update, allowing installation of CU or LCU, several removed components will return;
    5. Removing the "Windows Setup" Component will break the In-place Update method;
    6. Using the 1st option in Apply Menu for builds from 18362 onwards cause the Ghost SFC error. If you see the error through SFC /SCANNOW command you have fixed the issue. :rolleyes::eek::D:p

    Recommended for monthly update: Disable Windows Update through the Customize Menu and use the In-place Update method. You need to keep the "Windows Setup" Component.
    For those who know how to configure Windows Update to download only security updates, if you want, you can leave Windows Update active. Remnants of these updates remain after a new In-Place Update. But I believe it's just the uninstall information.

    EDIT: Update KNOWN ISSUES spoiler and added a recommendation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    You need to remake the ISO.

    Always test your ISO in VM before putting it into daily use.

    At some point you will be confident. But in the new major changes of Windows Versions you should test. From 19044 to 19045 I had several problems, because I trusted and did not take the test before.

    Sometimes I wonder how changing a number can be so tragic? hehehehehe
    Logically the changes were significant at the beginning and were unstable.

    At the moment the Inplace Update transition from 19044 to 19045 is ok.

    I don't know about the Inplace Update transition from 19044 or 19045 to 22000 or 22621. Anyone who did this recently can tell us something.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Hey @MSMG just wanna tell you that your MSMG Toolkit is genius and great!

    I succeded in debloating unwanted "things" from my win11 22h2 with your toolkit, but somehow the cloud experience host and cbs client appear after installation:

    Microsoft.Windows.CloudExperienceHost
    Microsoft.Windows.Client.CBS

    What are those apps? I thought I've remove the CBS app during removal with your toolkit.

    How to remove those 2 apps?

    Pointing to your post above, would you mind telling me in detail how to remove the Cloud Experience Host on a live system? Using powershell get-appxpackage command, i saw it was an un-removable app.
    Thank you in advance for your kind help, and i wish u all the best.
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,605
    270
    yep and more you before start your job you unblock application? I speak this because myself also make this error...;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I think he wants to know what procedure you used.

    I was also curious.
    I don't understand what kind of lock are you talking about? Permissions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    693
    441
    30
    a question
    How can I associate the image files for the Windows Classic Photo Viewer in Windows 10?
    is there a way?
     
  12. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    81
    80
    0
    #24673 geepnozeex, Feb 16, 2023
    Last edited: Feb 16, 2023
    Code:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jpg]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jpeg]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jpe]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.gif]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.png]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bmp]
    @="PhotoViewer.FileAssoc.Tiff"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ico]
    @="PhotoViewer.FileAssoc.Tiff"
    
    are there commands to remove system apps in a windows image, such as - ContentDeliveryManager?
    in C:\Windows\SystemApps
    I don't need third party software.
     
  13. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    81
    80
    0
    does not work for windows 11
     
  14. roedel

    roedel MDL Junior Member

    Jun 3, 2010
    82
    58
    0
    #24675 roedel, Feb 16, 2023
    Last edited: Feb 16, 2023
    Is there a problem with the integrating of Win32 Calculator respectively the removing of the Calculator App?

    Integration successfully:

    upload_2023-2-16_12-12-35.png

    win32calc.exe is in the image

    upload_2023-2-16_12-22-15.png


    upload_2023-2-16_12-35-41.png

    When I remove the Calculator App with RemovePkgsList.txt the old Calculator is also gone.

    I´ve done it many times like this and it worked for me. But not actually....

    The Calc-Icon is still in the Startmenu, but the win32calc.exe is not there.
     
  15. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    466
    30
    Same thing happening to me with Snipping tool. I remove snipping tool and snip & sketch which I would like to keep is also gone.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. TesterMachineOS

    TesterMachineOS MDL Addicted

    Apr 20, 2021
    693
    441
    30
    Ok, thanks. Have I seen in the MSMG Toolkit some XML with names like: w10_CustomAppsAssociation.xml, is this also useful for associating? since so far I see in that xml file the mention of "Windows Photo Viewer"
     
  17. heller390

    heller390 MDL Novice

    Jun 20, 2020
    21
    1
    0
    You can install the snipping tool from windows store
     
  18. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    183
    185
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. geepnozeex

    geepnozeex MDL Junior Member

    Oct 21, 2014
    81
    80
    0
    or
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CURRENT_USER\Control Panel\Keyboard]
    "PrintScreenKeyForSnippingEnabled"=dword:00000001