Klemc Posted May 5, 2020 Posted May 5, 2020 (edited) Hello, i'm a French from France, two days ago i started to learn how to unattend an installation of Windows 10, so even is i finished to slipstream "stack and cumulative update" correctly easyly (DISM cmd's), while i try to install ".ISO" with VirtualBox, there is always an error after setup finishes expanding his files. I followed well good tutorials ! After four attempts (by removing packages listed in Unattended.xml to verify wich is causing that, and remaking an iso each time, or searching about "primarysourcefile" threads for FoundationPackage,, but none of this changes let me install without error(s)), also i found that WSIM ads a line with "cip" and it's about "source-file", errors i encountered were often about this, but even if i remove it (no sysprep in my unattend, only simple XML based), error occur : I let you see what's all the stuff i was dreaming to make "Unattended", and it's not a big thing, only the first entry level compared if i had commands, drivers, apps, setup to install, so i won't adventure deeper in WinIO Unattend, PLZ if you find something wrong, i can't understand why always an error : <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="DirectPlay" state="true" /> <selection name="WindowsMediaPlayer" state="false" /> <selection name="NetFx3" state="true" /> <selection name="Printing-XPSServices-Features" state="false" /> <selection name="FaxServicesClientPackage" state="false" /> <selection name="Printing-Foundation-InternetPrinting-Client" state="false" /> <selection name="SearchEngine-Client-Package" state="false" /> <selection name="SmbDirect" state="false" /> <selection name="Windows-Defender-Default-Definitions" state="false" /> <selection name="WorkFolders-Client" state="false" /> <selection name="MSRDC-Infrastructure" state="false" /> <selection name="LegacyComponents" state="true" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Migration-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-MediaPlayer-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-QuickAssist-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-TabletPCMath-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="OpenSSH-Client-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> </servicing> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>fr-FR</UILanguage> </SetupUILanguage> <InputLocale>fr-FR</InputLocale> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UILanguageFallback></UILanguageFallback> <UserLocale>fr-FR</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <Key>*****-*****-*****-*****-*****</Key> <WillShowUI>Never</WillShowUI> </ProductKey> <FullName>Klemc</FullName> <AcceptEula>true</AcceptEula> <Organization>KLM</Organization> </UserData> <EnableFirewall>false</EnableFirewall> <EnableNetwork>false</EnableNetwork> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Embedded-BootExp" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HideBootStatusMessage>1</HideBootStatusMessage> <HideBootStatusIndicator>0</HideBootStatusIndicator> <HideBootLogo>1</HideBootLogo> </component> <component name="Microsoft-Windows-Embedded-EmbeddedLogon" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NoLockScreen>1</NoLockScreen> <HideAutoLogonUI>1</HideAutoLogonUI> <AnimationDisabled>1</AnimationDisabled> <BrandingNeutral>1</BrandingNeutral> </component> <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fAllowFullControl>false</fAllowFullControl> <fAllowToGetHelp>false</fAllowToGetHelp> <fEnableChatControl>false</fEnableChatControl> <MaxTicketExpiry>2</MaxTicketExpiry> </component> </settings> </unattend> Edited May 5, 2020 by Klemc 1
Tripredacus Posted May 5, 2020 Posted May 5, 2020 Corrected title, it is cpi not cip. This line item is only used by WSIM to automatically load a catalog when loading an answer file to be used against the mounted image. It is ignored by Setup and Sysprep. Nearly all of my answer files still retain the Vista Business CLG notation from when I first made an answer file with WSIM way back then. <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows vista business.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> The only reason to remove the offlineImage object is if you need to load your XML into WSIM and the XML was initially built using a different source image or catalog set. If the Catalog path is invalid or correct, WSIM will show an error. See if your XML validates against a stock install.wim without the things you added into it. If you see a fail during Setup, you first have to determine which phase it is. The two phases have existed in Windows Setup for many years, including XP. There is the phase where everything is done from the install media or from the WinPE RAMdisk, and the second phase are things being done from the install disk. Knowing which phase the error occurs is important because you then know where to find the log files. If on the disk phase, the log files will be in c:\windows\panther\ and c:\windows\panther\UnattendGC. Both would have a setupact.log. Note that setuperr.log is typically not helpful. WinPE phase log files: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/deployment-troubleshooting-and-log-files Disk phase log files: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-log-files-and-event-logs 1
Klemc Posted May 5, 2020 Author Posted May 5, 2020 I should put back this line at the end of file justet before </unattended> : <cpi:offlineImage cpi:source="wim:w:/wim1809/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas- OK, only for SIM to load automaticaly all files together. "stock install.wim" = what means stock ? The wim from original DVD not slipstreamed ? Yes it validates. I remember that removing LUA setting from XML because it was the only only entry from the phase (perhaps "offline servicing") setup refered (i removed packages entries before, to verify if it was causing "sourcefiles" erro), removed an error from this phase, why is it impossible to disable LUA by the option from SIM ? Now i just tested this fule XML file from topic, error returned is : Windows n'a pas pu appliquer les paramètres sans assistance aucours de la phase "offlineservicing" GOOGLE TRANSLATE = Windows could not apply the settings [(without assistance) = unattended] during the "offlineservicing" phase I will test while removing phase and report other errors.......
Klemc Posted May 5, 2020 Author Posted May 5, 2020 (edited) There is no setting in this phase, it's strange. EDIT : i have to try w/o unattended XML ! Because keeping foundation package causes offline servicing error phase....... i'm trying with serial key and name only + fr-FR (nothing but !!!!) EDIT2 : specialize subkeys are just about bootexp & EmbeddedLogon Edited May 5, 2020 by Klemc
Klemc Posted May 5, 2020 Author Posted May 5, 2020 (edited) Once i had FoudationPackage, errors appear, i just installed with this settings and it works (from pahase 1) : Serial FullName Lang What goes wrong when i add FoundationPackage (that's where there is all stuff i'd like to configure), why is there this option and it doesn't even work well, i have to find the answer. I activated Framework 3 in FoundationPackage options, perhaps it is this detail ?! I can't see a,ything else. Here is my final though about Unattended XML, i removed all packages and took all settings i need. I'll test install w-o pckg and if works must find how packages options can be accepted by Setup, OOBE settings to add, in final : <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="WindowsMediaPlayer" state="false" /> <selection name="Printing-XPSServices-Features" state="false" /> <selection name="FaxServicesClientPackage" state="false" /> <selection name="Printing-Foundation-InternetPrinting-Client" state="false" /> <selection name="SearchEngine-Client-Package" state="false" /> <selection name="SmbDirect" state="false" /> <selection name="Windows-Defender-Default-Definitions" state="false" /> <selection name="WorkFolders-Client" state="false" /> <selection name="MSRDC-Infrastructure" state="false" /> <selection name="LegacyComponents" state="true" /> <selection name="DirectPlay" state="true" /> <selection name="MediaPlayback" state="false" /> <selection name="NetFx3" state="true" /> <selection name="Printing-PrintToPDFServices-Features" state="false" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Migration-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-MediaPlayer-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-QuickAssist-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-TabletPCMath-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="OpenSSH-Client-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> </servicing> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>fr-FR</UILanguage> </SetupUILanguage> <InputLocale>fr-FR</InputLocale> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UILanguageFallback></UILanguageFallback> <UserLocale>fr-FR</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <Key>*****-*****-*****-*****-*****</Key> <WillShowUI>Never</WillShowUI> </ProductKey> <FullName>Klemc</FullName> <AcceptEula>true</AcceptEula> <Organization>KLM</Organization> </UserData> <EnableFirewall>false</EnableFirewall> <EnableNetwork>false</EnableNetwork> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Embedded-BootExp" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HideBootStatusMessage>1</HideBootStatusMessage> <HideBootStatusIndicator>0</HideBootStatusIndicator> <HideBootLogo>1</HideBootLogo> </component> <component name="Microsoft-Windows-Embedded-EmbeddedLogon" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NoLockScreen>1</NoLockScreen> <HideAutoLogonUI>1</HideAutoLogonUI> <AnimationDisabled>1</AnimationDisabled> <BrandingNeutral>29</BrandingNeutral> <UIVerbosityLevel>1</UIVerbosityLevel> </component> <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fAllowFullControl>false</fAllowFullControl> <fAllowToGetHelp>false</fAllowToGetHelp> <fEnableChatControl>false</fEnableChatControl> <MaxTicketExpiry>2</MaxTicketExpiry> </component> <component name="Microsoft-Windows-TwinUI" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Hide>1</Hide> </component> <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableSR>1</DisableSR> </component> <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CEIPEnabled>0</CEIPEnabled> </component> <component name="Microsoft-Windows-Printing-Spooler-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RemoveMPDW>1</RemoveMPDW> <RemoveMXDW>1</RemoveMXDW> <Start>0</Start> </component> <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAccelerators>true</DisableAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <DisableDevTools>true</DisableDevTools> <DisableOOBAccelerators>true</DisableOOBAccelerators> <FavoritesDelete>true</FavoritesDelete> <FilterLevel>Low</FilterLevel> <FindProvidersURL>about:blank</FindProvidersURL> <Home_Page>about:blank</Home_Page> <Help_Page>about:blank</Help_Page> <IntranetCompatibilityMode>false</IntranetCompatibilityMode> <LockToolbars>true</LockToolbars> <PlaySound>false</PlaySound> <PrivacyAdvisorMode>0</PrivacyAdvisorMode> <SuggestedSitesEnabled>false</SuggestedSitesEnabled> <ShowInformationBar>false</ShowInformationBar> <Window_Title_CN>KLM</Window_Title_CN> <TabProcessGrowth>High</TabProcessGrowth> <BlockPopups>no</BlockPopups> </component> <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CacheLimit>51200</CacheLimit> </component> <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableWER>1</DisableWER> <DefaultConsent>4</DefaultConsent> </component> <component name="Microsoft-Windows-GPIOButtons" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ConvertibleSlateMode>1</ConvertibleSlateMode> </component> <component name="Microsoft-Windows-Fax-Service" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Fax> <ArchiveFaxes>false</ArchiveFaxes> </Fax> <FaxUnattend> <ReceiveFaxes>false</ReceiveFaxes> </FaxUnattend> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EnableLUA>false</EnableLUA> </component> <component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAntiSpyware>true</DisableAntiSpyware> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <OEMAppId>KLM</OEMAppId> </OOBE> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <ConvertibleSlateModePromptPreference>0</ConvertibleSlateModePromptPreference> <SignInMode>1</SignInMode> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-Disk-Failure-Diagnostic-Module" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EnabledScenarioExecutionLevel>1</EnabledScenarioExecutionLevel> </component> </settings> <cpi:offlineImage cpi:source="catalog:w:/wim1809/sources/install_windows 10 pro.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> Edited May 5, 2020 by Klemc
Klemc Posted May 6, 2020 Author Posted May 6, 2020 I installed it and works like a charm, but i'm asked by WindowsSetup for : region keyboard keyboard add name password cortana history All this i want to skip, so i ask where is the setting for all this things. And to finish my Unattended Media i have to find the way to add FoundationPackage without errors, finally i'll remove packages (onedrive.......). PLZ, who knows why if i had FoundationPackage to my unattend, it asks me for source ?! THANKZ
Klemc Posted May 6, 2020 Author Posted May 6, 2020 I think all can be done by DISM removing and sisabling packages and appx, so XML file will work w-o FoundationPackage blocking me witj same setup at the end
Tripredacus Posted May 6, 2020 Posted May 6, 2020 7 hours ago, Klemc said: I installed it and works like a charm, but i'm asked by WindowsSetup for : region keyboard keyboard add name password cortana history Here is an example of an XML that will hide those <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>040c:0000040c</InputLocale> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UserLocale>fr-FR</UserLocale> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> </component> </settings> The input locale is for France. Ref: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-input-locales-for-windows-language-packs
Klemc Posted May 6, 2020 Author Posted May 6, 2020 Oh thanks, i'm on Win 10 right now, thinking that using DISM will give the same result as FoundationPackage from SIM, and more (onedrive.......), Win7 was easier a lot !
Klemc Posted May 6, 2020 Author Posted May 6, 2020 Let's go with DISM features appx & packs, (rem is for referring to this i remove) this must be done for each pack feat appx, can i add "pause afetr each line (because i have make a batch style list all in once) : (TAB is for separate cmd and names, i'll remove it while "in use") Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName: microsoft.devx.appx.app1_1.0.0.0_neutral_en-us_ac4zc6fex2zjp Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName: Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0 Enable-Feature/All Dism /Image:W:\Wimount /Enable-Feature /FeatureName:Calc /PackageName: Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0 Disable-Feature Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Calc /PackageName: Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0 I have one or two questions about some weird things i don't know if it's safe to delete, (this computer comes w-o internet, zero access) : OneCore-ApplicationModel-Sync-Desktop-FOD = WHAT Windows-Client-LanguagePack-Package = does it disable .... WHAT, just the possibility to add/rem langpacks (my WIn is native French, so if unneeded i'll remove it) Windows-FodMetadata = WHAT LanguageFeatures-Basic-fr-fr = BASIC ? (one more) Foundation-Package = like the one from SIM, this gave me load of torments causing errors while configured, and now it's back ! I don't have found the way to use this Package in SIM, after expanding files setup always gives error searching source, I need to fix that (if somebody knows), or perhaps all options available are here and it's superseded !!!!!!! InternetExplorer-Optional-Package = needed for Open-Shell, i use it for startmenu replacement, he needs IE. True ?! I mean for the explorer toolbars extensions, cool utility (v4.1.2 stable actually, 4.1.3 has slowdowns). ******* Printing-Foundation-Features = disables print ???? I keep, or doesn't, i rem. Don't want to kill basic printing, only others service webprint.... NetFx4-AdvSrvs = is that "just" .Net4 base ? There is a lot .Net things (OC-US etc), i need net4, add net3, but don't need adv. features or server web extensions, i need help. WCF-Services45 = WHAT net thing is it ? Optionnal web share.... or core function ?? WCF-TCP-PortSharing45 = "" NetFx3 = YES, i need it, (with act /all switch i know) It's much complicated by there : https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management--dism Soirry to ask help, it's perhaps because of it that foundationPackage returned source error when i activated it in SIM. I have to check, also i really need it, help me well whit this-one. Microsoft-Windows-NetFx3-OC-Package = core or removable w-o loosing basic fonction ? Microsoft-Windows-NetFx4-US-OC-Package = = core or removable w-o loosing basic fonction ? Microsoft-Windows-Client-EmbeddedExp-Package =? = WHAT Microsoft-Windows-NetFx3-WCF-OC-Package = = core or removable w-o loosing basic fonction ? Microsoft-Windows-NetFx4-WCF-US-OC-Package = = core or removable w-o loosing basic fonction ? ******* I keep PAINT, where is Onedrive ? I want to disable it. THANKS A LOTT PACK rem Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~fr-FR~10.0.17763.1 Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.17763.1 Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.17763.1 rem OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.2344 Package_for_KB4470788~31bf3856ad364e35~amd64~~17763.164.1.1 Package_for_KB4489907~31bf3856ad364e35~amd64~~10.0.1.0 Package_for_KB4549947~31bf3856ad364e35~amd64~~17763.1150.1.0 Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1158.1.8 Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.379.1.11 FEAT rem Printing-PrintToPDFServices-Features rem Windows-Defender-Default-Definitions rem Printing-XPSServices-Features rem SearchEngine-Client-Package rem MSRDC-Infrastructure rem WorkFolders-Client act (all) LegacyComponents DirectPlay Printing-Foundation-Features rem FaxServicesClientPackage rem Printing-Foundation-InternetPrinting-Client NetFx4-AdvSrvs rem? WCF-Services45 rem? WCF-TCP-PortSharing45 act (all) NetFx3 rem MediaPlayback WindowsMediaPlayer Microsoft-Windows-NetFx3-OC-Package Microsoft-Windows-NetFx4-US-OC-Package Microsoft-Windows-Client-EmbeddedExp-Package =? Microsoft-Windows-NetFx3-WCF-OC-Package Microsoft-Windows-NetFx4-WCF-US-OC-Package rem SmbDirect APPX rem Microsoft.BingWeather_4.25.12127.0_neutral_~_8wekyb3d8bbwe rem Microsoft.DesktopAppInstaller_2018.720.2137.0_neutral_~_8wekyb3d8bbwe rem Microsoft.GetHelp_10.1706.10441.0_neutral_~_8wekyb3d8bbwe rem Microsoft.Getstarted_6.13.11581.0_neutral_~_8wekyb3d8bbwe rem Microsoft.HEIFImageExtension_1.0.11792.0_x64__8wekyb3d8bbwe rem Microsoft.Messaging_2018.727.1430.0_neutral_~_8wekyb3d8bbwe rem Microsoft.Microsoft3DViewer_4.1808.15012.0_neutral_~_8wekyb3d8bbwe rem Microsoft.MicrosoftOfficeHub_2017.1219.520.0_neutral_~_8wekyb3d8bbwe rem Microsoft.MicrosoftSolitaireCollection_4.1.5252.0_neutral_~_8wekyb3d8bbwe rem Microsoft.MicrosoftStickyNotes_2.0.13.0_neutral_~_8wekyb3d8bbwe rem Microsoft.MixedReality.Portal_2000.18081.1242.0_neutral_~_8wekyb3d8bbwe rem Microsoft.Office.OneNote_16001.10228.20003.0_neutral_~_8wekyb3d8bbwe rem Microsoft.OneConnect_5.1807.1991.0_neutral_~_8wekyb3d8bbwe rem Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe rem Microsoft.Print3D_3.0.1521.0_neutral_~_8wekyb3d8bbwe rem Microsoft.ScreenSketch_2018.731.48.0_neutral_~_8wekyb3d8bbwe rem Microsoft.SkypeApp_14.26.95.0_neutral_~_kzf8qxf38zg5c rem Microsoft.StorePurchaseApp_11805.1001.813.0_neutral_~_8wekyb3d8bbwe rem Microsoft.VP9VideoExtensions_1.0.12342.0_x64__8wekyb3d8bbwe rem Microsoft.Wallet_2.2.18179.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WebMediaExtensions_1.0.12341.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WebpImageExtension_1.0.11551.0_x64__8wekyb3d8bbwe rem Microsoft.Windows.Photos_2018.18051.21218.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsCamera_2018.425.120.0_neutral_~_8wekyb3d8bbwe rem microsoft.windowscommunicationsapps_2015.9330.21365.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsFeedbackHub_2018.822.2.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsMaps_2018.523.2143.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsSoundRecorder_2018.713.2154.0_neutral_~_8wekyb3d8bbwe rem Microsoft.WindowsStore_11805.1001.4913.0_neutral_~_8wekyb3d8bbwe rem Microsoft.Xbox.TCUI_1.11.28003.0_neutral_~_8wekyb3d8bbwe rem Microsoft.XboxApp_41.41.18001.0_neutral_~_8wekyb3d8bbwe rem Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe rem Microsoft.XboxGamingOverlay_2.20.22001.0_neutral_~_8wekyb3d8bbwe rem Microsoft.XboxIdentityProvider_12.44.20001.0_neutral_~_8wekyb3d8bbwe rem Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe rem Microsoft.YourPhone_2018.727.2137.0_neutral_~_8wekyb3d8bbwe rem Microsoft.ZuneMusic_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe rem Microsoft.ZuneVideo_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe
Klemc Posted May 6, 2020 Author Posted May 6, 2020 (edited) 3 days before i become older by one year, and i made to myself a Gift, so i need to be raedy with my Windows 10 unattended to install it on az fresh computer, HLP PLZ. ;p I have to packages names for Features , all sound sgood ? Also at the end i put what i don't know what it is and if if i can/could disable/remove it : Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-XPSServices-Features /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SearchEngine-Client-Package /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MSRDC-Infrastructure /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WorkFolders-Client /PackageName: * Dism /Image:W:\Wimount /Enable-Feature /FeatureName:LegacyComponents /PackageName: Dism /Image:W:\Wimount /Enable-Feature /FeatureName:DirectPlay /PackageName: * Dism /Image:W:\Wimount /Disable-Feature /FeatureName:FaxServicesClientPackage /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /PackageName: * Dism /Image:W:\Wimount /Enable-Feature /FeatureName:NetFx3 /All /PackageName: * Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MediaPlayback /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WindowsMediaPlayer /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MediaPlayback /PackageName: Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SmbDirect /PackageName: Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.12127.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2018.720.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.10441.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_6.13.11581.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.11792.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_2018.727.1430.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_4.1808.15012.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2017.1219.520.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.1.5252.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_2.0.13.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.18081.1242.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.10228.20003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.OneConnect_5.1807.1991.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Print3D_3.0.1521.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2018.731.48.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.26.95.0_neutral_~_kzf8qxf38zg5c Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11805.1001.813.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.12342.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.2.18179.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.12341.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.11551.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2018.18051.21218.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.425.120.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.9330.21365.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2018.822.2.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2018.523.2143.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2018.713.2154.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11805.1001.4913.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.11.28003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_41.41.18001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.20.22001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.44.20001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2018.727.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.17763.1 = SYNC MAIL I REM IT Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~fr-FR~10.0.17763.1 Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.17763.1 Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Package_for_DotNetRollup~31bf3856ad364e35~amd64~~10.0.1.2344 Package_for_KB4470788~31bf3856ad364e35~amd64~~17763.164.1.1 Package_for_KB4489907~31bf3856ad364e35~amd64~~10.0.1.0 Package_for_KB4549947~31bf3856ad364e35~amd64~~17763.1150.1.0 Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.1158.1.8 Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.379.1.11 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Calc /PackageName: Printing-Foundation-Features NetFx4-AdvSrvs WCF-Services45 WCF-TCP-PortSharing45 Microsoft-Windows-NetFx3-OC-Package Microsoft-Windows-NetFx4-US-OC-Package Microsoft-Windows-Client-EmbeddedExp-Package =? Microsoft-Windows-NetFx3-WCF-OC-Package Microsoft-Windows-NetFx4-WCF-US-OC-Package Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:........................................................................................................................ Edited May 6, 2020 by Klemc
Klemc Posted May 6, 2020 Author Posted May 6, 2020 (edited) Can ido that ? : /disable-feature /remove Adding remove delete the files ? Better than deactivate it ! ALSO = feature package name must ne always FaoundationPackagevxxxx... !!?? No need to put it each line, perhaps the name is suficient ! What is better, Dism /Image:W:\Wimount /Enable-Feature /FeatureName:LegacyComponents /PackageName: Dism /Image:W:\Wimount /Enable-Feature /FeatureName:DirectPlay /PackageName: or Dism /Image:W:\Wimount /Enable-Feature /FeatureName:DirectPlay /All /PackageName: Package name, i'm not sure i need it. or must be FoundationPackage each time....... IU didn't find a way to batch, so i do it 1by1 (it's also a little software to play tracks, brother of mp3DirectCut, have a try to this last 2000 2020) Edited May 6, 2020 by Klemc
Klemc Posted May 6, 2020 Author Posted May 6, 2020 (edited) My last words : <cpi:offlineImage cpi:source="wim:w:/wim1809/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas- Copy the contents of the ISO to a folder. Let’s say, D:\Wim1809 Dism /Get-ImageInfo /ImageFile:"W:\Wim1809\sources\install.wim" DISM /mount-wim /wimfile:"W:\Wim1809\sources\install.wim" /index:6 /mountdir:"W:\Wimount" Dism /Add-Package /Image:"W:\Wimount" /PackagePath="W:\UPDA\Update.msu" /LogPath="W:\log" MULTI= Dism /Add-Package /Image:"W:\Wimount" /PackagePath="W:\UPDA\Stack.msu" /PackagePath="W:\UPDA\SecUpd.msu" /LogPath="W:\log" Dism /Get-Packages /image:W:\Wimount Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~fr-FR~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-XPSServices-Features /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SearchEngine-Client-Package /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MSRDC-Infrastructure /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WorkFolders-Client /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 * Dism /Image:W:\Wimount /Enable-Feature /FeatureName:LegacyComponents /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 (/All) Dism /Image:W:\Wimount /Enable-Feature /FeatureName:DirectPlay /All /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 * Dism /Image:W:\Wimount /Disable-Feature /FeatureName:FaxServicesClientPackage /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 * ++source folder++ Dism /Image:W:\Wimount /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs * Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Microsoft-Windows-Client-EmbeddedExp-Package Dism /Image:W:\Wimount /Disable-Feature /FeatureName:FaxServicesClientPackage /PackageName:Microsoft-Windows-Client-EmbeddedExp-Package Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MediaPlayback /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 ERROR(package remove ?) Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WindowsMediaPlayer /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SmbDirect /PackageName:Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.12127.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2018.720.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.10441.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_6.13.11581.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.11792.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_2018.727.1430.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_4.1808.15012.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2017.1219.520.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.1.5252.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_2.0.13.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.18081.1242.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.10228.20003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.OneConnect_5.1807.1991.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Print3D_3.0.1521.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2018.731.48.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.26.95.0_neutral_~_kzf8qxf38zg5c Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11805.1001.813.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.12342.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.2.18179.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.12341.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.11551.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2018.18051.21218.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.425.120.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.9330.21365.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2018.822.2.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2018.523.2143.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2018.713.2154.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11805.1001.4913.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.11.28003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_41.41.18001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.20.22001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.44.20001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2018.727.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Analyze the size of the component store Dism /Image:C:\test\offline /Cleanup-Image /AnalyzeComponentStore If the component store cleanup was recommended in the displayed report, then you can start cleanup of the imag Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup You can reduce the size of the component store further by adding the /ResetBase parameter. Dism /Image:C:\test\offline /Cleanup-Image /StartComponentCleanup /ResetBase dism.exe /Unmount-wim /mountdir:"W:\Wim1809\sources\install.wim" /commit CCCOMA_X64FRE UEFI Oscdimg.exe -b”W:\CCCOMA_X64FRE\efi\microsoft\boot\efisys.bin” -pEF -m -o -u2 -udfver102 W:\CCCOMA_X64FRE "Y:\Windows 10 1809V2 X64 -uefi".iso BIOS Oscdimg.exe -bW:\CCCOMA_X64FRE\boot\etfsboot.com -p00 -m -o -u2 -udfver102 W:\CCCOMA_X64FRE "X:\Windows 10 1809V2 X64 -bios".iso BIOS+UEFI Oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,b”W:\CCCOMA_X64FRE_EN-US_DV9\boot\etfsboot.com”#pEF,e,b”W:\CCCOMA_X64FRE_EN-US_DV9\efi\microsoft\boot\efisys.bin” W:\CCCOMA_X64FRE_EN-US_DV9 W:\Win10_1803_English_x64_Auto_BIOS-UEFI.iso Quote <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="WindowsMediaPlayer" state="false" /> <selection name="Printing-XPSServices-Features" state="false" /> <selection name="FaxServicesClientPackage" state="false" /> <selection name="Printing-Foundation-InternetPrinting-Client" state="false" /> <selection name="SearchEngine-Client-Package" state="false" /> <selection name="SmbDirect" state="false" /> <selection name="Windows-Defender-Default-Definitions" state="false" /> <selection name="WorkFolders-Client" state="false" /> <selection name="MSRDC-Infrastructure" state="false" /> <selection name="LegacyComponents" state="true" /> <selection name="DirectPlay" state="true" /> <selection name="MediaPlayback" state="false" /> <selection name="NetFx3" state="true" /> <selection name="Printing-PrintToPDFServices-Features" state="false" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Migration-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-Hello-Face-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-MediaPlayer-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-QuickAssist-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="Microsoft-Windows-TabletPCMath-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> <package action="remove"> <assemblyIdentity name="OpenSSH-Client-Package" version="10.0.17763.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> </package> </servicing> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>fr-FR</UILanguage> </SetupUILanguage> <InputLocale>fr-FR</InputLocale> <SystemLocale>fr-FR</SystemLocale> <UILanguage>fr-FR</UILanguage> <UILanguageFallback></UILanguageFallback> <UserLocale>fr-FR</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserData> <ProductKey> <Key>*****-*****-*****-*****-*****</Key> <WillShowUI>Never</WillShowUI> </ProductKey> <FullName>Klemc</FullName> <AcceptEula>true</AcceptEula> <Organization>KLM</Organization> </UserData> <EnableFirewall>false</EnableFirewall> <EnableNetwork>false</EnableNetwork> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Embedded-BootExp" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HideBootStatusMessage>1</HideBootStatusMessage> <HideBootStatusIndicator>0</HideBootStatusIndicator> <HideBootLogo>1</HideBootLogo> </component> <component name="Microsoft-Windows-Embedded-EmbeddedLogon" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <NoLockScreen>1</NoLockScreen> <HideAutoLogonUI>1</HideAutoLogonUI> <AnimationDisabled>1</AnimationDisabled> <BrandingNeutral>29</BrandingNeutral> <UIVerbosityLevel>1</UIVerbosityLevel> </component> <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fAllowFullControl>false</fAllowFullControl> <fAllowToGetHelp>false</fAllowToGetHelp> <fEnableChatControl>false</fEnableChatControl> <MaxTicketExpiry>2</MaxTicketExpiry> </component> <component name="Microsoft-Windows-TwinUI" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Hide>1</Hide> </component> <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableSR>1</DisableSR> </component> <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CEIPEnabled>0</CEIPEnabled> </component> <component name="Microsoft-Windows-Printing-Spooler-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RemoveMPDW>1</RemoveMPDW> <RemoveMXDW>1</RemoveMXDW> <Start>0</Start> </component> <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAccelerators>true</DisableAccelerators> <DisableFirstRunWizard>true</DisableFirstRunWizard> <DisableDevTools>true</DisableDevTools> <DisableOOBAccelerators>true</DisableOOBAccelerators> <FavoritesDelete>true</FavoritesDelete> <FilterLevel>Low</FilterLevel> <FindProvidersURL>about:blank</FindProvidersURL> <Home_Page>about:blank</Home_Page> <Help_Page>about:blank</Help_Page> <IntranetCompatibilityMode>false</IntranetCompatibilityMode> <LockToolbars>true</LockToolbars> <PlaySound>false</PlaySound> <PrivacyAdvisorMode>0</PrivacyAdvisorMode> <SuggestedSitesEnabled>false</SuggestedSitesEnabled> <ShowInformationBar>false</ShowInformationBar> <Window_Title_CN>KLM</Window_Title_CN> <TabProcessGrowth>High</TabProcessGrowth> <BlockPopups>no</BlockPopups> </component> <component name="Microsoft-Windows-IE-ClientNetworkProtocolImplementation" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CacheLimit>51200</CacheLimit> </component> <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableWER>1</DisableWER> <DefaultConsent>4</DefaultConsent> </component> <component name="Microsoft-Windows-GPIOButtons" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ConvertibleSlateMode>1</ConvertibleSlateMode> </component> <component name="Microsoft-Windows-Fax-Service" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Fax> <ArchiveFaxes>false</ArchiveFaxes> </Fax> <FaxUnattend> <ReceiveFaxes>false</ReceiveFaxes> </FaxUnattend> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EnableLUA>false</EnableLUA> </component> <component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAntiSpyware>true</DisableAntiSpyware> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <OEMAppId></OEMAppId> <HideEULAPage>true</HideEULAPage> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> </OOBE> <ConvertibleSlateModePromptPreference>0</ConvertibleSlateModePromptPreference> <SignInMode>1</SignInMode> </component> </settings> <settings pass="generalize"> <component name="Microsoft-Windows-Disk-Failure-Diagnostic-Module" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <EnabledScenarioExecutionLevel>1</EnabledScenarioExecutionLevel> </component> </settings> </unattend> Edited May 7, 2020 by Klemc
Tripredacus Posted May 7, 2020 Posted May 7, 2020 What I get from here: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-8.1-and-8/hh825129(v=win.10)?redirectedfrom=MSDN Is that the enable/disable of optional packages inside of the Foundation Package must be done with an /apply-unattend, and that branch should be in Offline Servicing and not just Servicing branch. The image must then be installed using Setup, using your XML that does not have the offlineservicing object in it. Onedrive can be uninstalled, I usually do it with first run commands. Here is the cmd: c:\windows\syswow64\OneDriveSetup.exe /Uninstall
Klemc Posted May 7, 2020 Author Posted May 7, 2020 (edited) 3 hours ago, Tripredacus said: The image must then be installed us Okay, i'll explain and thanks, all i've found is good, must use Dism++ to export mounted folder as .win because if Dsim removeves pack feat appx /commit is nomore possible. I added some 2 or 3 things to the list of pack & feat, always the same probleme with oobe, questions about region keyb-2 history, i'll fixit. I'l try to add the OneDrv cmd, thanks. 3 hours ago, Tripredacus said: drive can be uninstalled, I usually do it with firs I don't really understand tehe /switch : /apply-unattend - has to be added each line for the "features" removal type packages ?(i removes packagename FoundationPachagexxxxxxxxxxxx that is uselesss.) EDIT = the good order to not have "any" error is Quote Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~fr-FR~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WindowsMediaPlayer Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MediaPlayback Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /LogPath:W:\RemovePackage.log /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.17763.1 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-XPSServices-Features Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SearchEngine-Client-Package Dism /Image:W:\Wimount /Disable-Feature /FeatureName:MSRDC-Infrastructure Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WorkFolders-Client Dism /Image:W:\Wimount /Enable-Feature /FeatureName:LegacyComponents Dism /Image:W:\Wimount /Enable-Feature /FeatureName:DirectPlay Dism /Image:W:\Wimount /Enable-Feature /FeatureName:Printing-Foundation-Features Dism /Image:W:\Wimount /Disable-Feature /FeatureName:FaxServicesClientPackage Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client Dism /Image:W:\Wimount /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs Dism /Image:W:\Wimount /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 Dism /Image:W:\Wimount /Disable-Feature /FeatureName:Microsoft-Windows-Client-EmbeddedExp-Package Dism /Image:W:\Wimount /Disable-Feature /FeatureName:FaxServicesClientPackage Dism /Image:W:\Wimount /Disable-Feature /FeatureName:SmbDirect Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.12127.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2018.720.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.10441.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_6.13.11581.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.11792.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Messaging_2018.727.1430.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_4.1808.15012.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2017.1219.520.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.1.5252.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_2.0.13.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.18081.1242.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.10228.20003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.OneConnect_5.1807.1991.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2018.516.2011.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Print3D_3.0.1521.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2018.731.48.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.26.95.0_neutral_~_kzf8qxf38zg5c Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11805.1001.813.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.12342.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.2.18179.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.12341.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.11551.0_x64__8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2018.18051.21218.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2018.516.2059.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.425.120.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2015.9330.21365.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2018.822.2.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2018.523.2143.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2018.713.2154.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11805.1001.4913.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.11.28003.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_41.41.18001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.20.22001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.44.20001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2018.727.2137.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Dism /Image:W:\Wimount /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.18052.20211.0_neutral_~_8wekyb3d8bbwe Edited May 7, 2020 by Klemc
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now