Yes, but on it's own DISM cannot remove those packages. It will be necessary to take ownership of every single key and then we could use DISM. Wimtweak somewhat "automates" that task. abbodi1406, how could we access the registry on a mounted wim and take ownership of the keys? Can we use a simple batch or will PS be mandatory for that? Cheers.
Yes, I know SetACl and the syntax. It's awesome. So for me DISM would be the preferred method, PS seems a bit difficult still. The procedure would be: - Mount image - Unhide packages with wimtweak - Take ownership of the affected reg keys with SetACL - Remove with DISM - Hide again with wimtweak - unmount commit. To connect to the offline registry, we can use REG LOAD and to unload we can use REG UNLOAD. Now only issue ramaining is to put this in a batch file to have it automated. Cheers.
I know what you mean about a batch or even .exe to automate the sequences. I actually don't mind seeing what is going on . I have been messing about with Autoplay Media Studio to make a nice little GUI for all this. But hey I know one or two things but not enough to build one.
Perhaps AutoIt could be an alternative to build a script with GUI. We could even make the packages selectable. The ACL part is doable for me, but the gui part will be difficult. Cheers.
I have just taken the time to make two new REG Files. One will make all the packages visable the other to re-hide all of the packages. Full controll has to be taken of the packages key. Either manuall or via SetACL SORRY Unable to post them. I am getting an error saying the text is too large plus the files are too large to attach. @mod \ Admin If I were to upload these files onto my own little web site could I link out to it from here ? I have tested them and they do work. I mounted an image, loaded the reg hive, took controll of the packages key and run my un hide .reg file and made a list. Bingo Long list of packages. Run the hide.reg and all packages were hidden again.
please stop making it overcomplicated... use my script as a guideline... unhide single packages with wim tweak and remove with dism. done. and don't list en-US/language-LANGUAGE packages in your list they will removed by the main package... also as the subpackages.
some write list on app removed apps into install.wim from package.txt used install_wim_tweak and confirm is work without.
Why I made the reg files to un-hide and hide the packages is so I and other folk if they wish could make their own lists of packages and choose which to remove. One thing I would like to know is who found out which packages to remove in the first place and how. We are all just removing packages from list folks have put up. Why those packages. There is a LONG list. It is easy enough just to target each and every package chosen to remove. Sorry if I am making it more complicated that it should be. I have read on here that a lot of folk are just doings stuff and running scripts willy nilly and not really knowing what they are doing and why they are doing it. Sorry again..Wont add owt else..
No more install_wim_tweak after this right ? im keep getting error to enable netfx3 and legacy directplay after using that exe...then everything get corrupte such when im launch powershell it show me mscoree.dll missing error... better explanation about the bug here No more install_wim_tweak after this right ? im keep getting error to enable netfx3 and legacy directplay after using that exe...then everything get corrupte such when im launch powershell it show me mscoree.dll missing error... better explanation about the bug here: msfn.org/board/topic/104130-guide-win-server-2008/page-7#entry827919 Link please Link please
KNARZ, using it the way you describe (wimtweak), will it allow DISM to remove the packages without complaining about error 5: Access denied? Cheers.
It will do, access denied error just means you are trying to alter a file,reg key without taking full controll.
Anyone know what the package name for "Task, Tablet Mode, Connect, Note, VPN , Quiet Hour ,Location" ?I want to delete them.
Why is this post not a sticky but one that repeats this info is? Would be nice if this could be renamed to removing windows 10 modules and kept up top. This procedure works well on a mounted wim with a bat file. Thank you TS. Regards
Agree. This seems to be the most effective way to remove the crap from Windows 10. Should be sticky. Cheers.
I test with remove and again remove "from install.wim" for now this is removed Xbox,Hyper-V,Microsoft-OneCore-AllJoyn,Microsoft-OneCore-Biometrics,Microsoft-OneCore-CameraCaptureUI,Microsoft-OneCore-Gaming-Preview,Microsoft-OneCore-Maps,Microsoft-OneCore-RemoteDesktopServices,Microsoft-OneCore-WinRT-Core, apps is removed from package.txt and more but testing for now is good with from list but final I dont know when be create list for secure remove apps have more in list and need analyze...