I have had a closer look at the script and can now provide an answer to my own question quoted above (code line numbers are from v1.31). Line 570: set "IncludeUWPapps= ..... Line 581: :: By default remove all system UWP apps unless they are really necessary Line 583: set "RemoveSystemUWPapps= ..... When posting my original question I missed "unless they are really necessary" part of the comment on line 581 and assumed that the script simply removes all UWP apps except for the ones listed on line 570. But this is not the case and the script's logic is actually as follows: :: Remove system UWP apps, except for those considered absolutely necessary (like MS Paint or Notepad) and those on "include" list on line 570. Btw, here is the list of UWP apps on the default "remove" list on line 583 in human readable format: Spoiler: RemoveSystemUWPapps Microsoft.AccountsControl Microsoft.AsyncTextService Microsoft.BioEnrollment microsoft.creddialoghost Microsoft.ECApp Microsoft.LockApp Microsoft.MicrosoftEdge Microsoft.MicrosoftEdgeDevToolsClient Microsoft.Windows.AddSuggestedFoldersToLibraryDialog Microsoft.Windows.AppRep.ChxApp Microsoft.Windows.AppResolverUX Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.CallingShellApp Microsoft.Windows.CapturePicker Microsoft.Windows.ContentDeliveryManager microsoft.windows.narratorquickstart Microsoft.Windows.OOBENetworkCaptivePortal Microsoft.Windows.OOBENetworkConnectionFlow Microsoft.Windows.PeopleExperienceHost Microsoft.Windows.PinningConfirmationDialog Microsoft.Windows.SecureAssessmentBrowser Microsoft.XboxGameCallableUI MicrosoftWindows.Client.CBS MicrosoftWindows.UndockedDevKit NcsiUwpApp ParentalControls Windows.CBSPreview
Does anybody know how to enable copy and paste for UWP apps? EDIT: Never mind, it seems only to affect Snip and Scetch. I got another app for that purpose.
Wow. Thanks for this! I've got a question. How can we use WSL (if possible)? I enabled the necessary feature, but since WSL needs a distribution downloadable by Microsoft Store (not included...) how can we install one? Appreciated! EDIT: Nvm, I found that WSL distributions can be installed via CMD I've used: wsl --install -d Ubuntu-20.04 Sorry
Hello there, is there a way to enable windows Defender after installation? or do you recommend to use another AV instead? Thanks in advance.
Bet you have to use a 3rd party AV then. Edit: Or you can probably enable every reg entry and service this script disables but easiest could be following Acer-5100
In place upgrades are fast nowadays, and unlike the good old days require no user intervention, so, they are the way to go, if the point is fixing something with minimal effort. If your point, is instead, learning how the things work, you can use an untouched ISO, export the the relevant CABs (using SxSv1 or similar), then add them to your affected installation using DISM
Here's a list of changes I made to @wkeller's fine work to fit my needs! To get Windows Defender, Windows Store, PIN login & OneDrive, I believe these changes were required: Enable Windows Defender Remove these sections to enable Windows Store, PIN login & OneDrive: Personal preferences to remove these: To enable sign-in in Windows Store (required to access my puchased apps), I had to enable Microsoft account sign-in. So remove these lines: While I didn't verity it, looking at command prompts, it looked like they executed as a default with elevated permissions (which is not good). I had to manually set UAC to the default level to get the desired behavior. Or I could have removed this section: I had problems with copy n paste. While I was not able to solve the issue post installation, perhaps the solution may be to enable some of the permissions in these sections... To enable Windows store, you need to append "Microsoft.WindowsStore" and "Microsoft.UI.Xaml" to this list (like I have in this snippet): If you installed Windows without Windows store, it can be manually enabled by downloading "Microsoft.UI.Xaml.2.7" and "Microsoft.WindowsStore",, and install these apps using Powershell: I never got copy and paste working in Snip and Sketch. A more critical issue was that the font cache (perhaps) had gotten corrupted. So most text were missing in Windows. I had to run Windows Update, and get all updates for the issue to be resolved. Even after these changes, the experience is super snappy! Thanks again @wkeller!
Why do you use this script and then fix everything that script did? Do you understand why this script was made?
because not all use their pc the sameway. thats why i asked if it could be made so it allows to to pick what you want from the script.