Log of Script Using Win10 20H2 ISO as Source Downloaded Today Using Techbench Dump Link by @Enthousiast : Code: ***************************************************************** * Get Admin Privileges ***************************************************************** ***************************************************************** * Win10 ISO Debloater Script : Version 1.1 : * * (c) 2020 by Mydigitallife Member * * This Project Works Only on 64Bit Host OS * ***************************************************************** Debloater Script : Version 1.1 : Started at 21-Oct-20 0:01:20.86 ***************************************************************** --- Extracting ISO to Script Path and Creating Mount Directory ***************************************************************** Microsoft (R) File Expansion Utility Copyright (c) Microsoft Corporation. All rights reserved. Adding .\Project\7z.dll to Extraction Queue Adding .\Project\7z.exe to Extraction Queue Adding .\Project\oscdimg.exe to Extraction Queue Adding .\Project\SetACL.exe to Extraction Queue Adding .\Project\tweaker.exe to Extraction Queue Expanding Files .... Expanding Files Complete ... 5 files total. 7-Zip 20.02 alpha (x64) : Copyright (c) 1999-2020 Igor Pavlov : 2020-08-08 Scanning the drive for archives: 1 file, 6155782144 bytes (5871 MiB) Extracting archive: Win10_Education_20H2_EN-US_x64.iso -- Path = Win10_Education_20H2_EN-US_x64.iso Type = Udf Physical Size = 6155782144 Comment = CCCOMA_X64FRE_EN-US_DV9 Cluster Size = 2048 Created = 2020-09-28 05:30:00 Everything is Ok Folders: 84 Files: 900 Size: 6150369395 Compressed: 6155782144 ***************************************************************** ***************************************************************** --- Export Windows 10 Single Index of Your Choice to Script Path ***************************************************************** Wim Image contain following 11 indexes : [1] Windows 10 Home [2] Windows 10 Home N [3] Windows 10 Home Single Language [4] Windows 10 Education [5] Windows 10 Education N [6] Windows 10 Pro [7] Windows 10 Pro N [8] Windows 10 Pro Education [9] Windows 10 Pro Education N [10] Windows 10 Pro for Workstations [11] Windows 10 Pro N for Workstations Select Single Image Index Number You Want to Export and Debloat :4 Deployment Image Servicing and Management tool Version: 10.0.19041.450 Exporting image [==========================100.0%==========================] The operation completed successfully. ***************************************************************** ***************************************************************** --- Moving Back Exported WIM Image to its Source Path ***************************************************************** 1 file(s) moved. ***************************************************************** ***************************************************************** --- Mounting Selected Windows 10 WIM image to Mount Directory ***************************************************************** Path : Mount Online : False RestartNeeded : False ***************************************************************** ***************************************************************** --- Select and Remove Windows Apps ***************************************************************** Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False ***************************************************************** ***************************************************************** --- Select and Remove System Apps ***************************************************************** [SystemApps SaFe For Removal] FileExplorer FilePicker AddSuggestionFoldersToLibraryDialog AADBrokerPlugin BioEnrollment ECApp LockApp EdgeDevToolsClient Edge Win32WebViewHost AppRep.ChxApp AssignedAccessLockApp CallingShellApp CapturePicker ContentDeliveryManager ParentalControls PeopleExperienceHost XboxGameCallableUI XgpuEjectDialog CbsPreview The operation completed successfully. Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications> SetACL finished successfully. Processing ACL of: <machine\OfflineSOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications> SetACL finished successfully. The operation completed successfully. ***************************************************************** ***************************************************************** --- Select and Disable UnNeeded Windows Features ***************************************************************** Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False ***************************************************************** ***************************************************************** --- Select and Remove UnNeeded Windows Capabilities and Windows Packages ***************************************************************** Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False Path : Mount Online : False RestartNeeded : False ***************************************************************** ***************************************************************** --- Remove OneDrive ***************************************************************** --- Removing OneDrive Package ------------------------------------------- --------Registry Tweak Tool v1.4.7.0------- ---------------for Windows 6.x------------- ---------Created by Michal Wnuowski-------- -----Concept by Aviv00@msfn / lite8@MDL---- -----------Modified by Legolash2o---------- ------------------------------------------- MountPath : "Mount" Component : "Microsoft-Windows-OneDrive" ------------------Starting----------------- Creating BKP of registry file... OK Mounting registry file... OK Taking Ownership... OK Editing 'Packages' subkeys 4/4OK Modifying registry completed sucessfully. Unmounting key... OK Removing 'Packages'... 4/4OK Removed packages successfully. Removing 'PackagesPending'... 4/4OK Removed packages successfully. -------------------Ending------------------ --- Removed OneDrive Package ***************************************************************** ***************************************************************** --- Clearing Winsxs Components and Reset Base ***************************************************************** Deployment Image Servicing and Management tool Version: 10.0.19041.450 Image Version: 10.0.19042.508 [==========================100.0%==========================] The operation completed successfully. ***************************************************************** ***************************************************************** --- Optimizing Offline WIM Image and Checking Health ***************************************************************** --- Optimizing Tweaked Image Path : Mount Online : False RestartNeeded : False --- Checking Health Status of Tweaked Image Path : Mount Online : False ImageHealthState : Healthy RestartNeeded : False ***************************************************************** ***************************************************************** --- Saving and Unmounting Final Debloated Image ***************************************************************** LogPath : Z:\Windows\Logs\DISM\dism.log ***************************************************************** ***************************************************************** --- Exporting Final Image Again to Script Path to Clear (Deleted) Directory Inside WIM ***************************************************************** LogPath : Z:\Windows\Logs\DISM\dism.log ***************************************************************** ***************************************************************** --- Moving Back Exported Image to its Source Path ***************************************************************** 1 file(s) moved. ***************************************************************** ***************************************************************** --- Creating Final Win10 Debloated ISO ***************************************************************** OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 41 directories) Scanning source tree complete (900 files in 85 directories) Computing directory information complete Image file is 4664262656 bytes (before optimization) Writing 900 files in 85 directories to Z:\Users\TEST\Desktop\Win10_Debloated_21-Oct-20.iso 100% complete Storage optimization saved 25 files, 14182400 bytes (1% of image) After optimization, image file is 4652122112 bytes Space saved because of embedding, sparseness or optimization = 14182400 Done. ***************************************************************** ***************************************************************** --- Removing All Directories and Files of Project ***************************************************************** LogPath : Z:\Windows\Logs\DISM\dism.log ***************************************************************** Debloater Script : Version 1.1 : Completed at 21-Oct-20 0:17:48.74 ***************************************************************** Everything Fine . Changelog Updated after every successful test.
@mdl052020 hello, sorry for my maybe stupid request, is that I don't understand anything about powershell scripts this way I would really like you to guide me through the operation sequence because what I've done so far is: I opened a folder on a secondary disk and named it: Win10 LTSC-Debloater and then copied the intact iso from the W10 LTSC (17763.1) and script also of course from there it was just ??? if you have time I appreciate it and thank you very much in advance.
@Tiger-1 brother you are always welcome. I love to reply decent queries . Please give me some time till tmrw as its 02:35 here in india . Feeling tired & sleepy . tmrw for sure i will edit this comment & help with my level best efforts .
yes @Tiger-1 brother please you can ask me anything . Please place script at desktop & ISO next to it then execute it : see what happen . For Script to work user must have win10 build 17763 or later & user must be sure Powershell Integerated Scripting Engine [ISE] must be already installed on host os.
hi mdl052020 good morning brother, well i already have the powershell ISE window open and ready to follow your instructions ok
Yes Brother i think you are trying to debloat Win10 LTSC 2019. Please Let me know if script worked correctly at your end now . For Windows Apps you can select all & click ok to remove them . Second For SystemApps you have the list of apps safe to remove on batch script already shown please select them one by one & after you are sure that you selected the correct one's as per list click Ok . Third is to disable WindowsOptionalFeatures i have uploaded image for user to select safe features to be disabled from image please download all those three images from first page. Fourth is to remove windows capabilities please see the image for safe capabilities removal & click ok. Fifth is to remove windows packages please dont select anything & click cancel to bypass script to next step. after this script will continue to process its commands for which user dont have to select anything & will result in final debloated win10 ISO. I hope all my steps are crystal cleared to anyone who want to use the scripts to debloat win10 iso offline mode. If any advanced user want to add his own commands to be added to the script then he can do so by adding his code before dismount-windowsimage command so that his command will be precessed right before dismounting the image as script is opensourced & anybody can add commands to it as according to his needs. After successful operation by advanced user after adding his own scripting code . user can advice me to add those codes to the script i will be happy to test them at my end & if found good coding i will give credits to him for his contribution n suggestion to make the offline debloater script more user friendly with his skills & will publish the script with his addition to the script. As i beleive together we can make this script more user friendly as well good source of debloating win10 iso images but myself as a single creator can't do it without any help .
@ingviowarr Yes User Can Use Ctrl + Left Mouse Button [LMB] to select the items . its user choice how they select items from GUI view. You are correct too . please dont mind if user is that much unknwon of using a system i dont recommend him to use any of my script
I'm still waiting for the new MSMG bundle with fixed localization issues. Then I have a plans to continue testing on fresh Win10 build (20H2). If I understood correctly, you planned to publish the new v1.1 with a lot of changes. Or I missed somehing? I so (when ready), don't forget add a v1.1 in the main post, e.g. "W10AIO-Debloater v1.1", to know right away your script was updated, OK? Thanks.
Yes thanks for your suggestion . i will mention version 1.1 in the download list when i will publish it for public . thanks a lot. its your choice to use both but i never suggest users to use multiple toolkits on same ISO . its ok if its giving you positive results but one day when you will be into trouble then no any tootlkit creator will support you on that even not me too . please think about it .
Thank you for your concern. I will see the result and decide later which variant will work better for me - or use one of them independently (MSMG | W10AIO-Debloater) or they can work consistently.
Yes Now i must say its a good decision of yours . You are free to use any script but be sure to use only one to service offline wimdows Image Thanks for understanding my concern very clearly.
Yeah... Or much HARDENED offline only with W10AIO-Debloater, or reasonably relaxed with MSMG (probably, if we will be lucky), having a chance to update Windows over CU. Everybody have to understand these pretty unconfortable facts...
As i already said its your choice only but i never suggest anybody else to use multi scripts on same ISO for any purpose. thanks a lot . if you want users to use MSMG then you are free to say so i dont have any objection in that . please feel free to say dont use my scripts & use MSMG. thanks a lot again.
Most welcome brother . i have learnt from your past post to be calm . your suggestion make me learn something more . whole credit goes to you . you are a very nice person by heart my brother.