• Win10 Pro 22H2-DeBloating Applications: Do they work or cause more problems?

    Home » Forums » AskWoody support » Windows » Windows 10 » Windows 10 version 22H2 » Win10 Pro 22H2-DeBloating Applications: Do they work or cause more problems?

    Author
    Topic
    #2541155

    I’ve used several methods to clean up Windows 10 (Power Shell, Scripts, O&O….or some combination.  I’ve also got myself in trouble doing to much “fiddling around”.  I’m wondering for the latest Windows 10 Pro version (22H2) what do folks here prefer….if anything to debloat Windows?

    Mike

    Viewing 17 reply threads
    Author
    Replies
    • #2541178

      I only used Portable 10AppsManager to delete all store apps (except for the store app) and blocked store apps updates.
      No other 3rd party tweaks.

      1 user thanked author for this post.
    • #2541208

      Consider downloading, installing, and using Revo Uninstaller Free:
      https://www.revouninstaller.com/revo-uninstaller-free-download/

      Go to Windows Apps and uninstall the Windows programs you don’t want. Use this option carefully to avoid uninstalling Microsoft Store programs you want to keep:
      wa

      On permanent hiatus {with backup and coffee}
      offline▸ Win10Pro 2004.19041.572 x64 i3-3220 RAM8GB HDD Firefox83.0b3 WindowsDefender
      offline▸ Acer TravelMate P215-52 RAM8GB Win11Pro 22H2.22621.1265 x64 i5-10210U SSD Firefox106.0 MicrosoftDefender
      online▸ Win11Pro 22H2.22621.1992 x64 i5-9400 RAM16GB HDD Firefox116.0b3 MicrosoftDefender
      1 user thanked author for this post.
      • #2553192

        Consider downloading, installing, and using Revo Uninstaller Free:

        I’ve been using Pro for years (v3.5.x), and recently bought v5.1.1 for $9.99 for a two year license that becomes permanent after two years.  I couldn’t pass that deal up.

        Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
        We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
        We were all once "Average Users".

    • #2541259

      It depends whether you want to debloat *during* a clean install to affect all new accounts or *after* installation/upgrade.

      I’ve been using Windows 10 Decrapifier for clean installs for about 4 years now and it’s never caused any problems, even though I’ve made several additions to the script. What I like most about it is that it works on the .DEFAULT account template… so *all* new accounts use the same settings and I don’t have to run debloater tools for each account. I’ve tried several PowerShell debloater scripts and still find Windows 10 Decrapifier to be the best, particularly for returning full control with minimal CPU/disk/network usage *very* quickly after startup by reducing some of the scheduled tasks set to trigger at logon.

      On installs that are already established (e.g. in-place upgrades), I concur with @geekdomRevo Uninstaller Free is one of the better tools to remove Windows UWP bloatware apps (I prefer to use the portable version).

      IMO Geek Uninstaller is also very good… and almost a fifth of the size (6.32MB) of Revo Uninstaller Free Portable (28.2MB)… perhaps important if you only have limited capacity left on a ‘utilities’ USB stick.

      geek_uninstaller
      (As you can see… my install is pruned of UWP bloatware.)

      Hope this helps…

      1 user thanked author for this post.
      • #2541861

        Thanks Rick (and all for the suggestions).

        Question to Rick.  I’m interested in Decrapifier.  Since there have been several Windows updates, does Decrapifier still work OK.  Any suggestions on what to comment out or add?

        Mike

    • #2541876

      Since there have been several Windows updates, does Decrapifier still work OK.

      I’ve used Windows 10 Decrapifier on every version of Windows 10 since 1809 without any issues. Just recently I’ve been using it with Windows 10 Pro 22H2, again without issue. One of the nice things about it is that it allows for a transcript… so you can see exactly what script commands have run and the changes they’ve made. It’s particularly useful for debugging if you make changes to the script as I do.

      Any suggestions on what to comment out or add?

      • I don’t use it with any switches.
      • I’ve made changes to $GoodApps so all that remains is “calculator|store|miracast” so all built-in apps but these three are removed.
      • I’ve made one or two changes to $SafeApps due to my own personal preferences.
      • I have a custom $StartLayoutStr that cleans the Start menu of *all* tiles except for Notepad, Paint and File Explorer.
      • I’ve made several additions to Scheduled Tasks, disabling an additional 5 (mostly about maps).
      • I’ve made several additions to Services. For example, although I use Sysprep I don’t use its  Generalize option (as I’m not creating an image for different machines). As a result, I’ve uncommented the line about the DmwApPushService and never had a failure.
      • I’ve made another ~25 additional registry changes, either for ‘look and feel’, privacy or performance. Rather than list them all here I’ve attached my customised Windows 10 Decrapifier script in a zip file called decrap_22H2. Just search it for Rick amendment to see the changes I’ve made.

      Note: The transcript shows everything completes successfully… with *one* exception. Line 620 fails to remove the pinned Edge icon from the taskbar. I’m still working on finding its correct location to remove it automatically.

      decrap_22H2

      I run the script from a USB stick during a clean install. I pause OOBE, open an elevated PowerShell prompt then enter the following commands one-by-one:

      Set-ExecutionPolicy unrestricted
      
      CD D:
      
      .\decrap_22H2.ps1

      After the script has completed I enter:

      Set-ExecutionPolicy restricted

      Hope this helps…

      1 user thanked author for this post.
      • #2541897

        Thanks Rick, that’s very generous.  I appreciate it.

        One thing I forgot (and you hinted at this in another post):  In general, can this script be used after installing Windows ?

        Mike

    • #2541969

      In general, can this script be used after installing Windows ?

      Yes, but it’s not quite as effective for the following reasons:

      1. The .DEFAULT account template has already been established and thus subsequent accounts created from it don’t reap the full benefit of pre-OOBE customisation in Admin mode. What this means in practice is that the script will run in the CURRENT_USER context… so you’ll need to run it for *every* account you want to make changes to.

      2. The Start menu navigation (the left-hand pane) reflects the changes brought about by the removal of default UWP apps, i.e. it’s pruned considerably.

      3. The custom Start menu layout of the right-hand tile area (i.e. defined by $StartLayoutStr in the script) is *not* created and, unfortunately, will show ‘advertised’ apps (i.e. not yet installed until the app tile is clicked on). However, it’s considerably cleaner than a Start menu tile layout of the same test machine that hasn’t had the script run on it because the tiles for the built-in apps have been removed.

      It’s easier to show comparison screenshots:

      start_before_script_run

      start_after_script_run

      3. Post-OOBE, Windows Update adds more ‘features’… which the default script is obviously unaware of. However, using tools like Revo Uninstaller Free (I prefer the portable version) or Geek Uninstaller can remove most of these additions.

      4. Most of the ‘look and feel’ changes are dynamic as they affect HKEY_CURRENT_USER.

      5. You’ll still need to reboot so the changes to services can take effect.

      However, running the script on an existing account *does* work quite effectively overall although the script runs slower as it has to process a very much larger HKEY_CURRENT_USER hive on first pass, i.e. ~line 214 – Function RegChange.

      Comparing a ‘pre-OOBE’ transcript (i.e. how the script is designed to be used) with a ‘post-OOBE’ transcript (i.e. run on an established account) shows remarkably few differences.

      Obviously using the script as intended (i.e. by pausing OOBE to go into Audit mode) runs it in the context of the built-in (but usually hidden) Administrator account.

      Running it afterwards using, for example, the first account created runs it in a standard user context, even though the first account created is – by default – a member of the Administrators group – hence the default use of User Account Control (UAC) for any action that requires elevation. A prime example is having to run the Windows PowerShell console using Run as administrator so the script can make changes within the HKEY_LOCAL_MACHINE registry hive.

      Whilst a comparison of the two transcripts (i.e. ‘pre-OOBE’ vs ‘post-OOBE’) showed 105 different lines, most of these were due to re-ordering:

      transcript_comparison

      Other than that there were very few differences and no errors, other than the one I already mentioned about the failed removal of the pinned Edge icon on the taskbar.

      Hope this helps… let me know if you want to see the ‘pre-OOBE’ and ‘post-OOBE’ transcripts and I’ll attach them for comparison.

      2 users thanked author for this post.
      • #2542036
        1. Gosh Rick, thanks a lot for all the information. You’re certainly a master of the program. I’m a bit nervous about this, but I think I just need to dive in and look at the script and see what it’s taking out or leaving in.

        I had just installed Windows 10 pro and added my drivers when I started thinking about this script. So I could just start over again and use the OOBE procedure. Or, I could test it out on this brand new installation which I haven’t added anything else to except drivers.

        By the way, this is just a single user on a single machine.

        Thanks for your help Rick.

    • #2541994

      Does this work?
      HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate (create)
      DWORD = CreateDesktopShortcutDefault  Value=0

      1 user thanked author for this post.
    • #2542037

      Does this work? HKLM\SOFTWARE\Policies\Microsoft\EdgeUpdate (create) DWORD = CreateDesktopShortcutDefault Value=0

      Thanks but the desktop shortcut for Edge isn’t a problem, although I’m aware that Microsoft puts it back following an Edge update (which I’ll get around to, although currently I’ve been playing with just ripping Edge out completely because of the games it plays).

      I just want to remove the Edge shortcut pinned to the taskbar.

      I’ve just tested this PowerShell which unpins both the Edge and Store shortcuts:

      $appnames = "^Microsoft Edge$|^Microsoft Store$"
      ((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() |
      Where-Object{ $_.Name -match $appnames }).Verbs() |
      Where-Object{ $_.Name.replace('&', '') -match 'Unpin from taskbar' } |
      ForEach-Object{ $_.DoIt(); $exec = $true }

      It works really well so I just need to add it to the Windows 10 Decrapifier script.

    • #2542038

      So I could just start over again and use the OOBE procedure. Or, I could test it out on this brand new installation which I haven’t added anything else to except drivers. By the way, this is just a single user on a single machine.

      If it’s just a single user, single machine then you may as well just run the script as is rather than doing the clean install/halt OOBE/run script in Admin mode dance. You won’t get much more benefit from the extra work. 🙂

      1 user thanked author for this post.
    • #2542045

      I’ve used O&Oappbuster successfully for a few W10 installations with no complaints.
      But then i go further and deprovision apps using PS commandlets, for instance:
      Uninstalling W10 apps

      If debian is good enough for NASA...
      1 user thanked author for this post.
    • #2542046

      Like Rick I have been running Decrapifier on new installs since my first 10 system and have never had any issues. Also used it on a few Win11 installs and it works fine. I have used it on existing systems from the user account and it has worked well.

      I have NOT tried this but it may be helpful to your current situation:

      If you’ve already gone through this and logged in, no worries. Just run sysprep, which is located at c:\windows\system32\sysprep\sysprep.exe. Select the options to reboot into audit mode (See the image in step 4). This will remove all user content and reset Windows back to default, so make sure you back up anything you may have.

      https://community.spiceworks.com/how_to/148624-how-to-clean-up-a-single-windows-10-machine-image-using-decrapifier

      1 user thanked author for this post.
    • #2542058

      Yay, the Edge shortcut pinned to the taskbar has gone (and the pinned Store shortcut).

      I replaced  the Miscellaneous Cleanup Function (lines 612-621 in the script) with the following:

      #Miscellaneous Cleanup Function
      Function Misc {
      #Unpin Store and Edge icons from Taskbar
      #See https://stackoverflow.com/questions/45152335/unpin-the-microsoft-edge-and-store-taskbar-shortcuts-programmatically (post 3)
      	Write-Host "***Unpinning the Store and Edge icons from the Taskbar...***"
      	$appnames = "^Microsoft Edge$|^Microsoft Store$"
      	((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() |
      	Where-Object{ $_.Name -match $appnames }).Verbs() |
      	Where-Object{ $_.Name.replace('&', '') -match 'Unpin from taskbar' } |
      	ForEach-Object{ $_.DoIt(); $exec = $true }}

      Tested and working. 🙂

    • #2553160

      Hi Rick, thanks for your great script work. Just one question: I’m not sure what you mean when you say to start the script when the OOBE starts. I guess OOBE means ‘Out Of Box Experience’ but when does that happen during an install?

      Claire

    • #2553184

      start the script when the OOBE starts

      Hi Claire – Have a look at the Customize the initial Windows 10 installation thread. (The thread is old now but the process hasn’t changed at all.) The Out Of the Box Experience (OOBE) starts at post 9, so this is where you interrupt it.

      The device will reboot and log you in as Administrator in Audit mode.

      Ignore the System Preparation Tool (SysPrep) dialog (for now) and, instead, right-click on Start and choose Windows PowerShell (Admin) to run the Windows 10 Decrapifier script.

      I keep the script on a USB stick, together with a text file. The text file just reminds me of the steps I need to take. It just shows the commands which I copy/paste/enter one-by-one in the elevated PowerShell console:

      1. Set-ExecutionPolicy unrestricted
      2. CD D:
      3. .\decrap_22H2.ps1
      4. Set-ExecutionPolicy restricted

      So, change the execution policy, CD to the USB stick holding the script, run the script then set the execution policy back again. It really is that easy… because I don’t use any switches with the script. (Having said that, I’ve customised the script quite a bit now to my own particular preferences.)

      When the script completes (and you make any other tweaks you want) then use the SysPrep tool to reboot the device… then carry on with OOBE to create the first account.

      Hope this helps…

      • #2553340

        Thanks Rick, I’ll see if I can follow your instructions – I’m pretty green!

        Claire

        • #2553429

          I’ll see if I can follow your instructions – I’m pretty green!

          So was I at first. But now I use the Windows 10 Decrapifier script without thinking about it… so, if you have any questions, just ask.

    • #2553193

      I’m wondering for the latest Windows 10 Pro version (22H2) what do folks here prefer….if anything to debloat Windows?

      This depends more on what you consider “bloat” as to what method to use.  I use a couple of commercial utilities in order to “Run as Trusted Installer” to deal with the registry to get rid of some of those things Microsoft calls “Special” that to me are just junk that gets in my way.

      And since I am DIY, there isn’t any OEM bloat (OEM specific “helper” apps/programs, etc.) so I don’t have that to worry about.  I use Revo Uninstaller Pro to get rid of unwanted Apps.  I’m now on v5.1.1 and it uses PowerShell scripts when/where necessary.  I run a very lean Windows installation.

      And I don’t do “fresh installs”, just upgrades over existing installations.  Many here consider this a No-No, but I’ve never had any issues following this procedure, and I don’t have to redo anything other than get rid of Microsoft’s latest “enhancements” to the UI.

      Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
      We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
      We were all once "Average Users".

    • #2553224

      I am a fan of the “clean install” method of having less bloat. After testing basic functions and making a backup, on a new to me computer I will do a clean install from a Microsoft ISO burned to USB.  This removes most OEM junk.  A few bits of Microsoft bloat like candy crush are installed, but if you check by typing startup on start menu for things that run in the background the only really invasive thing is Onedrive.  If you learn where your files are, it can be used effectively but it seems to cause confusion for some about where they are and how to back them up.

    • #2553468

      Hi Rick. After several reads of this thread and the other one you pointed to, I’m beginning to see what I need to do. But there are a couple of things I don’t understand – sorry 🙁

      It seems I should be installing Windows 10 Pro 22H2. Okay, I have a fresh copy from a Github link. And I should interrupt the install at point #9 in the other thread. Also okay. But here’s what puzzles me: I have a USB stick inserted that contains the OS, but it seems I need to install another stick containing the Decrapifier script? And if the Windows install is only partially completed, how come Powershell works? Again, sorry, I’m trying to learn about computers at a time when my thought processes have slowed to a crawl. But t least I’m persistent!

      Thanks,

      Claire

    • #2553481

      It seems I should be installing Windows 10 Pro 22H2. Okay, I have a fresh copy from a Github link.

      Hi Claire – 22H2 is now the version of Windows 10 recommended here on AskWoody. There’s no difference between Pro or Home editions to the installation or ‘decrapifying’ processes.

      (Personally I tend to use Microsoft’s own Media Creation Tool (aka MCT, available from its Download Windows 10 webpage). This creates a bootable USB installer without any fuss, but it’s entirely your choice.)

      I use an 8GB USB stick… the installer files are ~5GB so there’s loads of room to also put the Windows 10 Decrapifier script on (plus any other tools you think you might need).

      My apologies that I didn’t make it clearer in the other thread that between steps 8 and 9 you will be prompted that your device is going to rebooted… so watch out for the message.

      At this point prepare to remove the USB installer stick *immediately* the device has shut down… before it has begun restarting. You’ll have a second or so, which is more than enough time to unplug the USB stick.

      Your device with finish restarting and will carry on with the installation of Windows 10. You’ll see various messages about ‘Getting Windows ready for you’ then, eventually, you’ll see the first OOBE screen, which is the Choose region screen shown as step 9 of the installation.

      Whilst the installation is paused at the Choose region screen, press CTRL+SHIFT+F3 keys at the same time. (Note that if your device is a laptop then you may need to use Fn+CTRL+SHIFT+F3 all at the same time because the topmost keys on a laptop tend to be dual-function.)

      Your device will restart again into Audit Mode (step 10). At this point you can insert whatever USB stick contains the Windows 10 Decrapifier script and continue with step 11.

      Note that the other thread was more a general overview of the process rather than a proper step-by-step guide for someone who has never used the Windows 10 Decrapifier script before. My fault – I didn’t realise at the time that it would end up being a popular thread… so I may have to re-visit it and expand some of the information to make it clearer.

      In the meantime, feel free to ask any further questions.

      Hope this helps…

    • #2583127

      Hello,

      After reading this blog , all of the questions , all of the concerns, strifes  & struggles along with all of the incredibly ingenious methods , techniques , brainstorms, been-there-done-thats, speaking from experience , cautions , warnings , advice and much more , not to forget to mention that all bloggers-answers -advice/s-etc. – had a sincere tone of humanitarian care and almost — pc-brotherhood, regardless if they agreed or disagreed with another’s advice …..

      PLUS: “WOW, DID I LEARN MORE IN A 20 MINUTE READ THAN MY PAST 20+ YEARS OF TRIAL AND… LOL, MOSTLY ERRORS”.

      IN SHORT –

      “BEST SITE EVER !!!!,  BEST CARING & KNOWLEDGEABLE GROUP,  BEST PARALLEL ADVICE TECHNIQUES AND DIRECTION/S CONCERNING VERY REAL DAILY TECH QUESTIONS & ISSUES @HAND OF TODAY’S UNSPOKEN AWARENESS OF: “BEING LEFT STRANDED IN THE EVER-DARKENING SHADOWS OF ADVANCING TECHNOLOGIES’ WHILST DEALING WITH THE LESSENING FREEDOMS OF ONE’S  CHOICES, NEEDS AND WANTS. I CAN’T WAIT FOR THE ONSET OF NIGHTMARES WHICH LIE AHEAD OF US ALL AS A RESULT TOMORROW’S RUNAWAY, UNCENSORED AND UNMONITORED A.I.-TECHNOLOGIES.”

      HOWEVER,                                                                                                                        REGARDLESS IF THINGS GET THAT BAD OR NOT , I’LL CERTAINLY RETURN TO THIS VERY SITE PERIODICALLY TO REPLENISH WITHIN MYSELF WHAT WE HAVE ALL LONGED FOR MANY YEARS, YET NEVER VOICED …”MORALITY & HUMANITY, KINDNESS & COMPASSION, PLAYING WELL WITH OTHERS & ALTHOUGH IN THE MIDST OF DAILY TECH-STRESSORS….”STILL LENDING A HELPING HAND ONE ANOTHER”!!!!!!!

      “THANKS TO ALL & GREAT JOB!!!!!!!!”

      & ALWAYS REMEMBER WHAT NOSTRADAMUS QOUTED,

      “WO BE THE CIVILIZATION THAT PUTS TECHNOLOGIES BEFORE COMMON SENSE.”

      HHMM…OK,                                                                                                                      “SCRATCH THAT LAST PART AS WE ARE ALREADY MILES INTO THE MIDST…”

      THANKS ALL,

      CAPT. B                                                        ‘BE” THE CHANGE IN WHICH YOU SEEK’

      Mod edit: please refrain fron using uppercase text, as this represents fora shouting. Thank you

    Viewing 17 reply threads
    Reply To: Win10 Pro 22H2-DeBloating Applications: Do they work or cause more problems?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: