I mounted wim and used Install_wim_tweak to remove packages I used /l to export packages list was about 1856. After I removed several and created list with /l packages dropped to 1811. The thing is that Install_wim_tweak refuse to remove anymore packages. I unmounted wim and mounted wim and closed cmd and restarted pc and Install_wim_tweak just won't remove anymore packages. When I /r more packages It shows as if it was removing but when I output text /l with list of packages, they're not removed. Can someone advice? Thanks
Maybe you should remove the Attributes Read only and Hidden from ALL files inside wim?! You may need to take ownership of ALL files within wim, at first!
@pisthai thanks I will try do what you said I have to do atm taking ownership of everything in mounted wim then will unmark read only
To remove the packages you only need take control of the REG hive. But using that tweaker.exe should do it for you.
@pisthai OK I took ownership of everything in wim also unmarked read only. Then tried Install_wim_tweak again and it still doesn't remove more packages. What's happening is that I tried twice on the same wim once I managed remove until there left 1811 packages then Install_wim_tweak stopped removing more packages Today I started from fresh stock wim and Install_wim_tweak removed until there left 1755 packages and it doesn't want to remove anymore Even it shows packages are being removed when I create text with /l the packages are a till there Can someone advice of what else can I do? Thanks
Maybe, some packages couldn't be removed as they may be classified as 'system needed' and a remove would break the setup procedure. Maybe, if you use 3.party apps, you could use that for to delete some packages, just it maybe has a bad effect on the integrity of the wim?! It doesn't matter what you're doing, there will be always a lot 'maybe's'! It's quite time consuming as well and for to do such 'work', it's really recommended to work on 2 or even more computers at the same time! If I do such tweaking/hacking, I use at least 3 computer for that or even 4, incl. 1 Laptop! I've 3 Monitors in front of me and use RAdmin on all machines, so I could use the same Keyboard & Mouse, even if the Laptop is running on that work too!
CMD (run as administrator) unhide packages : install_wim_tweak /p {your mount dir} export all packages list : install_wim_tweak /p {your mount dir} /l open your listpackage.txt file choose the packages you targeted to remove like this one (this is just example) Code: install_wim_tweak /o /c Microsoft-OneCore-AllowTelemetry-Reduced-Default-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-OneCore-TroubleShooting-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-OneCore-TroubleShooting-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-OneCore-TroubleShooting-WOW64-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-OneCore-TroubleShooting-WOW64-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-Windows-DiagTrack-Internal-Package~31bf3856ad364e35~amd64~en-US~10.0.10240.16384 /r install_wim_tweak /o /c Microsoft-Windows-DiagTrack-Internal-Package~31bf3856ad364e35~amd64~~10.0.10240.16384 /r AFAIK you can't remove ALL packages
For example once I removed from fresh wim defender hyper v and other packages around 50 in total and Install_wim_tweak stopped removing anymore packages no matter what else I tried to remove. When tried to remove Adobe Flash it couldn't remove it it showed as if the package was removed but in the end when i /l the package was still there The second time I started removing from fresh wim and started from Adobe Flash and it removed it without issue then as I removed more going through hyper v and others like edge and cortana and defender at some point Install_wim_tweak stopped again refusing to remove more packages What I have found is that in the begging when Install_wim_tweak still works removing packages it shows Editing packagespending subkeys fail key not exist And as I remove more packages Editing packagespending subkeys changes to OK That's when it doesn't remove anything anymore No matter I Unmount image Export it Reboot It won't remove one single package more Any advice?
I prefer doing manual DISM via PowerShell And hide and unhide packages before and after deleting packages simply by using regedit dan notepad After you deleting the packages you MUST hide the shown packages and left it the "default shown" original packages
OK found solution sort of, as soon as I use Install_wim_tweak to remove hyper V Install_wim_tweak remove some packages of hyper V other become pending and they stay pending and I haven't found way of cleaning Install_wim_tweak from pending packages removal and that's why unable to remove more packages. Solution don't touch hyper V using Install_wim_tweak in windows 10. Instead use dism only. I have just made my first custom wim image removed whatever could and installed my own custom windows 10 crapware free
Unless you treated it as Embedded System, it might be unable to Code: dism /online /Cleanup-Image /RestoreHealth And fail to Sysprep.
loads of them i had in the beginning 1859 and dropped to 1611 plus removed all that zune crap win home+proffesional iso became 2.7gb
How are they going to share when they've been banned, see the line through the name and the words BANNED.
haha, so it does actually mean banned, wasn't sure as I'm on some other forums where people actually have silly tags like that which mean nothing really.