:zap: The most powerful PowerShell module on GitHub for fine-tuning Windows 10 & Windows 11
Diff from v6.2.0 6.2.0...6.2.1
Sophia
folder;Task Scheduler
, folder will be removed too;Diff from v6.1.5 6.1.5...6.2.0
Moved from PolFileEditor.dll
to LGPO.exe from Microsoft;
UpdateLGPEPolicies
was edited to be suitable for a new method based on LGPO.exe;
Added a new function Cursors
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.
Sophia -Functions "CleanupTask -Register"
Minor changes.
Diff from v6.1.4 6.1.4...6.1.5
PolFileEditor.dll
assembly was loaded due to even it was unblocked for SmartScreen before, it's blocked for loading into PowerShell session;
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.winget
not installing Visual C++ Redistributable 2015–2022;
Diff from v6.1.3 6.1.3...6.1.4
We opened our official Discord channel! Feel free to chat and talk!
Improved Defender checkings;
Windows 10 Enteprise G
;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;
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;
OpenWindowsTerminalAdminContext
function was re-written;
OpenWindowsTerminalAdminContext -Enable
, OpenWindowsTerminalAdminContext -Disable
;%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.
Minor changes.
Diff from v6.1.2 6.1.2...6.1.3
DNSoverHTTPS
function didn't enable DNS-over-HTTPS feature;
DNSoverHTTPS
for other languages other than EnglishDiff from v6.1.1 6.1.1...6.1.2
RKNBypass
function to enable proxying only blocked sites from the unified registry of Roskomnadzor;
WSA
function to enable the latest Windows Subsystem for Android™ with Amazon Appstore;
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
NetworkAdaptersSavePower
function when script hung if one network adapter was disabled;
UninstallUWPApps
function for PowerShell 7 based scripts when a WPF form didn't render at all;
UpdateLGPEPolicies
function;
GPT.ini
file automatically if it doesn't exist.
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 |
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.0.14 6.0.14...6.1.0
UpdateLGPEPolicies
function :ghost:
gpedit.msc
snap-in doesn't read settings from the Windows registry keys if they were made manually, bypassing the snap-in. This new function lets you update gpedit.msc to make all your policies created manually displayed regardless when registry keys were created. There is no need to run the whole Sophia Script
— just call UpdateLGPEPolicies
function. By default this function will be invoked at very end of script running to make all policies registry keys used in the script displayed.gpedit.msc
) after invoking UpdateLGPEPolicies
, open gpedit.msc
and navigate to:
Computer Configuration
— Administrative Templates
— All Settings
;User Configuration
— Administrative Templates
— All Settings
.InstallDotNetRuntime6
function to let user install the latest .NET Desktop Runtime 6 (x86/x64);
NetworkAdaptersSavePower
function that caused an error that there is no internet connection even if it was so;DiagnosticDataLevel
function;
gpedit.msc
path: HKLM:\Software\Policies\Microsoft\Windows\DataCollection
instead of HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection
;DiagnosticDataLevel -Minimal
.SearchHighlights
function to hide search highlights for Windows 10;UnpinAllStartApps
function;
Windows10FileExplorer
to enabled Windows 10 File Explorer
in Windows 11;TaskManagerWindow
function to make it not to be run on Windows 11 22H2;
OpenWindowsTerminalAdminContext
function when you cannot open Windows Terminal as admin in a path ends in a backslash \
;
File | SHA256 |
---|---|
Sophia.Script.for.Windows.10.LTSC.2019.v5.3.0.zip | 1C8B3B5CA76BF20651D53C5F882973D8CA1CDBDE9114BCF1C8C11FC3EC80F17D |
Sophia.Script.for.Windows.10.LTSC.2021.v5.13.0.zip | 87CB29F92B751820F6E8E901135DAA6BC3D2C19949EF05BDB02A7BED9272F8B5 |
Sophia.Script.for.Windows.10.v5.13.0.PowerShell.7.zip | 23C57610C217F0DA4613DEE82F2C8BB4CC07614FBF9430EDD4D80942D7EEF5E8 |
Sophia.Script.for.Windows.10.v5.13.0.zip | 102C549F02C7E5B4F0981894AD9FE1C98F9C0333901C00EC17170FF29BD7DF03 |
Sophia.Script.for.Windows.11.v6.1.0.PowerShell.7.zip | D4A7F070021AC1D55382104A25984ADF68C51F34D4A2F928FC57ACF3C7EFC98C |
Sophia.Script.for.Windows.11.v6.1.0.zip | 4CD9684972120694CD9E361E53AEB4B175CC9ED496B558BC5BEE6407EC86B354 |
Sophia.Script.Wrapper.v2.5.4.zip | 15FE538DFEF0C288752A5941E0230C326C75FB27C967798F7EDDDF18BD23E012 |
not as administrator too
) in PowerShell consoleirm script.sophi.app | iex
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.0.13 6.0.13...6.0.14
Added checking that triggers Windows updating and Microsoft Store apps in the background if the build the app is laucnhed ins't supported;
# Enable receiving updates for other Microsoft products when you update Windows
(New-Object -ComObject Microsoft.Update.ServiceManager).AddService2("7971f918-a847-4430-9279-4a52d1efe18d", 7, "")
# Check for UWP apps updates
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
# Open the "Windows Update" page
Start-Process -FilePath "ms-settings:windowsupdate-action"
# Trigger Windows Update for detecting new updates
(New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()
Added Windows 11 Insider Support. Requires 22509 build. Closes #336;
Added StartLayout
function (for Windows 11 Insider 22509 build only
Adds ability to configure Start Layout
StartLayout -Default
StartLayout -ShowMorePins
StartLayout -ShowMoreRecommendations
Added checking that checks whether OS is waiting to be rebooted;
Improved the DefaultTerminalApp
function;
Fixed the InstallVCRedistx64
function;
Removed the DefenderSandbox
function for Windows 11;
Minor changes;
Updated descriptions;
Check out SophiApp 1.0.0.50 :rocket:
File | SHA256 |
---|---|
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.20.zip | A793EB392320312131D86453D96AF63B81F5F43B0281A58B2FEBB49E30381F0F |
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.12.zip | 98534D20748421CA89D78C83EB8B7E1690F0C7A00F4D8A14F2558AC8ACD07B29 |
Sophia.Script.for.Windows.10.v5.12.14.PowerShell.7.zip | 225478A8DE45F161E872808D002F790A755CC9BE5FBD748CC82DDE56F3E83132 |
Sophia.Script.for.Windows.10.v5.12.14.zip | 7CC830564F998F6E05B2109076CCC49F7303F59F4955CE61BF882BD6D1ACE52E |
Sophia.Script.for.Windows.11.v6.0.14.PowerShell.7.zip | 55E593E36BCEDC0130142A3A0F6DB9CAB13DA3FE3C8C911B111FA81513E3ED2C |
Sophia.Script.for.Windows.11.v6.0.14.zip | C6D316279E895E89CE80DEDB9AA60F7CD19B78E11E0F587F166FB96DB3907F17 |
Sophia.Script.Wrapper.v2.5.3.zip | 2452941A49352510D41607D60B29AA3A56FE5C660F38EC2715752A52B58EF64E |
Diff from v6.0.12 6.0.12...6.0.13
XboxGameBar
;
ms-gamingoverlay
" warning, you need to disable the Xbox Game Bar
app, even if you uninstalled it before.
File | SHA256 |
---|---|
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.19.zip | BC597CD782A11BF084DD8C64F3D39A75E75B5E896D363922CE38AC113BDC4CB1 |
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.11.zip | 0E970AE18F59497BA48A8AB0A1E8096C691AFF92FBA7A6FFDBB02A27216B50BA |
Sophia.Script.for.Windows.10.v5.12.12.PowerShell.7.zip | 4A8F3720BDCBAC349BF4D599DE1761D132B07C471D6B9A147E04E10B45CB4526 |
Sophia.Script.for.Windows.10.v5.12.12.zip | 9D5B1CF32EAFF31D1B3D3594EB9F21EEFFEB10F0A1D3F38A649222DA192412B4 |
Sophia.Script.for.Windows.11.v6.0.13.PowerShell.7.zip | 716E2F4D3FD6237F4324F83F75719F502387FCD92E523023DC396FDFD9AF5E5F |
Sophia.Script.for.Windows.11.v6.0.13.zip | E38117759EFF9DF20633F0F23CCB4D7E5B6CF2EAE0212127483674CB434B7822 |
Sophia.Script.Wrapper.v2.5.3.zip | C6FB052904BB5FB7EBAD244EB05CCBEFE99F6B72E2959F1B6A1BF2EA89D1A37B |