Here is the edited script to create Windows 11. Please note that when the ISO is created, the files in the DVD folder will be removed.
Spoiler: Log file =========================================================== This is the original script, where Edge is removed and there are options to enable or disable Store =========================================================== Script used ==> SD11v202_4.8.10.cmd =============================================================================== Unpacking ISO/DVD image: "26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso" to DVD directory... =============================================================================== 7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20 Scanning the drive for archives: 1 file, 4501397504 bytes (4293 MiB) Extracting archive: D:\SD11v202_4.8.10\26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso -- Path = D:\SD11v202_4.8.10\26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso Type = Udf Physical Size = 4501397504 Version = 1.02 Cluster Size = 2048 Sector Size = 2048 Created = 2024-04-02 03:00:00.000000 Modified = 2024-04-02 03:00:00.000000 Comment = { Primary Volumes: PrimaryVolumeDescriptorNumber: 0 VolumeSequenceNumber: 1 VolumeId: UDF Volume VolumeSetId: b48ac000MS UDFBridge ApplicationId: ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partitions: PartitionIndex: 0 PartitionNumber: 2989 ContentsId: +NSR02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT AccessType: Read-Only Size: 4500774912 Pos: 622592 Logical Volumes: Id: CES_X64FREO_EN-US_DV9 BlockSize: 2048 DomainId: *OSTA UDF Compliant::1.02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partition Maps: PartitionMap: 0 Type: 1 VolumeSequenceNumber: 1 PartitionNumber: 2989 File Sets: FileSetNumber: 0 FileSetDescNumber: 0 LogicalVolumeId: CES_X64FREO_EN-US_DV9 Id: CES_X64FREO_EN- CopyrightId: AbstractId: DomainId: *OSTA UDF Compliant::1.02 } Everything is Ok Folders: 87 Files: 960 Size: 4495839613 Compressed: 4501397504 ============================================================ Found the following images in ISO/DVD: ============================================================ ERROR: Syntax error. For '/C' you must enter a value. Deployment Image Servicing and Management tool Version: 10.0.26100.1150 Error: 87 An error occurred while processing the command. Ensure that the command-line arguments are valid. For more information, review the log file. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log ============================================================ Downloading missing Windows 11 24H2 Updates... ============================================================ Done. ============================================================ Mounting image with index 1 Mount directory: D:\SD11v202_4.8.10\mount ============================================================ Deployment Image Servicing and Management tool Version: 10.0.26100.1150 Error: 2 The system cannot find the file specified. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log ============================================================ Mounting install.wim failed! Please run UnmountCleanUp.cmd and try again. ============================================================
Sorry brother it was mistake to report so early, after a reboot it worked fine and now the ram usage is 1.1gb on first boot. I apologize for my quick and unpatient response. Does it also have default right click context menu of Windows 11 too?
In W11Tweaks you will have this. In the W11Tweaks folder run the file "0W11Tweaks.cmd" and it will do all the magic. I'll try to include this in the SD script, but not everything is possible.[/quote]
I think its not necessary as they solely depends upon user preference. Running disable services by abbodi after a clean install is enough. Great work Pro, you have clearly slimmed down windows 11 too. I just need original right click context menu of Windows 10 in this as Windows 11 context menu is s**t. How can I merge or restore or install Windows 10 default or original right click context menu in it?
Replace this attached file in the folder "D:\SD11v202_4.8.10\hotfixes\OEM\config.reg" I added some more settings to improve the Context Menu Try it and see how it looks.
Actually, I do all my assemblies from this image and everything has always been fine. And here I have such a nuisance, okay, I’ll try to download this image, maybe it will help. By the way, a question for you: this image has three editions, so it needs to be processed in this form or leave in the image only one edition I need (IoT LTSC).
This is very good, but it doesn’t ask me anything yet. I was talking with a friend about your script, he has ten installed and this script works for him without problems. I have 24H2 IoT Enterprise LTSC [26100.1742] RU installed, maybe this is the problem?
I also use Windows 10 IoT Enterprise LTSC 2021 as a host and everything works very well here. Maybe it's with 24H2, I don't know... If you have another machine available, give it a test.
Did you take a test? Edit. Here is the Desktop Context Menu with the modifications in config.reg (image attached)
No, I don't have another PC at hand. Therefore, my friend, a thousand kilometers away from me, processed the image 26100.1.240331-1435.ge_release_CLIENT_ENTERPRISES_OEM_x64FRE_en-us.iso with your script on a PC with ten and sent me the resulting image of Windows 11 24H2 IoT Enterprise LTSC x64.iso to the exchanger. Well, I’ll localize it here and “finish it” to suit my preferences. Thank you very much for your efforts in “finishing” this wonderful script! p.s. By the way, any script absolutely doesn’t care what you use it on, Win10 or Win11. It's all about the script code for which it is written. And this code, as you know, can always be changed. Of course, if you know how to do this, I personally don’t know, unfortunately.
Unfortunately, I don't have another PC to try to install Windows 11 and see what happens differently. But I'll keep trying to find out the reason for this error and I'll share any news.
@sainfo If you had downloaded the file above, please download it again, as I found an error and it has been fixed, I hope.