yep I like very much your post dude, for a while I haven't time to also make more search, I think you are in correct direction when I have some time I make deep search into Windows core and I hope find this damn AppX's with some problable solution because two heads (or more) think more that only one
Assume you refer to the pack created by @KNARZ. Go inside the \_Helper\ folder and open SxsExport.cmd and change: Code: set Flag_AskImage=0 set Path_Image=%systemroot% to: Code: set Flag_AskImage=1 ::set Path_Image=%systemroot% Create ImportList.txt beside Start.cmd and run the latter as admin. The opening SxsExport window will ask for a path to the mounted image. Then it will use the TXT to export the packages to \Output\ sub-folder.
Big thanks! There are 2 entries for set Flag though - which one do I change? BTW, I was working on an image and I think accidentally closing the Toolkit resulted in DVD folder having Program Files, ProgramData, and other Windows directories that I can't remove now due to requirement of TrustedInstaller permissions and NSudo does not work on Explorer... I tried to delete it with Unlock, but it would take a very long time... Any ideas?
Is it possible to integrate .NET Framework 4.7 using MSMG Toolkit? It was just released a couple days ago for Windows 7 and Windows 8.1.
Leave the others as they are (should afaik be logging feature). Aborting the tool inbetween left a mount point in the system. Perform an /unmount with /discard to get rid of the folder.
I don't think it was mounted because I never even got the Toolkit to recognize the source and given how I tried to mass-rename files and folders to make them more susceptible to deletion, I am not sure mount/unmount will do anything...
By messing with file permissions you might have convinced Windows to protect them with it's bare existence .
I haven't messed with permissions at all. I haven't taken ownership of a single thing and kept UAC on at all times... I think I will try the AiO Rescue bootable flash drive I have. I should be able to remove files that way, I hope.
slave77 method should had worked for you. Another way is to start toolkit again and it will perform clean up straight away.
OK, there is a bug or something going on here... I wanted to use the bootable ISO I made a while back. I copied the contents to DVD folder and MSMG would only work if I selected "Convert Store ESD Image to WIM Image" and it would not let me do "Convert ESD Image to WIM Image" . I selected "Convert Store ESD Image to WIM Image" and MSMG Toolkit simply did what it did last time - created Program Files, Program File x86, ProgramData, and Windows folders within the DVD folder. The end - nothing can be done. Is it because its a custom image? Why would it not work with an image made by it and why would the result be like that... There we go again - ownership of a ton of files and deletion... I have no idea how to perform unmount and discard... I thought it only affects an image like WIM file, not a set of system directories... Its not mounted to any drive... DISM /get-MountedWiminfo says "NO MOUNTED IMAGE FOUND" . I attached the log file in case it will help... I can't really extract anything out of this mess now, can I? BTW, does MSMG Toolkit work with those 6in1 and 12in1 versions that combine features?
I guess i get what happened . The process to convert a Store ESD would be to apply index 1 to a folder (cointains the files to build the ISO), then indices 2/3 to boot.wim and index 4 to install.wim/esd. That Would explain why it applies 1st index of your WIMESD to MSMG folder.
Looks like I will have to do another Acronis restore... I'd really appreciate that evil ShellExperienceHost 3MB CAB package (15063.250 or 15063.0) - I don't think I will get my hands on very soon the way things are going. After taking Ownership of JUST that DVD folder, I can't even launch Media Creation Tool without a permissions error and all ISO download sites are super-slow.
The SxSExpander tool is not doing anything. There are no output folders showing up - I still have no idea which Flags I was supposed to edit... It never asks me for path. In fact Start file tells me I need to Run as Admin and I do and that's it - nothing happens, so I run SxSExpander and nothing happens and yet I have TrustedInstaller access with NSudo. MSMG Toolkit extracted ShellExperienceHost package just fine, but I guess it auto-deletes packages and doesn't preserve them in some Temp folder? Is there some repository of common packages where I can download it? Bottom line - I would've already installed OS on 5 PC's and removed all bloatware using PowerShell and SQL Database editing to make hard-coded provisioned packages remove-able.
I said it. It happens all the time. Just take it out. If you leave the Store in you can still download whichever app you want, but you won't get all those other apps downloading automatically.
Well... I sucked it up, formatted and reinstalled Windows 10 just to extract ShellExperienceHost from online image and SxSExpander worked great for that, but not for offline image.