The most powerful PowerShell module on GitHub for fine-tuning Windows 10 & Windows 11
MIT License
Bot releases are visible (Hide)
Published by farag2 over 3 years ago
Diff from v5.10.4
5.10.4...5.10.5
File | SHA-256 |
---|---|
Sophia.Script.LTSC.v5.2.5.zip | 5D7C674274B23E67C64B344FAFA5CCC1654DE93E734705D9AABB9617D1461CF5 |
Sophia.Script.v5.10.5.PowerShell.7.zip | F0B89CE96FFCB2B98A263CDD44B3AE8D7939C58292D00D347E0FC3DD9FB4C79E |
Sophia.Script.v5.10.5.zip | 7A98B7B4C14B0569A5C757ADE8CA04F177FC7ACEC7BEADACCBC30DA640F422C1 |
Sophia.Script.Wrapper.zip | F0033929AC31804CDCB3947E6996A3BEC3B623F278FAB3526A12A06337C3F368 |
Published by farag2 over 3 years ago
Diff from v5.10.3
5.10.3...5.10.4
Sophia.ps1
preset file;
Warning
argument in the Checkings
function in the preset file.Localizations
folder;ProcessCreation.xml
file saving in the EventViewerCustomView
function;
EventViewerCustomView -Enable
.File | SHA-256 |
---|---|
Sophia.Script.LTSC.v5.2.4.zip | F0D7F9537FD9D001BD3FC92E03AC249DA5DE94EA250076366748AB0D80919E19 |
Sophia.Script.v5.10.4.PowerShell.7.zip | 496DEA022FA6A3F83FD676D0D2739DAE0E76899BB545FBCFB0780735D3944C10 |
Sophia.Script.v5.10.4.zip | 87DC9434865F10D05BD0AD36B5E09D8A7BD4B8BC04DFA4B2F57FE6F530FEDF43 |
Sophia.Script.Wrapper.zip | E0444F8A212EC92534F54C1DA663853F4EF1CB62BA7FF18BABD7B0BA64E17463 |
Published by farag2 over 3 years ago
Diff from v5.10.2
5.10.2...5.10.3
DiagnosticDataLevel
function updated;
DiagnosticDataLevel -Minimal
or DiagnosticDataLevel -Default
;ErrorReporting
& RecommendedTroubleshooting
functions updated;File | SHA-256 |
---|---|
Sophia.Script.LTSC.v5.2.3.zip | 126CF01DDA127EEF0C822516E3F5B306D53BCA6CD09674FC4AA4783A8CA9D48C |
Sophia.Script.v5.10.3.PowerShell.7.zip | D4B7A7483610CCB910ACA36480725049E05B0A9172CA5D722C878DB77E7902FA |
Sophia.Script.v5.10.3.zip | 77B85259A91C43AF3C107D67CCC8A6B719B1A8F43F73F0E4C7C017B7BF9AEE15 |
Sophia.Script.Wrapper.zip | C2B03ABCA29B29D273C3D92EAD30168FAA90E851B6CB685BA7E1AEE5D6AAF07C |
Published by farag2 over 3 years ago
Diff from v5.10.1
5.10.1...5.10.2
Published by farag2 over 3 years ago
Diff from v5.10
5.10...5.10.1
The development focus shifted to SophiApp 🚀
The TAB automplete function improved;
Revert the feature to call functions from Sophia.ps1
.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Uninstall"
Closed #158;
Remove the unnecessary AppMode
function in LTSC version;
Sophia Script Wrapper' version bumped to 1.1: UI updated;
Minor changes. :feelsgood:
Published by farag2 over 3 years ago
Diff from v5.9
5.9...5.10
Added the Tab automplete function for functions and their arguments by typing its' first letters
The code from Sophia.ps1 moved to the Functions.ps1
file;
If you want to call the specific function you need to dot source the Functions.ps1
first
# With a dot at the beginning
. .\Functions
Sophia -Functions <tab>
Sophia -Functions temp<tab>
Sophia -Functions unin<tab>
Sophia -Functions "DiagTrackService -Disable", "DiagnosticDataLevel -Minimal", UninstallUWPApps
The code isn't perfect but it works. Anyway it's better than recalling the functions' names. Hopefully I'll improve it in the next releases.
RestoreUWPApps
function;PinToStart
function when it was unable to pin the "Devices and Printers" shortcut;UninstallUWPApps
function when packages names displayed in the center instead of the top;TempTask
task removes only files and folders older than a day;21H1, 19043
build support;Open PS1
choice in the "Options" menu;<#privacy&telemetry#>
regions are now "#region Privacy & Telemetry
format;#region ...
line or it will fail to read the PS1 file.Published by farag2 over 3 years ago
Diff from v5.9
5.8...5.9
UnpinTaskbarEdgeStore
function again;
UninstallUWPApps
breaks the retrieval of the localized UWP apps packages names;TempFolders
and the OneDrive
functions update
TempFolders
totally rewritten using the MoveFileExA
function
MOVEFILE_DELAY_UNTIL_REBOOT
flag all unremovable files and folder will be removed after reboot (log off) automatically. After that the temporary scheduled task will create a symobolic link and remove itself;public enum MoveFileFlags
{
MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004
}
[DllImport("kernel32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, MoveFileFlags dwFlags);
public static bool MarkFileDelete (string sourcefile)
{
return MoveFileEx(sourcefile, null, MoveFileFlags.MOVEFILE_DELAY_UNTIL_REBOOT);
}
Published by farag2 over 3 years ago
Diff from v5.7
5.7...5.8
The UninstallUWPApps
function huge update
PowerShell 7.x
version now shares the same codebase as PowerShell 5.1;
WinRT.Runtime.dll
(289 KB) and Microsoft.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;Select all
button;The Set-Association
function huge update
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 the TempTask
task
SoftwareDistributionTask
and TempTask
functions run (no need to restart).\Sophia.ps1 -Functions "SoftwareDistributionTask -Register", "TempTask -Register"
Fixed small bug in the Windows Cleanup
function
Windows Cleanup
function run (no need to restart).\Sophia.ps1 -Functions "CleanUpTask -Register"
Added the Portuguese translation
Fixed typos;
Minor changes. :feelsgood:
Published by farag2 over 3 years ago
Diff from v5.6
5.6...5.7
The CleanupTask
function huge update;
Windows Cleanup
and Windows Cleanup Notification
. Windows Cleanup Notification
enables you the option to run the cleanup task or not. The Windows 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.Windows Cleanup
function run (no need to restart).\Sophia.ps1 -Functions "CleanUpTask -Register"
Added MeetNow
function;
Meet Now
icon in the system tray;Updated Sophia Script Wrapper
LeaveAlone
outputting to script when pressing Output PowerShell
;ControlPanelView
to Other
section;Fixed typos;
Minor changes. :feelsgood:
Published by farag2 over 3 years ago
Diff from v5.5
5.5...5.6
PinToStart
function fixed & updated
-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;HEIF
function huge update
-Manual
argument) or download and install (-Install
argument) appx package directly from Microsoft server using the https://store.rg-adguard.net parser;Set-Association
function (commented out by default
);
Published by farag2 over 3 years ago
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
, and UnpinAllStartTiles
functions were rewritten into one, PinToStart
syspin
app — just pure PowerShell! syspin was removed.PinToStart -Tiles ControlPanel, DevicesPrinters, PowerShell
or unpin all tiles
PinToStart -UnpinAll
Updated descriptions;
Fixed typos.
Published by farag2 over 3 years ago
Diff from v5.4
5.4...5.4.0.1
Published by farag2 over 3 years ago
Diff from v5.3.3
5.3.3...5.4
.\Sophia.ps1 -Functions "FunctionName1 -Parameter"
regardless of the functions entered as an argument, the Checkings
function will be executed first, and the Refresh
and Errors
functions will be executed at the end;CreateRestorePoint
function
EnableWSL2
functionScheduledTasks
, WindowsFeatures
, WindowsCapabilities
& UninstallUWPApps
WindowsFeatures
function generates friendly Windows features names instead of packages names 🚀WindowsCapabilities
function generates friendly Windows capabilities names instead of packages names 🚀UninstallUWPApps
function generates friendly UWP apps names instead of packages names 🚀
WSLSwap
& syspin
functions;Published by farag2 over 3 years ago
Diff from v5.3.2
5.3.2...5.3.3
Added the feature to run the script by specifying module functions as parameters
.\Sophia.ps1 -Functions CreateRestorePoint, "ScheduledTasks -Disable", "WindowsCapabilities -Disable", Refresh
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
The MediaPlayback
feature in the WindowsFeatures
function is unchecked now by default. Thnx to Nevals
Updated description;
Minor changes. :feelsgood:
Published by farag2 almost 4 years ago
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.
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. :feelsgood:
Published by farag2 almost 4 years ago
Diff from v5.3
5.3...5.3.1
CleanUpTask -Register
function. Please re-register task;Logging
function using the Start-Transcript
cmdlet. Commented out by default.
Stop-Transcript
. The log will be being recorded into the script folderAppsLanguageSwitch
function. Lets use a different input method for each app window. Thanks to WindR
easter egg
to the console title! 🤭Published by farag2 almost 4 years ago
Diff from v5.2
5.2...5.3
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;CleanUpTask
function;
Sophia.ps1
preset file. Use the new one;Also guy from benchtweakgaming.com created a GUI wrapper for the script. 🗡️
Published by farag2 almost 4 years ago
Diff from v5.1.1
5.1.1...5.2
DisableTelemetryServices
and EnableTelemetryServices
are nowTelemetryService -Disable
TelemetryService -Enable
Sophia.ps1
preset file. Use the new one!;Also guy from benchtweakgaming.com created a GUI wrapper for the script. Hope it'll help! 🗡️
Published by farag2 about 4 years ago
Diff from v5.1
5.1...5.1.1
EnableWin32LongPaths
function wasn't enabled as a default one;DisableWindowsErrorReporting
;EnableWindowsErrorReporting
;DisableScheduledTasks
;EnableScheduledTasks
.Published by farag2 about 4 years ago
Diff from v5.0.1
5.0.1...5.1
Sophia.psd1
;Create a folder with the appropriate future localization name;
$PSUICulture
Place the translation into this folder without changing the file name (Sophia.psd1
)
Thanks to FrankSinatra & westlife for the tip.
Sophia.ps1
;