Windows 11. In the Start menu -> All apps, after optimization with NTLITE, the item "Get Started" appears which I would like to delete.
Does anyone know if it is possible with NTLIte (maybe I skipped a few items ...) to disable it or if it needs a script or if it needs to disable some service (and if so: which one) or it cannot be done...
My first reaction was to confirm if running SFC would break the workaround, since AppxManifest.xml is signed. SFC finds corruption, but is unable to restore the old manifest.
2021-11-14 22:15:43, Info CSI 00000161 Hashes for file member [l:16]'AppxManifest.xml' do not match.
2021-11-14 22:15:43, Info CSI 00000162 Hashes for file member [l:16]'AppxManifest.xml' do not match.
2021-11-14 22:15:43, Info CSI 00000163 [SR] Could not reproject corrupted file \??\C:\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\\AppxManifest.xml; source file in store is also corrupted
Skip the next part if you don't care about clean up.
To fix the SFC problem, we need to copy over the original AppxManifest.xml during the specialize pass or Post-setup. This time, start over with the untouched image and make a backup copy, keeping the right permissions.
This trick shows we can tamper with AppxManifest on other pre-installed packages, to block user provisioning of specific apps.
NTLite should have no problem making this fix, as the target XML is easily isolated. nuhi?
This trick shows we can tamper with AppxManifest on other pre-installed packages, to block user provisioning of specific apps.
NTLite should have no problem making this fix, as the target XML is easily isolated. nuhi?
Hi i did this to notepad and paint before. but they both failed to open after i did appmanifest.xml edit. can u test paint and notepad and confirm this? because i confirmed the other way around. this trick does not worked for them.
For Paint Open
C:\Program Files\WindowsApps\Microsoft.Paint_11.2110.0.0_x64__8wekyb3d8bbwe\AppxManifest.xml
For Notepad Open
C:\Program Files\WindowsApps\Microsoft.WindowsNotepad_10.2103.7.0_x64__8wekyb3d8bbwe\AppxManifest.xml And remove the line starting with
<uap:FileType uap4:ShellNewFileName=
-
btw i tell you better way instead of exploring mounted content and altering the permissions. copy that file to desktop. do edits. after finishing ntlite process. just open "install.wim" with 7-zip. and change the file via 7-zip.
also in source u give, he says i couldn't remove the icon. but i did remove the app... so u say icon is also removed?
it was to achieve this (remove both from new context menu), and keep the functionality of notepad and paint. i achieved looks, but not functionality.
this makes me think other processes of cbs is going to fail. if you tamper with that file. for that i need you to also test paint and notepad.
Note: maybe the reason i failed is: "just open "install.wim" with 7-zip. and change the file via 7-zip." but we can't know without test. do it your way so we understand. i can't restore permissions or edit a file inside that folder.....
Paint and Notepad are FOD apps, you would need to pull them off the Languages and Optional Features ISO. Which is 7.1 GB.
I will look around in the morning.
Starting from the ISO that had "Get Started", already optimized with NTLITE as per the initial post
------------------------------------------------ Windows 11. In the Start menu -> All apps, after optimization with NTLITE, the item "Get Started" appears which I would like to delete.
Does anyone know if it is possible with NTLIte (maybe I skipped a few items ...) to disable it or if it needs a script or if it needs to disable some service (and if so: which one) or it cannot be done...
--------------------------------------------------------------- Starting from Garlin's suggestions
-------------------------------------------------------------- Remove this block of text from Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy\AppxManifest.xml
Code:
#669 <Application Id="WebExperienceHost" Executable="WebExperienceHostApp.exe" EntryPoint="WebExperienceHostApp.App">
#670 <uap:VisualElements DisplayName="ms-resource:WebExperienceHostAppName/Text" Square150x150Logo="Assets\GetStartedMedTile.png" Square44x44Logo="Assets\GetStartedAppList.png" Description="ms-resource:WebExperienceHostDescription" BackgroundColor="transparent">
--- more lines ---
#761 </uap:ApplicationContentUriRules>
#762 </Application>
-------------------------------------------------------------- I also had difficulty with permissions
------------------------------------------------------------- [i can't restore permissions or edit a file inside that folder.....]
------------------------------------------------------------- I followed Crypticus' suggestions
------------------------------------------------------------ btw i tell you better way instead of exploring mounted content and altering the permissions. copy that file to desktop. do edits. after finishing ntlite process. just open "install.wim" with 7-zip. and change the file via 7-zip.
------------------------------------------------------------ I worked like this:
1) extract install.wim from the NTLITE ISO
2) extracted and modified the file Windows \ SystemApps \ MicrosoftWindows.Client.CBS_cw5n1h2txyewy \ AppxManifest.xml (deleted lines 669 to 762.
3) saved the AppxManifest.xml file
4) inserted the modified file in install.wim and "saved" with 7ZIP
5) inserted in the ISO the new (modified) install.wim file (with the modified AppxManifest.xml)
6) saved the modified ISO
7) installed with this Windows 11 ISO
The result was that "Get Started" disappeared.
Snap10.png
Sooo 7-zip method works and much easier. if you remove something completely. but as i said before if u edit something and try to run it. like i did for paint and notepad. i don't think it will work...
btw you can just edit install.wim before creating iso.
a question for u clarensio, did u remove contentdeliverycomponent? because u have no apps? if not what did u do.
a question for all inluding garlin and nuhi i'm suspicious about other functionalities of CBS. please someone test if cbs is working or not.
no then I didn't understand ... those files are the same ones that generated the iso ... (forgive me but I don't speak English well ... I use the translator where I don't arrive)
Removing ShellNew from Paint & Notepad's manifest does work for a while, using the same process. Except after Store updated my apps, and installed a newer package with unmodified AppxManifest.
Of course, you can block app updates. What about modding it? That's even worse.
It is possible to unpack UWP application (appxbundle and appx) files. You can assume these application files as simple zip files. We can extract it using software like 7zip. But if we extract the application and modify the content of the files, for example updating AppxManifest.xml file, compress it again to .appx file extension, it will not be considered as a valid package. The following error will be thrown when you try to install the modified package on the device using device portal or power shell.
Failure reason: Failed to start deployment. Failure text: Package could not be opened.
(0x80073cf0)
To avoid this error, you should use Microsoft’s official tool App packager (MakeAppx.exe) for Unpacking and Repacking existing UWP application.
Run Windows Update. That's primary function that breaks when users remove Client.CBS.
The skipped block only includes WebExperienceHost (Get Started), which is different from Client.WebExperience (News & Feeds).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.