Sophia-Script-for-Windows

The most powerful PowerShell module on GitHub for fine-tuning Windows 10 & Windows 11

MIT License

Stars
7.3K
Committers
30

Bot releases are hidden (Show)

Sophia-Script-for-Windows - 28.03.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2

Diff from v6.4.2
6.4.2...6.4.3

  • Improved Checks;
    • Expanded the list of harmful tweakers, trojans and other unwanted apps blocking the script running;
    • Added Microsoft Edge installation if it was removed by harmful tweakers. WebView2 Runtime is a mandatory Windows component.
  • Minor changes and improvements.
Sophia-Script-for-Windows - 20.03.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2

Diff from v6.4.1
6.4.1...6.4.2

Wrapper 2.6.4

  • Minor changes.
Sophia-Script-for-Windows - 14.03.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2

Diff from v6.4.0
6.4.0...6.4.1

  • Code refactoring;
  • Fixed a bug in ShowMenu function when Windows Terminal console was overbuffered that broke interractive ShowMenu;
  • Fixed IPv6Component by switching to https://ipify.org
  • Removed CheckUWPAppsUpdates function and intergrated into code;
  • Renamed SetUserShellFolderLocation function into Set-UserShellFolderLocation;
  • Many small changes and improvements.
Sophia-Script-for-Windows - 08.03.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 22H2 | Windows 11 22H2

Diff from v6.3.2
6.3.2...6.4.0

  • Dropped support for Windows 11 22000 & Windows 10 21H2;

  • CleanupTask, SoftwareDistributionTask, TempTask re-written;

    # With dot at the beginning
    . .\Functions.ps1
    
    Sophia -Functions "CleanupTask -Register", "SoftwareDistributionTask -Register", "TempTask -Register"
    
  • Improved WSL-Install;

  • Removed RunPowerShellShortcut function as not necessary any more;

  • WSA function renamed into Install-WSA and has no parameters any more;

  • Added TaskbarSearch -SearchIconLabel new parameter to configure search bar design on the taskbar;

  • Added SATADrivesRemovableMedia function to prevent all internal SATA drives from showing up as removable media in the taskbar notification area

  • #453 closed;

  • Many small changes and improvements.


Sophia-Script-for-Windows - 11.02.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.3.1
6.3.1...6.3.2

  • Improved and fixed WSL-Install function when WSL output was parsed wrong;

    • Thanks to @lowl1f3.
  • Improved OneDrive function;

  • #449 closed;

  • Minor changes.

  • Wrapper 2.6.3

    • Minor changes.
Sophia-Script-for-Windows - 06.02.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.3.0
6.3.0...6.3.1

  • WSL function re-written and renamed into WSL-Install

    • Now it generates always actual distros supported list by parsing the wsl --list --online output;
    • img
    • Thanks to @Inestic, the main SophiApp developer.
  • Improved OneDrive function;

  • Added NavigationPaneExpand function to expand navigation pane to open folder

    • Closes #444.
  • Renamed HEIF function to HEVC;

  • Minor changes.

  • Wrapper 2.6.2

    • Minor changes.
Sophia-Script-for-Windows - 30.01.2023

Published by farag2 over 1 year ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.7
6.2.7...6.3.0

  • Added new function to prevent Microsoft Edge desktop shortcut creation upon its' update;

    • By default it prevents for all Microsofot Edge channels (with checks if any of them is installed): PreventEdgeShortcutCreation -Channels Stable, Beta, Dev, Canary.
  • The IPv6Component function gets new argument -PreferIPv4overIPv6 to Enable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections if your ISP supports it. Prefer IPv4 over IPv6;

    • Closes #440.
  • Improved scheduled tasks functions: now it checks if tasks were already created for another user;

  • Fixed rare bug for SetUserShellFolderLocation function when Microsoft Terminal deblicates PC drivers in the menu;

  • Minor changes.

  • Wrapper updated up to 2.6.1;

    • Now fully compatitable with the latest script version.
Sophia-Script-for-Windows - 08.01.2023

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.6
6.2.6...6.2.7

  • Improved Microsoft Defender startup checks;
  • Improved Badge.yml config;
  • Minor changes.
Sophia-Script-for-Windows - 26.12.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.5
6.2.5...6.2.6

  • Improved Defender startup checks;

    • Thanks to @alan-null.
  • Improved UninstallPCHealthCheck function to install the "PC Health Check" app (Windows 10 only);

    • Thanks to @alan-null.
  • Renamed InstallDotNetRuntime7 into InstallDotNetRuntimes to let users install .NET Desktop Runtime 6 along side with the 7th version;

  • Added FolderGroupBy function to let users do not group files and folder in the File Explorer;

  • Minor changes.

  • With best wishes for a happy New Year from Team Sophia img

Sophia-Script-for-Windows - 11.12.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.4
6.2.4...6.2.5

  • Switched .NET Desktop Runtime 6 to the 7th version;
  • Minor changes.

Wrapper

  • Removed annoying pop-up notification while importing preset;
  • @BenchTweakGaming.
Sophia-Script-for-Windows - 04.12.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.3
6.2.3...6.2.4

  • Updated the Scheduled tasks notification toasts UI;
    Image
    • Call Sophia -Functions "CleanupTask -Register", "SoftwareDistributionTask -Register", "TempTask -Register" to update existing Scheduled tasks to have a new toasts UI;
    • Read how to call specific function from Sophia Script for Windows.
  • Fixed bug for TempFolder function to make it work without errors on systems with non-latin characters in username;
  • Fixed small bug in NetworkAdaptersSavePower;
    • Now it doesn't hang script in rare cases.
  • EditWithPhotosContext and CreateANewVideoContext function were removed for Windows 11 only due to they do not work for this Windows;
  • Added EditWithClipchampContext for Windows only to let remove Edit with Clipchamp from the media files context menu;
  • Fixed typos in UpdateLGPEPolicies function
  • #411 merged;
  • Fixed #406;
  • Minor changes.

Wrapper version bumped to 2.5.8

  • Minor changes and added link to Discord channel;
  • Wrapper 3.0 is on the way;
  • @BenchTweakGaming.
Sophia-Script-for-Windows - 04.11.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.2
6.2.2...6.2.3

  • Hot fix for HEIF function;
    • Thanks to Ravz59 for bug reporting.
  • UnpinAllStartApps re-written. Now there is no need to keep start.bin file to unpin start tiles.
Sophia-Script-for-Windows - 02.11.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.1
6.2.1...6.2.2

  • HEIF function was re-written;
    • Now it downloads the latest HEVC codec package using the https://store.rg-adguard.net parser again;
    • Now it checks version of installed package before installing;
    • #406 closed.
  • Minor changes.
Sophia-Script-for-Windows - 31.10.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.2.0
6.2.0...6.2.1

  • Fixed old bug in Meet Now function when it didn't save registry key value;
  • Improved all scheduled tasks creation;
    • Unified tasks with SophiApp: they are created now in Sophia folder;
    • When you remove all tasks in the Task Scheduler, folder will be removed too;
  • Added missed strings in the Wrapper configs;
  • Improved Wrapper German translation;
    • Thanks to @Henry2o1o.
  • Minor changes.
Sophia-Script-for-Windows - 23.10.2022

Published by farag2 almost 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.1.5
6.1.5...6.2.0

  • Moved from PolFileEditor.dll to LGPO.exe from Microsoft;

    • It lets manually created policies keys in registry be visible in gpedit.msc snap-in by re-building policy cache by official way;
    • So all functions that rely on policy will be visible in the snap-in for you;
    • The UpdateLGPEPolicies was edited to be suitable for a new method based on LGPO.exe;
      • Commented out be default now.
  • Added a new function Cursors

    img

    • Lets you to install free (light and dark) "Windows 11 Cursors Concept v2" cursors from Jepri Creations on-the-fly;
    • Default option is Dark.
  • The InstallVCRedist function now installs both x86 and x64 Visual C++ Redistributable 2015–2022 packages;

  • Fixed bug in the Windows Cleanup scheduled task for cleaning Windows. If you applied this function in 6.1.5 release, re-apply in again using this release, unless the task won't run at all.

    • How-to call specific function
    Sophia -Functions "CleanupTask -Register"
    
  • Minor changes.

Sophia-Script-for-Windows - 09.10.2022

Published by farag2 about 2 years ago

actions actions Discord

Donate

Enterprise LTSC 2019 | Enterprise LTSC 2021 | Windows 10 21H2/22H2 | Windows 11 21H2/22H2

Diff from v6.1.4
6.1.4...6.1.5

  • Added a temp workaround to check whether PolFileEditor.dll assembly was loaded due to even it was unblocked for SmartScreen before, it's blocked for loading into PowerShell session;
    • Fixes bug when script couldn't load PolFileEditor.dll into session and broke the functionality that relies on it. Now if script detects that PolFileEditor.dll wasn't loaded, offer to restart powershell.exe session.
    • Will be obsolete with the 6.2.0 release.
  • Fixed winget not installing Visual C++ Redistributable 2015–2022;
    • Microsoft changed package identifier.
  • Minor changes.

Check out SophiApp 1.0.84! 🚀

Image

Sophia-Script-for-Windows - 13.08.2022

Published by farag2 about 2 years ago

actions actions Discord

Donate

Windows 11 21H2/22H2 | Windows 10 2004/20H2/21H1/21H2/22H2 | Enterprise LTSC 2021 | Enterprise LTSC 2019

Diff from v6.1.3
6.1.3...6.1.4

  • We opened our official Discord channel! Feel free to chat and talk! Discord

  • Improved Defender checkings;

    • Now they're skipped for Windows 10 Enteprise G;
    • Closes #379.
  • Now all all .ps1, .psm1, .psd1 files are signed in cloud via GitHub Actions by a self-issued certificates;

  • Removed unnecessary BitLockerContext function;

  • Improved UpdateLGPEPolicies function;

    • Now it covers more GPOs to find in AMDX templates;
    • Thanks Alex_Piggy for the code snippet.
  • Fixed bug when user couldn't launch PowerShell 7 based script if there is no localization for user's system;

    • Closes #377.
  • OpenWindowsTerminalAdminContext function was re-written;

    • OpenWindowsTerminalAdminContext -Enable, OpenWindowsTerminalAdminContext -Disable;
    • Now it uses officially documented feature to make Windows Terminal to launch as administrator by default by editing %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json file.
      To remove old context menu item, run
    $Items = @(
      "Registry::HKEY_CLASSES_ROOT\Directory\Background\shell\runas",
      "Registry::HKEY_CLASSES_ROOT\Directory\shell\runas"
    )
    Remove-Item -Path $Items -Recurse -Force -ErrorAction Ignore
    

    And make Windows Terminal context menu item visible if you hid it before.

    Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{9F156763-7844-4DC4-B2B1-901F640F5155}" -Force -ErrorAction Ignore
    
  • Improved the Ukrainian 🇺🇦: translation.

    • Thanks to @lowl1f3;
    • #378 merged.
  • Minor changes.

Check out SophiApp 1.0.77! 🚀

Image

Sophia-Script-for-Windows - 27.07.2022

Published by farag2 about 2 years ago

Windows 11 21H2/22H2 | Windows 10 2004/20H2/21H1/21H2/22H2 | Enterprise LTSC 2021 | Enterprise LTSC 2019

Diff from v6.1.2
6.1.2...6.1.3

  • Strengthen the Defender checking whether it was destroyed by 3rd party apps;
  • Improved and fixed bug when DNSoverHTTPS function didn't enable DNS-over-HTTPS feature;
    • Please check if it's enabled for you in the Settings;
    • #374 closed.
  • Improved the Ukranian 🇺🇦 : translation.
    • #375 merged.
  • Minor changes.

Sophia Script Wrapper 2.5.7

  • Output PowerShell: Refresh Console before Export
  • Output DNSoverHTTPS for other languages other than English
Sophia-Script-for-Windows - 16.07.2022

Published by farag2 over 2 years ago

Windows 11 21H2/22H2 | Windows 10 2004/20H2/21H1/21H2/22H2 | Enterprise LTSC 2021 | Enterprise LTSC 2019

Diff from v6.1.1
6.1.1...6.1.2

Anniversary build of Sophia Script!💯⭐

  • Improved startup checkings, especially regarding Microsoft Defender whether it wasn't removed or destroyed by malicious tweakers;
  • Added RKNBypass function to enable proxying only blocked sites from the unified registry of Roskomnadzor;
  • Added WSA function to enable the latest Windows Subsystem for Android™ with Amazon Appstore;
    • All necessary dependencies will enabled (reboot may require) and the Microsoft Store WSA page will be opened to install it manually;
    • To use Windows Subsystem for Android™ on your device, your PC needs to have Solid State Drive (SSD) installed.
  • #365 closed
  • Minor changes;
  • Fixed numerous typos.

Sophia Script Wrapper 2.5.6

  • @BenchTweakGaming fixed minor UI bug;
  • Resized width of window for Russian and fixes scrolling per tab.
Sophia-Script-for-Windows - 05.07.2022

Published by farag2 over 2 years ago

Windows 11 21H2/22H2 | Windows 10 2004/20H2/21H1/21H2/22H2 | Enterprise LTSC 2021 | Enterprise LTSC 2019

Now you can download the always latest Sophia Script archive by invoking (not as administrator too) in PowerShell console

irm script.sophi.app | iex

The command will download and expand the latest Sophia Script archive (without running) according which Windows and PowerShell versions it is run on. If you run it on Windows 11 via PowerShell 5.1, it will download Sophia Script for Windows 11 PowerShell 5.1.

Diff from v6.1.0
6.1.0...6.1.1

  • Now the repo doesn't keep any 3rd party libraries, and all scripts are built using an updated GitHub Action config;
  • Fixed bug in NetworkAdaptersSavePower function when script hung if one network adapter was disabled;
    • Reported by @poohart.
  • Fixed bug in UninstallUWPApps function for PowerShell 7 based scripts when a WPF form didn't render at all;
    • Reported by @poohart.
  • Improved UpdateLGPEPolicies function;
    • Now it creates GPT.ini file automatically if it doesn't exist.
  • Minor changes;
  • Fixed numerous typos.

Sophia Script Wrapper 2.5.5

  • @BenchTweakGaming fixed bug when the app crashed if a PowerShell 7 preset was imported;
  • Minor changes;

Check out SophiApp 1.0.0.71! 🚀

SophiApp
SophiApp

File SHA256
Sophia.Script.for.Windows.10.LTSC.2019.v5.3.1.zip 1C8B3B5CA76BF20651D53C5F882973D8CA1CDBDE9114BCF1C8C11FC3EC80F17D
Sophia.Script.for.Windows.10.LTSC.2021.v5.13.1.zip 87CB29F92B751820F6E8E901135DAA6BC3D2C19949EF05BDB02A7BED9272F8B5
Sophia.Script.for.Windows.10.PowerShell.7.v5.13.1.zip 23C57610C217F0DA4613DEE82F2C8BB4CC07614FBF9430EDD4D80942D7EEF5E8
Sophia.Script.for.Windows.10.v5.13.1.zip 102C549F02C7E5B4F0981894AD9FE1C98F9C0333901C00EC17170FF29BD7DF03
Sophia.Script.for.Windows.11.PowerShell.7.v6.1.1.zip D4A7F070021AC1D55382104A25984ADF68C51F34D4A2F928FC57ACF3C7EFC98C
Sophia.Script.for.Windows.11.v6.1.1.zip 4CD9684972120694CD9E361E53AEB4B175CC9ED496B558BC5BEE6407EC86B354
Sophia.Script.Wrapper.v2.5.5.zip 15FE538DFEF0C288752A5941E0230C326C75FB27C967798F7EDDDF18BD23E012
Badges
Extracted from project README
Telegram Telegram Discord ko-fi YT YT YT Discord
Related Projects