Home windows 11 ships with a large number of settings chances are you’ll by no means need and a handful of behaviors you’d most probably exchange if Microsoft made them more straightforward to seek out. There are monitoring services and products operating within the background via default, the Get started menu is stuffed with bloatware, and dozens of formulation configuration choices are buried throughout menus that appear purposefully difficult to understand. Sophia Script for Home windows 11 (there also are variations for Home windows 10 and Home windows 11 LTSC) is a loose, open-source PowerShell module constructed in particular to deal with all of this in a single position. Right here’s how one can use Sophia Script for Home windows.
What Is Sophia Script and What It Does?
Sophia Script is an open-source PowerShell module hosted on GitHub. It’s designed for Home windows 10 and Home windows 11 and incorporates greater than 150 particular person purposes that permit you to configure the working formulation. Whilst many of the adjustments can also be made thru Settings, the script shows the configuration in an easy-to-use program with all main options visual.
The script works thru configuration recordsdata being edited (commenting out the purposes you don’t need and uncommenting those you do), then run the usage of PowerShell. That versatility makes it extraordinarily robust, however you wish to have to have a cast take hold of of Home windows settings and what each and every possibility does.
The script’s purposes are arranged into extensive classes, each and every addressing a distinct a part of Home windows 11:
- Privateness and telemetry – Disables the DiagTrack (Hooked up Person Studies and Telemetry) provider, turns off promoting ID monitoring, disables job historical past and site services and products, and controls what diagnostic information Home windows sends to Microsoft.
- Bloatware elimination – Uninstalls pre-installed apps, together with Copilot, Xbox apps, Microsoft Groups client, Information, Climate, and others.
- OneDrive – Absolutely uninstalls OneDrive, together with its startup entries, scheduled duties, and shell integration.
- Scheduled activity automation – Creates pre-built scheduled duties for Home windows cleanup (disposing of unused replace recordsdata and temp recordsdata), SoftwareDistribution folder cleanup, and Temp folder upkeep.
- Interface customization – Configures Record Explorer conduct, adjusts the taskbar, manages context menu entries, controls seek conduct, and tweaks the Get started menu format.
- Machine and safety – Units Home windows Replace supply settings, configures formulation repair issues, manages app permissions, adjusts energy settings, and controls Home windows Defender.
- App associations – Exports and imports Home windows record kind associations as a JSON record, making it clean to duplicate your most popular app defaults throughout units.
- WSL and developer equipment – Installs the Home windows Subsystem for Linux with a pleasant distro variety steered and the newest Microsoft Visible C++ redistributables.
How you can Obtain Sophia Script for Home windows
The script is sent thru GitHub and can be put in by means of Winget or Scoop.
Step 1. Open PowerShell as administrator. Press Win + S, kind “PowerShell,” right-click the end result, and make a selection “Run as administrator.”
Step 2. To put in by means of Winget, run:
winget set up –identification TeamSophia.SophiaScript –accept-source-agreements
This downloads the newest model as a self-extracting archive this is right away run and must create a folder to your default obtain location.

On the other hand, pass to https://github.com/farag2/Sophia-Script-for-Home windows and obtain the newest liberate manually from the Releases phase. Extract the archive to a folder you’ll simply navigate to.
The folder incorporates the principle recordsdata you’ll paintings with: Sophia.ps1 (the preset/configuration record that lists which purposes to run) and Purposes.ps1 (the record that incorporates the real code for each and every serve as). You edit Sophia.ps1; you don’t wish to contact Purposes.ps1.
How you can Configure the Preset Record
Prior to operating anything else, you wish to have to open Sophia.ps1 and make a decision which purposes to allow. Visible Studio Code works best possible as it highlights explicit code sections and is more straightforward to navigate. Alternatively, you’ll additionally use Notepad++ because it doesn’t require a big obtain.
Step 1. Open Sophia.ps1 to your editor of selection.
Step 2. Scroll to the phase categorised “Preset configuration begins right here.” Each and every serve as on this phase is both energetic or commented out with a # image in the beginning of the road.

Step 3. To allow a serve as, take away the # from that line. To disable one, upload # in the beginning. Each and every serve as has a remark above it explaining precisely what it does.
Step 4. While you’ve configured the purposes you need, save the record. If you wish to stay your customized preset become independent from the unique, reserve it below a brand new title in the similar folder.
How you can Run Sophia Script
If truth be told operating the script is reasonably easy.
Step 1. Open PowerShell or Home windows Terminal as administrator.
Step 2. Navigate to the folder the place you extracted the Sophia Script. Proper-click at the cope with bar in Record Explorer and make a selection “Reproduction.”

Step 3. In PowerShell, kind in “cd” then an area, then paste within the cope with. Then click on “Input” to make PowerShell transfer to that location.

Step 4. Paste in and run the next line to present the script get right of entry to to the configuration settings:
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Procedure -Power
Step 5. Run your configured preset record:
.Sophia.ps1

When you’ve stored a preset below a distinct title, use that one.
The script will start executing the purposes you enabled. For purposes that come with interactive activates like deciding on which apps to uninstall, configuring scheduled duties, or surroundings telemetry ranges, the script will supply pop-up home windows asking to your enter, then stay up for a reaction earlier than proceeding.
Relying on what number of purposes you’ve enabled and what number of interactive activates seem, a standard first run takes between 10 and half-hour. Next runs of the similar preset are quicker since you recognize what each and every steered asks.
Automatic Scheduled Duties
Certainly one of Sophia Script’s simpler time-savers is its skill to create Home windows scheduled duties that carry out upkeep.
The duties it could create come with:
- Home windows Cleanup and Home windows Cleanup Notification: Cleans up unused Home windows replace recordsdata and transient formulation recordsdata on a agenda, with a toast notification earlier than it runs, so you’ll delay it.
- SoftwareDistribution cleanup: Periodically clears the %SystemRootp.cSoftwareDistributionDownload folder, the place Home windows shops downloaded replace programs which can be not wanted.
- Temp folder cleanup: Cleans the consumer %TEMP% folder on a agenda.
SophiApp: The GUI Choice
If enhancing a PowerShell script isn’t your most popular workflow, the similar developer has a significant other undertaking known as SophiApp 2.0. It’s a complete graphical interface that has many of the purposes of Sophia Script thru a point-and-click UI. It presentations you to be had tweaks arranged via class, means that you can toggle them on or off with checkboxes, and applies them whilst you click on “Follow.”
The trade-off is that SophiApp recently covers a moderately smaller serve as set than the overall script and is below energetic construction.
Issues to Stay in Thoughts Prior to Working the Sophia Script
Sophia Script is a formidable device, and the similar energy that makes it helpful additionally approach you must way it with some care:
- Make a complete formulation backup earlier than operating the script for the primary time. Even supposing each and every serve as makes use of formally supported strategies, you’re making actual adjustments to formulation conduct, and a repair level or symbol backup is excellent observe.
- Simplest allow purposes you know. The feedback in Sophia.ps1 give an explanation for each and every one.
- At all times run the script with administrator privileges.
- The script is up to date steadily to trace Home windows updates. After a big Home windows 11 function replace, you’ll wish to obtain the newest model of Sophia Script earlier than operating it once more to steer clear of making use of old-fashioned purposes.
- Some adjustments impact all customers at the gadget, no longer simply the present account. Purposes that change system-wide settings are categorised accordingly within the feedback.
Thank you to your comments!


