I had a customer asking for a script to automate several Windows interface elements, so a PowerShell script is here to save the day. Tested on Windows 11 24H2, YMMV. All sections are commented.

Note: If deploying with Intune, set the script to run in User context by selecting "Run this script using the logged on credentials".

What it does

  • Disables Windows Spotlight, feedback prompts, and personalized suggestions.
  • Adds the "This PC" icon to the desktop.
  • Sets display scaling to 125% (takes effect after a fresh sign-in).
  • Aligns the taskbar to the left and tweaks combine behavior.
  • Hides Task View, Widgets, and Search on the taskbar.
  • Launches File Explorer windows in separate processes for stability.
  • Default apps must be handled separately via an Intune configuration profile.