Possibly not the place to ask, have the win 11 image stripped down pretty well with OO 4.0.1.8, though how to be rid of the pesky widget thing?
These are not necessary tho. The issue isnt about the ISO language but your current windows display language. I used the script for turkish ISO without any changes.
Yes, you can run the script without changing those but a bunch of things that the script does and applies to the ISO are not done, so really you're not using the script to its full potential.
I am modifying the script to support W11, but removing Microsoft.SecHealthUI results in an error?? However someone reported that it works.
I didnt know that. Do you have a list of what exactly I am missing as I didnt use an en-us iso? I never said anything that would sound like that.
Somebody must read person suggestions but not suggesting that this must be that or that must be this. Pl read a suggestion properly then ask questions but dont suggest if somebody is not sure of something as its results. I Repeat Again Kedarworld has a Vast Experience in this project n he can sort out things at user end or the developer himself.
Windows 11 is not officially supported by Optimize-Offline [Build 4.0.1.8 (06-22-2021)]. So anything anyone reports, including myself, is based on a limited level of personal investigation. As reported by me in my prior post, for W11, Microsoft.SecHealthUI (Defender) has shifted it's "home." It used to live with other System Apps. The official Optimize-Offline script expects it to still live at this old address. However, Microsoft.SecHealthUI, has packed-up and moved to a new address. It now lives with the Microsoft "metro" Apps. Having had a chance to play around with Windows 11, I'm pretty confidant that the guidance I provided in my prior post is correct. I will edit post #807 to clarify my suggested changes and clean-up the code changes needed to help the official Optimize-Offline.psm1 script properly remove Microsoft.SecHealthUI (Defender).
I got the script to run on Windows 11, but even with your changes in post #807 I get an error message when removing Microsoft.SecHealthUI saying Fail To Remove and script exits.
You are absolutely correct because of non removable state set for sechealthui as well as desktop app installer in metro apps.
I see. I've done all my optimize script runs on a Windows 10 device. Do you have a virtual machine with Windows 10 on it that you can use? In any event, thanks for the possible warning about Windows 11. I'll run the script on a Windows 11 device and let you know how it goes.
Brother you are again very very correct . Agreed totaly with you. I tested this on the very first day 21996.x is leaked but on 1904x.xxxx it worked like a charm. same happened on 22000.xx. Hats off to you for your accurate thesis on this
I've never used VMWare before, I can share my PC D drive but no amount of Googling will allow me to run PowerShell in the share drive in network or copy and paste in a folder on the main C: drive in VMWare, the C drive gives me permission errors and no way to CD to the network drive in PowerShell.