[Edit 1] After I posted, I saw that @KedarWolf had already replied. So maybe better to follow his advice. He has a good track record for troubleshooting issues like yours ... --------------------- [Edit 2] I did think of one other possibility . . . You've got '"RegistryTemplates": true," I've had your exact error when I added some of my own personal registry preferences to "Additional Tweaks.reg". FYI "Additional Tweaks.reg" is for very simple "high-level" registry changes. ----------------------------------- I assume the actual source path is: "SourcePath": "D:\\Win10LTSC\\Windows 10 IoT Enterprise LTSC 2021.iso", --------------------------------- I can make a few suggestions, with no guarantees ... My undersatanding is that these settings only apply to W11 or normal W10 so setting them true doesn't benefit W10 LTSC An easy thing to try . . . Code: "Disable3rdPartyApps": false, "W11ClassicInterface": false, "ClassicSearchExplorer": false, "RemoveTaskbarPinnedIcons": false ---------------------------------------- This is more effort, with again no chance of guaranteed successs Use 7zip or the likes to extract install.wim from your ISO then try this config... Code: { "SourcePath": "D:\\Win10LTSC\\install.wim", "WindowsApps": "None", "SystemApps": "Whitelist", "Capabilities": "None", "Packages": "None", "FeaturesToEnable": "None", "FeaturesToDisable": "List", "Services": "None", "DeveloperMode": false, "WindowsStore": false, "MicrosoftEdge": false, "Win32Calc": false, "Dedup": false, "DaRT": [], "Registry": true, "Additional": { "Setup": true, "Wallpaper": false, "SystemLogo": false, "LockScreen": false, "RegistryTemplates": true, "LayoutModification": false, "Unattend": false, "Drivers": false, "NetFx3": false }, "ComponentCleanup": true, "CompressionType": "Maximum", "SelectiveRegistry": { "DisableWindowsUpgrade": false, "DisableWindowsUpdateMicrosoft": false, "DisableDriverUpdate": false, "DormantOneDrive": true, "Disable3rdPartyApps": false, "W11ClassicInterface": false, "ClassicSearchExplorer": false, "RemoveTaskbarPinnedIcons": false } }
I Yeah, it seems like the registry problem. I have some programs that save its settings in registry so I export these files to the registry templates and created an answer file to silent install the apps.
I am beginning to hate Microsoft more and more, we need to find a solution for W11 DISM refusing to remove provisioned apps such as SecHealthUI.
I propose lines 329-331 are removed (or make it as a defaulted False variable in Configuation.json) in /Src/Public/Set-RegistryProperties.ps1. Does anyone use the Reboot to Recovery and does it need to be a permanent context menu item? I always remove these lines when a new version is downloaded. Thanks
A couple of days ago, @liberopensat.. replied to a post I had on the Edge Thread and offered "R*move*Apps". If you look at my reponse at #2910 the link to "R*move*Apps" is in his now deleted original post. (I would post the link directly, but liberopensat...'s post has completely disappeared! Maybe that script or DLL is against the MDL rules?) I scanned the "R*move*Apps" archive for viruses and didn't find anything. Perhaps caution is still advised? The "R*move*Apps" package includes a PowerShell script that uses a "Syst8m.DAt*.SQLite.dll" My reply to liberopensat..'s suggestion was based on the context of Windows 10. However, in the context of Windows 11, maybe this script is the key to the kingdom!?! I don't know if the "Syst8m.DAt*.SQLite.dll" is modified to do what you want. I'm wondering if this script can be tailored to do what you're trying to do? I could be completely wrong, maybe it only does the same as BAU's "FORCE APPX UNINSTALL.bat" but it's an interesting looking script anyway.
You have to write on which host these scripts are used. It is known that there are problems with win11. And in recent entries it is difficult to understand - whether these problems are on the win10 or win11 host. I - do it for win 10 - and hardly ever have problems - with scrypt - sometimes my mistake. I understand - tests for win 11 host - are for the future - and it's worth doing - but you have to sort it out somehow - the last many entries are - MISCLEAR - for ordinary users. I have been using this script for a long time - and I am observing it constantly - but I'm not at the level of those who write the latest posts - and I don't understand any of it. Can these - technical discussions incomprehensible to those who only use this script - be somehow separated - transferred? I have been entering this topic for a long time - because it interests me - and I see new posts - of which I do not understand NOTHING. This topic is no longer user-friendly - it turns into a TECHNICAL discussion. Sorry - but that's what it looks like. Have you noticed that no one - except you - writes on this topic? Maybe they don't understand you? I love this scrypt - but also don't understand anything from recent posts anymore. Sorry if it's a bit incomprehensible - I don't know English - I use google translator.
I understand it mostly, it's about using Windows 11 as a host to run Optimize Offline, some packages like the Defender app cannot be removed, and possible workarounds to fix that. But I don't comment much on it as I haven't found any solutions. I do enjoy the discussion around it though, but if English is not your first language and you use a translater, it can be difficult. Edit: My workaround if I'm using Windows 11, is to run Windows 10 in VMWare, and run the script there, but being a VM, it's slower. You can allocate more processor cores and memory to the VM however, and that helps some
I'm having this problem with the set-additional file particularly. If I apply this file after installing windows, the license activation process would failed and my windows cannot be activated (Without using set-additional.cmd the whole script works fine tho) Code: License Activation (slui.exe) failed with the following error code: hr=0x80072EE7 Command-line arguments: RuleId=31e71c49-8da7-4a2f-ad92-45d98a1c79ba;Action=AutoActivate;AppId=55c92734-d682-4d71-983e-d6ec3f16059f;SkuId=ed655016-a9e8-4434-95d9-4345352c2552;NotificationInterval=1440;Trigger=NetworkAvailable Also, attempts to install any uwp apps afterward would generate this error in event log Code: 0x80072EE7: Cannot create the process for package CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc because an error was encountered while preparing for activation. [LaunchProcess] I tried to break down the ps1 file and run each code line by line but there's no luck, appreciate any help here
For me also what needs to be added in the documentation are 2 things: - Which configuration options are for which operating system - Which scripts are executed while the image is created and which should be executed post-installation. By reading posts here you can make it out but sometimes especially when you are new it is difficult to figure it.
The options for windows 11 have a W11 in their name. They are also documented in the readme. The rest is for both OSes.