Windows 10/11 Debloat GUI/Debloater is now ‘Sophia Script Wrapper’!
Now with Windows 11 support! With this FREE software, you can easily create a PowerShell script file using a Graphical User Interface (GUI Front End) that you can run to tweak/”Debloat” Windows 10/11. You can make Windows 10/11 more lean. Tailor your Windows for gaming! Works on versions Windows 10 LTSC:1809/21H2 – 2019 and 2021 and Windows 10/11:22H2/23H2 – 2022 and 2023!
Are you looking for an easier solution? Try SophiApp! The full GUI version of Sophia Script! LINK: https://github.com/Sophia-Community/SophiApp
LINK to Download: https://github.com/farag2/Sophia-Script-for-Windows
SOURCES, REFERENCES & IMPORTANT NOTICES
We now work with farag2 (Dmitry Nefedov) the creator of Windows 10/11 ‘Sophia Script for Windows‘: https://github.com/farag2/Sophia-Script-for-Windows. Our tool is basically a front-end/GUI wrapper for the source scripts to make things easier to choose the many options. Check updates to see what we have added. farag2’s GitHub now hosts our wrapper. We try to work with farag2/Dmitry to update the main script when we find anything that needs work. We are getting more involved with his projects.
NOTICE 1: During the PowerShell script run you will still encounter prompts requiring your attention. So be near your computer to input your responses.
NOTICE 2: This program only reads from JSON files. Everything is done through these files so you can modify every option.
ABOUT PROGRAM: We are beginner programmers so things look quite ‘beginner-level’. The whole idea of this Front End/GUI Wrapper was to build a ‘selection form builder’ to create selection options from reading simple JSON files so anyone could add their own options to the program themselves via adding to or removing from it. This way we don’t have to come back and hardcode new options. Therefore the program is end-user maintainable, fixable and shareable. Also, by creating a PowerShell script, it is now portable and shareable without the GUI wrapper. We are trying to improve it. Check Future Updates.
This program creates a PowerShell script file that you can run to tweak/’Debloat’ Windows 10/11. Please choose to create a restore point in ‘System Protection’ tab so you can safely use this tool.
NEW CHANGE: The wrapper can be launched anywhere (no more copying the wrapper files to the ‘Sophia’ script folder) but you must import the ‘Sophia.ps1’ file to import your preset and to get the path for files to run. If you do not open ‘Sophia.ps1’ then the Wrapper controls are disabled. The options are arranged in different tabs and there is a Sophia and Windows Default preset in the Presets menu so you can debloat a set of options or revert back to defaults. You can choose the Sophia preset first and then add your own choices. Create your own “Sophia.ps1” file to share and read with the wrapper. There are ToolTips balloon message popups for detailed info for each label and option. There is ‘Opposite’ selection to choose alternate choices. There is language selection for ToolTips and UI.
HOW TO USE
Sophia Script Wrapper can be used without installation. Navigate to the GitHub “Releases” page and download the “Wrapper” zip and appropriate “Script” zip for your Windows version.
- Click “Import | Export” menu item and click “Import Preset” and browse to the “Script” folder (on Desktop for example) and open “Sophia.ps1”
- The Wrapper’s controls should be enabled now for you to choose your selections. Most of the controls of each tabs should be filled with the imported “Sophia.ps1” selections. “Sophia.ps1” contains the “Sophia Preset” which is recommend selections.
- Go to the “Console Output” to see the PowerShell script created from your selections and click the “Run PowerShell” button to execute the script. The “Run PowerShell” button creates overwrites imported “YOUR.ps1” and runs it. It makes a backup of “Sophia.ps1” called “Sophia_original.ps1” if import file is called “Sophia.ps1”.
Save (Export) the PowerShell script generated from your selections as whatever you want with Sophia files (see heading FILES below heading Sophia Files) and run it using the following commands.
Launch PowerShell (Run as administrator) and navigate to where your script is.
- Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
YOUR_SCRIPT is the exported save file you named.
Future Updates / Upcoming Developments
SophiApp released (Full GUI version of Sophia Script: CLICK HERE!). We will continue to update the wrapper program to work with future Sophia scripts alongside SophiApp. Almost finished v3.0 of Wrapper using WinUI3 and C#.
Fixed JSON configs and minor changes
Bug fixes: SnapAssistFlyOut function removed for Windows 11, Checks function auto-select -Warning
Checks option auto-select removed
Minor addition: OneDrive -ForAllUsers function support
Add “before_after.json” to allow to add functions names before and after user selection in PowerShell script output
Added new control that combines combobox and checkboxes (PreventEdgeShortcutCreation in System tab)
Fixed some bugs, Added Discord link
Output PowerShell: Refresh Console before Export, Output DNSoverHTTPS for other languages other than English
Fixed minor UI bug, Resized width of window for Russian and fixes scrolling per tab.
Added category “Update Policies”.
More validation for JSON added, Backup of “Sophia.ps1” to “Sophia-original.ps1” if using import ps1 file called “Sophia.ps1”, Otherwise if importing “x.ps1”, the file will be overwritten if the “Run PowerShell” button is used
Cleaned up JSONs, Cleaned up code, Added Portuguese-Brazil (pt-BR), JSON validation checker in wrapper: messagebox will popup telling you location of JSON error, Added support for LTSC 2021
Cleaned up code, Fixed typos in JSONs, Added Spanish (es-ES), Fixed UI
More JSONs. Split up Windows 10 and Windows 11 config and tooltip JSONs files, Console Textbox is now resizable, Moved “Save As” button to ‘Export Preset’ in ‘Import/Export Preset’ menu
German translation updated, Must import “Sophia.ps1” before using wrapper now – the controls are disabled to do this, UI changes (color to highlight important controls) and bug fixes.
German translations, Added icons to tabs, fixed bugs, UI changes.
Updated to support Windows 11 along with 10. Fixed a number of bugs. UI and ToolTip JSON files. Links to Telegram chat for support (News channel and Chat Channel).
Improved UX, All settings were moved to JSON file (3,600 lines), UI changes.
Fixed runtime error, Fixed PowerShell 7.1 launch (detects 5.1 or 7.1 and uses appropriate PowerShell to launch either), Added online check for the latest Wrapper version. If you are using old version it will exit. Added online check for the latest imported script version. If you are using old version it will disable directly running (run PowerShell button disabled), UI changes
Added “Opposite” selection, language selection, Russian ToolTips, and fixed some bugs.
Redesigned UI/UX with modern UI and optional theme changes “Dark/Light”.
NEW CHANGE: The wrapper can be launched anywhere after unzipping ZIP package (no more copying the wrapper files to the ‘Sophia’ script folder) but you must import the ‘Sophia.ps1’ file to import your preset and to get the path for files to run. If you do not open ‘Sophia.ps1’ then the Wrapper controls are disabled.
The most settings are stored in a JSON file stored in a folder “Config”. There are currently 3 languages for UI and ToolTips: English, Russian and German in separate JSON files. Please help with translations for everyone to use.
►Sophia Script Wrapper.exe : The GUI program.
►config_Windows_1x.json: JSON that contains the options (function names), Win10/11, Sophia preset and Windows Default preset. LTSC version.
►before_after.json: JSON that contains the options (function names) for before and after the user selections for PowerShell script output.
►tooltip_Windows_1x.json : ToolTips in JSON format. Currently just 3 languages EN, RU, DE translations.
►tag.json : Tags in JSON format. Currently just 3 languages EN, RU, DE translations.
►ui.json : UI in JSON format. Currently just 3 languages EN, RU, DE translations.
►README.md: Documentation. Information found here in this post.
►Sophia.ps1 : farag2 Original Windows PowerShell Script. Make a copy of this file for backup. Open this file to import preset and to get path for files to run directly the script you create.
►Sophia.psd1 : farag2 Windows PowerShell Data File.
►Sophia.psm1 : farag2 Windows PowerShell Script Module.
►Functions.ps1 : farag2 PowerShell Script to run functions with tab autocompletion
The folders are localized language files for prompts during the PowerShell execution each with a PowerShell Data File ‘Sophia.psd1’.
SophiApp is the full GUI version of Sophia Script. It is made in pure C# and WPF. Features all the functions of the Sophia Script in a standalone/portable EXE. Link: https://github.com/Sophia-Community/SophiApp
We have an alternative on our second site called Windows 11 Debloater. It has an ‘EZ Debloater‘ page with buttons to quickly debloat and ‘Advanced Debloater‘ with 4 presets and different options including 3rd Party installation of Adobe Reader, Brave, MPCHC, VLC Player, etc., setting default apps associations and fine control of removing other 45+ Windows apps. Link: https://freetimetech.com/windows-11-debloater-tool-debloat-gui/
We have an alternative on our second site called Windows 10 Debloater. It has an ‘EZ Debloater‘ page with buttons to quickly debloat and ‘Advanced Debloater‘ with 4 presets and different options including 3rd Party installation of Adobe Reader, Brave, MPCHC, VLC Player, etc., setting default apps associations and fine control of removing other 45+ Windows apps. Link: https://freetimetech.com/windows-10-clean-up-debloat-tool-by-ftt/
We also have Optimize-Offline Front End. Optimize-Offline is a Windows Image optimization module for Windows 10. Our tool allows to easily change Optimize-Offline JSON configuration setting file using a GUI and Run O-O. Link: https://benchtweakgaming.com/2020/11/01/optimize-offline-gui-tool-front-end/
WARNING! We are not responsible for any problems you may encounter using our software. Please read the instructions and watch the video carefully before using.