Another big problem with a lot of these things is you run them, then later Photoshop or Winget or VS isn't working suddenly and you have to try to figure out what service or component needs to be re-enabled. At one point I just re-installed over this...
The trouble is keeping it up to date between Windows updates because they auto-install the bloatware.
Just run the script again after a major update. Only takes a minute. And don't let Windows update automatically. I have used this script and it works well.
Also found this in the other comments https://atlasos.net