Debloating Windows 10/11

Windows 11 is the most popular Operating System right now. Despite its flaws in performance and security, people continue to use it due to the wide compatibility of hardware and software it offers.

However a lot of those software flaws can be fixed by using 3rd party debloat tools. Today, I am here with one such tool – Sophia script by farag2. It is the largest PowerShell module in GitHub for Windows 10 and Windows 11 for fine-tuning and automating routine tasks

windows 11

Features

  • Set up Privacy & Telemetry;
  • Turn off diagnostics tracking scheduled tasks with pop-up form written in WPF;
  • Set up UI & Personalization;
  • Uninstall OneDrive “correctly”;
  • Interactive prompts;
  • The TAB completion for functions and their arguments (if using the Functions.ps1 file);
  • Change %TEMP% environment variable path to %SystemDrive%\Temp
  • Change location of the user folders programmatically (without moving user files) within interactive menu using arrows to select a drive
    • “Desktop”;
    • “Documents”;
    • “Downloads”;
    • “Music”;
    • “Pictures”
    • “Videos.
  • Uninstall UWP apps displaying packages names;
    • Generate installed UWP apps list dynamically
  • Restore the default uninstalled UWP apps for current user displaying localized packages names;
  • The TAB autocompletion for function and its’ arguments by typing first letters
  • Disable Windows features displaying friendly packages names with pop-up form written in WPF;
  • Uninstall Windows capabilities displaying friendly packages names with pop-up form written in WPF;
  • Download and install the HEVC Video Extensions from Device Manufacturer from Microsoft server using https://store.rg-adguard.net parser to be able to open .heic and .heif formats;
  • Register app, calculate hash, and set as default for specific extension without the “How do you want to open this” pop-up using special function;
  • Install any supported Linux distrobution for WSL displaying friendly distro names with pop-up form written in WPF;
  • Create a Windows Cleanup and Windows Cleanup Notification scheduled tasks for Windows cleaning up unused files and updates;
    • A native toast notification will be displayed where you can choose to snooze, run the cleanup task or dismiss
  • Create tasks in the Task Scheduler to clear
    • %SystemRoot%\SoftwareDistribution\Download
    • %TEMP%
  • Pin shortcuts to Start via pure PowerShell
    • Three shortcuts are pre-configured to be pinned: Control Panel, “old style” Devices and Printers, and Windows PowerShell
  • Unpin all Start menu tiles;
  • Turn on Controlled folder access and add protected folders using dialog menu;
  • Add exclusion folder from Microsoft Defender Antivirus scanning using dialog menu;
  • Add exclusion file from Microsoft Defender Antivirus scanning using dialog menu;
  • Refresh desktop icons, environment variables and taskbar without restarting File Explorer;
  • Configure the Windows security;
  • Many more File Explorer and context menu “deep” tweaks.

Setting Up

  1. Download the latest version
  2. Extract the archive using 7-Zip or Windows Explorer
  3. Open the folder
  4. Open the Sophia.ps1 file in a text editor and look through the options.
  5. Place a ‘#’ character before the function you don’t want to be run.
  6. Right click on the Windows icon in the taskbar and select Windows Terminal (Admin). Then change the current location
Set-Location -Path "Path\To\Sophia\Folder"

7. Set execution policy to be able to run scripts only in the current PowerShell session

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force

8. Type .\Sophia.ps1 Enter to run the whole preset file.

Support

You can contact the developer or ask questions on the following support channels

Leave a Comment