Hi Sainfo, No need to clean anything, this command will uninstall the folder and the leftovers in the registry Spoiler "%DISM11%" /english /image:"%InstallMount%" /Remove-Edge or "%DISM11%" /english /image:%~dp0mount /Remove-Edge
Sergey, did I understand you correctly that having deleted the previous code, you need to insert this into the script instead (and did I write it correctly)?
This command didn't actually work. You can use the following comparison dism /scratchdir:temp /image:mount /Remove-Capability /CapabilityName:Media.WindowsMediaPlayer~~~~0.0.12.0
I tested again and now it works. But to be successful, the code had to be placed elsewhere in the script, right after the LCU integration. When searching for edge in the test installed on virtualbox, nothing was found (image attached) Here is the new updated script: 24H2_Integrator5.4.7z password: MDL2024
For clarification: /Remove-Edge - removes both WebView2 and Edge Browser /Remove-EdgeBrowser - removes the Edge Browser only /Remove-EdgeWebView - removes the WebView2 component only Btw, can these commands be used in SlimDown10 script, because DISM11 folder is included there, too? EDIT: Noup, just tested it and it didn't work.
Getting back to the media player. removing the entry from Capabilities still removes the player, does anyone have a link to the wmp11 appx bundle? My other issue the control panel shortcut is not showing for admin & prefer the list view?
Hello, what's wrong with the code? When exporting the image, the command line is closed. Spoiler Code: ECHO ============================================================ ECHO Export Image ECHO ============================================================ "%DISM11%" /english /export-image /sourceimagefile:"%WIM%" /sourceindex:1 /destinationimagefile:"%WimTemp%" REM "%DISM11%" /english /export-image /sourceimagefile:"%WIM%" /sourceindex:2 /destinationimagefile:"%WimTemp%" move /y "%WimTemp%" "%WIM%" >nul for /f "tokens=2" %%a in ('Bin\wimlib-imagex.exe info "%WIM%" ^| find /i "Index:"') do set maxindex=%%a ECHO %maxindex% for /l %%i in (1,1,%maxindex%) do ( "%DISM11%" /english /Get-WimInfo /WimFile:"%WIM%" /index:"%%i" Because of this, I can’t mount the image.
That's it, I figured out the script myself. Now the entire script runs without errors. Thank you for your assistance and understanding.
I have checked it and it is 1.3gb whereas in Windows 10 it is 1gb. We are applying same script in Windows 11 with all the same tweaks like Windows 10 one, but still we are getting more ram usage in Windows 11 as compared to Windows 10. What are we missing here?