Releases: farag2/Sophia-Script-for-Windows
17.03.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.7
5.7...5.8
-
The
UninstallUWPApps
function huge update- The
PowerShell 7.x
version now shares the same codebase as PowerShell 5.1;- By loading the
WinRT.Runtime.dll
(289 KB) andMicrosoft.Windows.SDK.NET.dll
(25,4 MB) assemblies (both are being downloaded and archived by GitHub Actions) it becomes possible to get localized UWP apps packages names too; - https://github.com/microsoft/CsWinRT;
- https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref;
- By loading the
- Added the
Select all
button; - Fixed #141;
- Many fixes and improvements by @Inestic and iNNOKENTIY21
- The
-
The
Set-Association
function huge update- Fixed bug when PowerShell calculates the wrong hash;
- Now contains code from https://github.com/DanysysTeam/PS-SFTA and https://github.com/default-username-was-already-taken/set-fileassoc
-
Now possible to associate extension using the relative paths
-
Set-Association -ProgramPath "%ProgramFiles%\Notepad++\notepad++.exe" -Extension .txt -Icon "%ProgramFiles%\Notepad++\notepad++.exe,0"
-
Fix by westlife and @default-username-was-already-taken
-
Updated the
SoftwareDistributionTask
and theTempTask
task- Added pop-up notification after the successful task completion
- To update the existing
SoftwareDistributionTask
andTempTask
functions run (no need to restart)
.\Sophia.ps1 -Functions "SoftwareDistributionTask -Register", "TempTask -Register"
- Fixed #143
-
Fixed small bug in the
Windows Cleanup
function- To update the existing
Windows Cleanup
function run (no need to restart)
.\Sophia.ps1 -Functions "CleanUpTask -Register"
- To update the existing
-
Added the Portuguese translation
- Thanks to ZZ
-
Fixed typos;
-
Minor changes.
- Thanks to @gtumanyan
05.03.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.6
5.6...5.7
-
The
CleanupTask
function huge update;- Splited into two functions:
Windows Cleanup
andWindows Cleanup Notification
.Windows Cleanup Notification
enables you the option to run the cleanup task or not. TheWindows Cleanup Notification
function runs once every month and displays native toast notification where you can choose to snooze (with drop down menu time reminder), run the cleanup task now or dismiss. You will be asked for this notification about Windows cleanup once a month.
- To update the existing
Windows Cleanup
function run (no need to restart)
.\Sophia.ps1 -Functions "CleanUpTask -Register"
- Splited into two functions:
-
Added
MeetNow
function;- Hide or show the
Meet Now
icon in the system tray;
- Hide or show the
-
Updated Sophia Script Wrapper
- Fixed
LeaveAlone
outputting to script when pressingOutput PowerShell
; - Moved Tooltips
ControlPanelView
toOther
section;
- Fixed
-
Fixed typos;
-
Minor changes.
02.03.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.5
5.5...5.6
PinToStart
function fixed & updated- Now, wherever the
-UnpinAll
(unpin all tiles) argument is placed, it will always be executed first, to avoid the situation when the tiles were pinned and then all were unpinned;
- Now, wherever the
- The
HEIF
function huge update- Now it's possible to open Microsoft Store extension page manually (
-Manual
argument) or download and install (-Install
argument) appx package directly from Microsoft server using the https://store.rg-adguard.net parser; - Built upon awesome @KaiWalter function; 🚀
- Thanks to iNNOKENTIY21 for the tips.
- Now it's possible to open Microsoft Store extension page manually (
- Added the
Set-Association
function (commented out by default
);- Now it's able to register an app, calculate special hash, and set as default for specific extension without the "How do you want to open this" pop-up
- Built upon awesome @Danyfirex function; 🚀
- Learn more about the problem: https://stackoverflow.com/a/49256437/8315671;
- See examples in the preset file;
- Updated descriptions;
- Fixed typos;
- Minor changes.
21.02.2021
Windows 10 2004 2004/20H2/21H1 | LTSC
Diff from v5.4.0.1
5.4.0.1...5.5
-
Finally we created the video how to use Sophia Script!
-
Also I created a Telegram group if have a question about
Sophia Script
and too lazy to open an issue on GitHub -
The
PinControlPanel
,PinDevicesPrinters
,PinCommandPrompt
, andUnpinAllStartTiles
functions were rewritten into one,PinToStart
- Now it's possible to pin Control Panel, Device and Printers, and PowerShell shortcuts without using the
syspin
app — just pure PowerShell! syspin was removed. - You can choose what to pin
PinToStart -Tiles ControlPanel, DevicesPrinters, PowerShell
or unpin all tiles
PinToStart -UnpinAll
- Thanks to iNNOKENTIY21 for the tips.
- Now it's possible to pin Control Panel, Device and Printers, and PowerShell shortcuts without using the
-
Updated descriptions;
-
Fixed typos.
06.02.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.4
5.4...5.4.0.1
- Fixed UWP apps form not loading.
- The full changelog for all years can be found here.
04.02.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.3.3
5.3.3...5.4
- Now all archives are being created and uploaded to the release page via GitHub Actions;
- Thnx to @inv2004
- When running the script using
.\Sophia.ps1 -Functions "FunctionName1 -Parameter"
regardless of the functions entered as an argument, theCheckings
function will be executed first, and theRefresh
andErrors
functions will be executed at the end; - Updated the
CreateRestorePoint
function- Closed #124
- Updated the
EnableWSL2
function - Code refactoring for the
ScheduledTasks
,WindowsFeatures
,WindowsCapabilities
&UninstallUWPApps
- The
WindowsFeatures
function generates friendly Windows features names instead of packages names 🚀 - The
WindowsCapabilities
function generates friendly Windows capabilities names instead of packages names 🚀 - The
UninstallUWPApps
function generates friendly UWP apps names instead of packages names 🚀- Clicking on "Uninstall for all users" dynamically generates UWP apps list for all users and vice versa. Currently works only on PowerShell 5.1 🤔
- Thanks to iNNOKENTIY21 & @oz-zo
- Closed #56
- The
- Removed unnecessary
WSLSwap
&syspin
functions; - Updated description;
- Wrapper updated;
- Minor changes.
21.01.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.3.2
5.3.2...5.3.3
-
Added the feature to run the script by specifying module functions as parameters
- If you want to run the specific functions without editing the preset file you can run them as parameters now
.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Disable", Refresh
- The quotation marks required;
- Thnx to YuS 2 & iNNOKENTIY21 for spending their time.
-
Bugfixed and improved the "WindowsCapabilities" function. Thnx to cheetoh
-
There is a bug in KVM with QEMU: enabling the
DefenderSandbox -Enabled
function causes VM to freeze up during the loading phase of Windows- Read more on #120
-
The
MediaPlayback
feature in theWindowsFeatures
function is unchecked now by default. Thnx to Nevals- If you want to leave "Multimedia settings" in the advanced settings of Power Options do not uninstall this feature
-
Updated description;
-
Minor changes.
16.01.2021
Windows 10 2004/20H2/21H1 | LTSC
Diff from v5.3.1
5.3.1...5.3.2
-
Updated "TelemetryService" function
-
Renamed into "DiagTrackService";
-
Added "Disable firewall rule for Unified Telemetry Client Outbound Traffic and block connection" feature.
- Closed #116
- To do it manually run
Get-NetFirewallRule -Group DiagTrack | Set-NetFirewallRule -Enabled False -Action Block
-
-
Added online checking whether the current module version is the latest;
-
Added "Disable Caps Lock" function;
-
Swaped "disable"/"enable" arguments in the "AppsLanguageSwitch" function;
-
Minor changes.
22.12.2020
Windows 10 2004/20H2/21H1
Diff from v5.3
5.3...5.3.1
- Also uploaded the updated LTSC module version up to 5.0;
- Added a new logo on the main page. Logo made by teahead
- Added PowerShell 7.1
compatibility 🏆
- Closed #70;
- Anyway sometimes pinning shortcuts via syspin do nothing. It's PS Core bug. 🤔
- Fixed typo causing bug in
CleanUpTask -Register
function. Please re-register task; - Added
Logging
function using theStart-Transcript
cmdlet. Commented out by default.- To stop logging just close the console or type
Stop-Transcript
. The log will be being recorded into the script folder
- To stop logging just close the console or type
- Added
AppsLanguageSwitch
function. Lets use a different input method for each app window. Thanks to WindR - Updated the Italian translation. Closed #103. Thanks to @garf02;
- Updated syspin app up to the 0.99.9.1;
- Minor changes.
- Added the New Year
easter egg
to the console title! 🤭 - It's the latest release this year. 🤗 Happy New Year!
12.12.2020
Windows 10 2004/20H2
Diff from v5.2
5.2...5.3
- Some functions were updated and improved, especially
ScheduledTasks
,WindowsFeatures
,WindowsCapabilities
now support arguments to load pop-up dialog box;SetUserShellFolderLocation
gets-Custom
argument (commented out by default) to select a folder for the location of the user folders manually using a folder browser dialog. Closed #98;- Fixed and changed method for saving code for creating the "Windows Cleanup" task in
CleanUpTask
function;- There won't be any more AV false positives. Better to reregistre task again. Sometimes a toast didn't even load and the task runs forever. LOL
- Updated the
Sophia.ps1
preset file. Use the new one; - Added Spanish localization 🇪🇸. Thanks to @AnxoMJ;
- Updated, improved and simplified all localizations. Thanks to all translators;
- Now available in: 🇬🇧 🇨🇳 🇩🇪 🇫🇷 🇮🇹 🇷🇺 🇺🇦 🇹🇷 🇪🇸
- Updated descriptions;
- Closed #101
- Minor changes.
Also guy from benchtweakgaming.com created a GUI wrapper for the script. 🗡️