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 - 04.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.0.14
6.0.14...6.1.0

  • Added awesome UpdateLGPEPolicies function πŸ‘»
    • It's common known, that the 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.
    • To check all policies applied to your OS (if they have a record in gpedit.msc) after invoking UpdateLGPEPolicies, open gpedit.msc and navigate to:
      • Computer Configuration β€” Administrative Templates β€” All Settings;
      • User Configuration β€” Administrative Templates β€” All Settings.
    • Uses PolicyFileEditor module created by Dave Wyatt
    • Remind how to call a function from the module.
  • Added InstallDotNetRuntime6 function to let user install the latest .NET Desktop Runtime 6 (x86/x64);
    • The Internet access required;
    • Closes #347.
  • Fixed bug in NetworkAdaptersSavePower function that caused an error that there is no internet connection even if it was so;
  • Formaly added Windows 10 22H2 support;
  • Updated startup checkings;
  • Fixed DiagnosticDataLevel function;
    • Now it uses gpedit.msc path: HKLM:\Software\Policies\Microsoft\Windows\DataCollection instead of HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection;
    • To updated registry keys run DiagnosticDataLevel -Minimal.
  • Added SearchHighlights function to hide search highlights for Windows 10;
  • Fixed UnpinAllStartApps function;
    • Now it's working for Windows 11 22H2 Insider Preview too.
  • Removed Windows10FileExplorer to enabled Windows 10 File Explorer in Windows 11;
  • Updated TaskManagerWindow function to make it not to be run on Windows 11 22H2;
    • Closes #348.
  • Fixed a bug in OpenWindowsTerminalAdminContext function when you cannot open Windows Terminal as admin in a path ends in a backslash \;
    • Closes #340. Read more here.
  • Signed all PowerShell files by a self-signed certificates;
    • image
  • #345 closed;
  • Minor changes;
  • Updated descriptions;
    • Thanks to @THEBOSSMAGNUS

Sophia Script Wrapper 2.5.4

  • Updated translations;
  • Works with the latest Sophia Script preset files;
  • Minor changes;

Check out SophiApp 1.0.0.62! πŸš€

SophiApp
SophiApp

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
Sophia-Script-for-Windows - 09.04.2022

Published by farag2 over 2 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | 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.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;

    • Now it downloads the right package. Closes #335.
  • Removed the DefenderSandbox function for Windows 11;

    • Windows 11 has already Sandbox for Defender enabled.
  • Minor changes;

  • Updated descriptions;

  • Check out SophiApp 1.0.0.50 πŸš€

SophiApp
SophiApp

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
Sophia-Script-for-Windows - 27.02.2022

Published by farag2 over 2 years ago

Diff from v6.0.12
6.0.12...6.0.13

  • Added the checking whether Defender wasn't disabled;
  • Fixed XboxGameBar;
    • To prevent popping up the "You'll need a new app to open this ms-gamingoverlay" warning, you need to disable the Xbox Game Bar app, even if you uninstalled it before.
  • Updated descriptions.
  • Check out SophiApp 1.0.0.23 beta 3 πŸš€

SophiApp
SophiApp

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
Sophia-Script-for-Windows - 02.02.2022

Published by farag2 over 2 years ago

Diff from v6.0.11
6.0.11...6.0.12

  • Merged #315 & #326;
  • Updated descriptions.
  • Check out SophiApp 1.0.0.13 beta 2 πŸš€

SophiApp
SophiApp

File SHA256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.19.zip D0A1CD62ACBC454A0600872F508BAA2D5565FAF773FCB06C920A507D6402A9C9
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.10.zip 7A2C2BEF0DE3FB63F586591EAF481480553B39AC5341353F6F06E8AF3FDCCF4F
Sophia.Script.for.Windows.10.v5.12.11.PowerShell.7.zip 4A8F3720BDCBAC349BF4D599DE1761D132B07C471D6B9A147E04E10B45CB4526
Sophia.Script.for.Windows.10.v5.12.11.zip 0924DDF20AC4A2D84E9D5E789CB3937D8F4FA4C6979D149A2EF393851A43EBBD
Sophia.Script.for.Windows.11.v6.0.12.PowerShell.7.zip 9C5DC69C4F411999CCA11387909985C9F3D74965FCA83312E903209E511D8B3C
Sophia.Script.for.Windows.11.v6.0.12.zip CD43421812524EE99BAB2F6574EC2310C1BC97BD4F842CE3635EA481A7E7E702
Sophia.Script.Wrapper.v2.5.3.zip 873FA24399D2AB42C1C4B9900E1AF69C24C3D343C01A8C6EE82B00B606209B3C
Sophia-Script-for-Windows - 31.12.2021

Published by farag2 almost 3 years ago

Diff from v6.0.10
6.0.10...6.0.11

  • Check out our new how-to video about Sophia Script and the Wrapper;
  • The NewsInterests function now uses the policy due to Microsoft has blocked the ability to turn off the widget via registry;
  • Improved and fixed DNSoverHTTPS;
    • Now the function can be applied if Hyper-V is enabled when a virtual net switch is being created.
  • Finally, we released SophiApp 1.0.0 beta 1 πŸš€
  • Happy New year! ruboard

SophiApp
SophiApp

File SHA-256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.19.zip D0A1CD62ACBC454A0600872F508BAA2D5565FAF773FCB06C920A507D6402A9C9
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.9.zip 7A2C2BEF0DE3FB63F586591EAF481480553B39AC5341353F6F06E8AF3FDCCF4F
Sophia.Script.for.Windows.10.v5.12.10.PowerShell.7.zip 4A8F3720BDCBAC349BF4D599DE1761D132B07C471D6B9A147E04E10B45CB4526
Sophia.Script.for.Windows.10.v5.12.10.zip 0924DDF20AC4A2D84E9D5E789CB3937D8F4FA4C6979D149A2EF393851A43EBBD
Sophia.Script.for.Windows.11.v6.0.11.PowerShell.7.zip 9C5DC69C4F411999CCA11387909985C9F3D74965FCA83312E903209E511D8B3C
Sophia.Script.for.Windows.11.v6.0.11.zip CD43421812524EE99BAB2F6574EC2310C1BC97BD4F842CE3635EA481A7E7E702
Sophia.Script.Wrapper.v2.5.3.zip 873FA24399D2AB42C1C4B9900E1AF69C24C3D343C01A8C6EE82B00B606209B3C
Sophia-Script-for-Windows - 15.12.2021

Published by farag2 almost 3 years ago

Diff from v6.0.9
6.0.9...6.0.10

  • Fixed a bug thats prevented getting the current preset name loaded into session;
    • Closes #312.
  • Check out the 4th SophiApp 0.0.0.78 public alpha build πŸš€

SophiApp

File SHA-256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.19.zip 8037995A892832ABE1A7E5B5F7FBC7AB8C42C098DADCCD15412649025CB95AD0
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.9.zip D73AA51C76B48F1B01E2CB7305DA7D00615A7AC596438761E401E2E20A7CC2C7
Sophia.Script.for.Windows.10.v5.12.9.PowerShell.7.zip 48D7DA3455E9551018A524FC4D0040B1082B115ED99CB301ADCFFFDCDBC260C0
Sophia.Script.for.Windows.10.v5.12.9.zip D2456AAE0F2BB246EAC85A123C791F9FF116F07B9B1B735F64B9F7AB677BF83E
Sophia.Script.for.Windows.11.v6.0.10.PowerShell.7.zip DA57C9C9130FE3002E648FF983BA8B549EE305675BE52B67EF55FAAA4243FCB3
Sophia.Script.for.Windows.11.v6.0.10.zip 10D03A4266A2900336AFE4225A7F8ADF842F10DF8D1A894AEDB14CB98120F7F4
Sophia.Script.Wrapper.v2.5.3.zip 4DA0114BDF032D4644DD0AF03C934BE03E9DB084F1B12A1C8AFC1D8A9B6A745C
Sophia-Script-for-Windows - 14.12.2021

Published by farag2 almost 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | 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.0.8
6.0.8...6.0.9

  • Fixed a typo in the DefaultTerminalApp -WindowsTerminal function that prevents the function to get the Windows Terminal PackageFullName variable value;
  • The WinPrtScrFolder -Desktop function was improved again;
  • The Windows 10 Enterprise LTSC 2019 version is now deprecated and won't be supported. Please, if you're an ortodox who likes outdated and abandoned Windows, switch to Windows 3.11 back, or at least Windows 10 Enterprise LTSC 2021;
  • Minor changes.
  • Check out the 4th SophiApp 0.0.0.78 public alpha build πŸš€

SophiApp

File SHA-256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.18.zip 8037995A892832ABE1A7E5B5F7FBC7AB8C42C098DADCCD15412649025CB95AD0
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.8.zip D73AA51C76B48F1B01E2CB7305DA7D00615A7AC596438761E401E2E20A7CC2C7
Sophia.Script.for.Windows.10.v5.12.8.PowerShell.7.zip 48D7DA3455E9551018A524FC4D0040B1082B115ED99CB301ADCFFFDCDBC260C0
Sophia.Script.for.Windows.10.v5.12.8.zip D2456AAE0F2BB246EAC85A123C791F9FF116F07B9B1B735F64B9F7AB677BF83E
Sophia.Script.for.Windows.11.v6.0.9.PowerShell.7.zip DA57C9C9130FE3002E648FF983BA8B549EE305675BE52B67EF55FAAA4243FCB3
Sophia.Script.for.Windows.11.v6.0.9.zip 10D03A4266A2900336AFE4225A7F8ADF842F10DF8D1A894AEDB14CB98120F7F4
Sophia.Script.Wrapper.v2.5.3.zip 4DA0114BDF032D4644DD0AF03C934BE03E9DB084F1B12A1C8AFC1D8A9B6A745C
Sophia-Script-for-Windows - 05.12.2021

Published by farag2 almost 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | 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.0.7
6.0.7...6.0.8

  • Fixed small bug in the OneDrive function that prevents a folder to be removed;
  • Fixed small bug in the OneDrive function that prevents OneDrive to be downloaded (Microsoft changed the cloud XML silently);
  • The WinPrtScrFolder function was improved;
    • Now it doesn't matter how your preset was named: the fucntion will parse the preset that was loaded into session to find whether the OneDrive -Uninstall function was commented out or not;
  • Minor changes.
  • Check out the 4th SophiApp 0.0.0.70 public alpha build πŸš€

SophiApp

Sophia Script Wrapper 2.5.3

  • 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.

Wrapper

File SHA-256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.17.zip 558EDFEDFE0E01739A03704CB07F9D2E3B17CD821D35EDF88E7CBB4EAE8EAC16
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.7.zip C8C86CC1B531A89C327BADE308FBB1F0F992D10BAC51C788558F5E91EF5EA7C8
Sophia.Script.for.Windows.10.v5.12.7.PowerShell.7.zip 3F46C9D6E22DEEA1ECDD11A0773F16B2244C0E7174B7193E45E1E9FA5682D1ED
Sophia.Script.for.Windows.10.v5.12.7.zip 9B402D4999C3CB03C208C716AEE1B30D4CE5A5801BC4B27694DDA955277DDBD5
Sophia.Script.for.Windows.11.v6.0.8.PowerShell.7.zip A8CD7513EE2490893B49F88A00FB00533B00229240E75E867B791A5884C34DAB
Sophia.Script.for.Windows.11.v6.0.8.zip 581A55A9A7454E67CE6BF19498624035CB7606A58DCDC77A7478733468B433B3
Sophia.Script.Wrapper.v2.5.3.zip 82B1EDADC037105C186CB55BEBD51AB89B487F8FC89349AC2E8D89CD493AAF5A
Sophia-Script-for-Windows - 24.11.2021

Published by farag2 almost 3 years ago

Diff from v6.0.6
6.0.6...6.0.7

  • Added support for Windows 10 Enterprise LTSC 2021;
  • Added the UninstallPCHealthCheck funtion;
    • This application is installed with the KB5005463 update to check if PC meets the system requirements of Windows 11;
    • For Windows 10 only.
  • Added the InstallVCRedistx64 funtion;
  • Added the UnpinAllStartApps function to provide a feature to unpin all Start apps;
  • Minor changes.
  • Check out the 4th SophiApp 0.0.0.70 public alpha build πŸš€

SophiApp

Sophia Script Wrapper 2.5.2

  • 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.

Wrapper

File SHA-256
Sophia.Script.for.Windows.10.LTSC.2019.v5.2.17.zip 11B8D748FEDC1DEFF15BED8CE1A0F6CF90D2347A8F83FA172C5B75D9B8A2C676
Sophia.Script.for.Windows.10.LTSC.2021.v5.12.6.zip 7EFDF531E4826CD43228EE33F2FC0583AB94C99E46EE7BC0C94BD38B28160048
Sophia.Script.for.Windows.10.v5.12.6.PowerShell.7.zip A26FFA058C167D5480F82F97534BEDF26FCF73256EAF93D4A6935D17991E82A0
Sophia.Script.for.Windows.10.v5.12.6.zip 6C864477FFB65AD357F9846B356E76CF949564EE4F337C34470765CDFCBA5501
Sophia.Script.for.Windows.11.v6.0.7.PowerShell.7.zip A6336109300ECA5037E9DE294F922178A669E21DA0A2B8063EB1C928AB1F7588
Sophia.Script.for.Windows.11.v6.0.7.zip 3E7A276E2E806DD3DFEEE338F5286EF8AF071CFBA58A7B5020E000C61A966FE5
Sophia.Script.Wrapper.v2.5.2.zip 494E6DD8B39783488E7D1DB484CD14ED3AAEB2BD2ED3FFF16E91B1FE5E1467F8
Sophia-Script-for-Windows - 24.10.2021

Published by farag2 almost 3 years ago

Diff from v6.0.5
6.0.5...6.0.6

  • Now you can download the always latest Sophia Script archive by invoking (not as administrator too) in PowerShell console
irm script.sophi.app | iex

or without using aliases

Invoke-RestMethod -Uri script.sophi.app | Invoke-Expression
  • The command will download and expand the archive (without running) the latest Sophia Script 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.

  • The NotificationAreaIcons, TaskbarSize, RecentlyAddedAppsAdded funtions were removed due to lack of necessity;

  • Fixed typo in FileExplorerCompactMode;

    • The values for Disable and Enable were switched places by mistake;
  • Fixed bug in UpdateMicrosoftProducts;

  • Fixed bug in IPv6Component;

    • The parameter uses U+2013 instead of U+2010 character (hyphen)
  • Fixed major in WinPrtScrFolder (closes #260);

    • It turned out that it has an influence on the OneDrive behavoir. Now the function will be applied only if the preset is configured to remove OneDrive, otherwise the backup functionality for the "Desktop" and "Pictures" folders in OneDrive breaks;
  • Merged #264;

  • Added Spotify for removing to UninstallUWPApps;

  • ShareContext now uses another method that doesn't have an influence on Windows10FileExplorer

    • To revert changes invoke
    Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{E2BF9676-5F8F-435C-97EB-11607A5BEDF7}" -Force -ErrorAction Ignore
    
    • And then invoke a new ShareContext (how-to);
  • OpenWindowsTerminalAdminContext rewritten and now uses a native UAC icon and added to the top-level context menu

    • To revert changes invoke
    $Items = @(
      "Registry::HKEY_CLASSES_ROOT\Directory\Background\shell\OpenWTHereAsAdmin",
      "Registry::HKEY_CLASSES_ROOT\Directory\shell\OpenWTHereAsAdmin",
      "HKLM:\SOFTWARE\Classes\Directory\shell\OpenWTHereAsAdmin\command",
      "HKLM:\SOFTWARE\Classes\Directory\Background\shell\OpenWTHereAsAdmin\command",
      "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\terminal.ico"
    )
    Remove-Item -Path $Items -Recurse -Force -ErrorAction Ignore
    

    Context

    • And then invoke a new OpenWindowsTerminalAdminContext (how-to);
  • Added function to set the Windows 10 style context menu (closes #267);

  • Minor changes.

  • Check out the 3rd SophiApp public alpha build πŸš€

    • The 4th alpha version 0.0.0.5x will be released soon

SophiApp

Sophia Script Wrapper 2.5.1

  • Cleaned up code: EXE should be now smaller;
  • Fixed typos in JSONs;
  • Added Spanish (es-ES);
  • Fixed UI.

Wrapper

File SHA-256
Sophia.Script.for.Windows.10.LTSC.v5.2.16.zip 368A6A4588749999A31000341A176E2615B93F8A2C0AB4DF91535DE95C064FD6
Sophia.Script.for.Windows.10.v5.12.5.PowerShell.7.zip 9BDDD05FFFAEC24490E345F947C37C9665A3E4E3C86F3B6FE2EAC6FABB1C3F57
Sophia.Script.for.Windows.10.v5.12.5.zip C10ACE107FB0CA48297DCF3C8E195F5DE0E0224762C2CD616D3740A38B3B8F1E
Sophia.Script.for.Windows.11.v6.0.6.PowerShell.7.zip CF3A955A34FB19BB67F8959620E694ADA2B6B6590FEBF294F453EB07460B9054
Sophia.Script.for.Windows.11.v6.0.6.zip C238A1A23675B2C64B17408E8208660D908110C7BA0D28D939E4CC1A14D4DDCF
Sophia.Script.Wrapper.v2.5.1.zip F66A6CF7760C2E174790FC83F624F5026E10EA9EBCC4F8B7253933444D8D491A
Sophia-Script-for-Windows - 06.10.2021

Published by farag2 about 3 years ago

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

Diff from v6.0.4
6.0.4...6.0.5

  • Now you can download the always latest Sophia Script archive by invoking (not as administrator too) in PowerShell console
irm script.sophi.app | iex

or without using aliases

Invoke-RestMethod -Uri script.sophi.app | Invoke-Expression
  • The command will download and expand the archive (without running) the latest Sophia Script 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.

  • Added Sophia Script for Windows 11 (PowerShell 7)

  • Updated the Windows10FileExplorer function for Windows 11;

    • Invoke to revert changes
    Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" -Name "{E2BF9676-5F8F-435C-97EB-11607A5BEDF7}" -Force -ErrorAction Ignore
    
    • And then invoke a new Windows10FileExplorer (how-to);
  • Removed Windows10FileExplorerRibbon because I "feel" the classic Windows 10 File Explorer days are near and the code will be removed sooner or later in the next Windows 11 builds;

  • Fixed typo in the MergeConflicts function: the values were switched places by mistake;

    # Hide
    New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 1 -Force
    # Show
    New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideMergeConflicts -PropertyType DWord -Value 0 -Force
    
  • Add the OpenWindowsTerminalAdminContext -Show function for Windows 11 only to allow opening Windows Terminal as admin in the Desktop and folders context menu;

  • Fixed some bugs in the script.sophi.app downloader;

    • Now it supports Windows 11 PowerShell 7 too.
  • Minor changes.

  • Check out the 3rd SophiApp public alpha build πŸš€

SophiApp

Sophia Script Wrapper 2.5

  • You must import Sophia.ps1 before using the Wrapper now. Disabled controls to do this;
  • Closed #252, #253 (thnx to @Henry2o1o);
  • 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
  • UI color changes
  • Fixed some bugs.

Wrapper

File SHA-256
Sophia.Script.for.Windows.10.LTSC.v5.2.15.zip 2C281638C182D3F7B8C93C00D51496590B2843F52B879FCD658000FC352F7CC1
Sophia.Script.for.Windows.10.v5.12.4.PowerShell.7.zip 36D996DB551BCB15DBD7E79B4A6AEF2951C9ABB5708B578F738F4E4E9A24F281
Sophia.Script.for.Windows.10.v5.12.4.zip 353D35BF392EE68A2271759AF6F163308F9F1F9FC30A8F855614628237B2B2DC
Sophia.Script.for.Windows.11.v6.0.5.PowerShell.7.zip 5ACD07DD64B7D1C7657586E3B4B444FBCDA00450359611ECE98ED551C2F9A85E
Sophia.Script.for.Windows.11.v6.0.5.zip 937F3CC2B741C7F86ADB9ACEC2356EBA1F1E1589D3ED05F883A1B27B9520C40C
Sophia.Script.Wrapper.v2.5.zip B97EB2FB056A7E73B20A90F6997A35F37348454B097DA156F6FED168E8BBDB0A
Sophia-Script-for-Windows - 20.09.2021

Published by farag2 about 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | LTSC 1809

Diff from v5.12.2
5.12.2...5.12.3

  • Now you can download the always latest Sophia Script archive by invoking (not as administrator too) in PowerShell console
irm script.sophi.app | iex

or without using aliases

Invoke-RestMethod -Uri script.sophi.app | Invoke-Expression
  • The command will download and expand the archive (without running) the latest Sophia Script 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.
  • Updated functions
    • FirstLogonAnimation;
    • MappedDrivesAppElevatedAccess;
    • BackgroundUWPApps
  • OneDrive -Install
    • Now the function parses the Microsoft official XML to get the link to the latest OneDrive installer
  • Closed #240, #241, and #246 as fixed;
  • Minor changes.
  • The development focus shifted to SophiApp πŸš€

Sophia Script Wrapper 2.4

  • Updated the German translation again;
    • Thanks to @Henry2o1o & @uDEV2019
  • You must import Sophia.ps1 before using the Wrapper now. Disabled controls to do this;
  • UI changes (color to highlight important controls);
  • Special thanks to usser_namme for bug reporting;
  • Fixed some bugs.

Wrapper

File SHA-256
Sophia.Script.LTSC.v5.2.14.zip 26B3D8A307584EEE00DE33C1C4C11963C5B425FB469F1E1827203D2586603843
Sophia.Script.v5.12.3.PowerShell.7.zip 2D736B4B0A8E9A9DFB46A32F8E9C90C5144FC0CF0BE414DBF84C31EC2CEB111D
Sophia.Script.v5.12.3.zip B96CEF27DD83B117130341BCACAF76BD19060C83A081BF427F054FC86C367DD0
Sophia Script Windows 11 v6.0.4.zip D9F1D6A7BD9751F6622EC7066670F869CFD406D13C63C215A3DDC1E03A0B92C3
Sophia.Script.Wrapper.v2.4.zip 619B52D1F08F4C754AF4907546375AEBECE49AB1F5A0D5F4F92E271F99ED8D75
Sophia-Script-for-Windows - 25.08.2021

Published by farag2 about 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1/21H2 | LTSC 1809

Diff from v5.12.1
5.12.1...5.12.2

  • Fixed bug when the Errors output function couldn't get path to a file with an error;
  • Updated translations;
  • Closed #234, #235, and #236 as fixed;
  • Now script gets the latest version from sophia_script_versions.json to compare with;
  • Minor changes.
  • The development focus shifted to SophiApp πŸš€

Sophia Script Wrapper 2.3

  • Updated the German translation;
    • Thanks to @Henry2o1o & @uDEV2019
  • Added icons to tabs;
  • Fixed numerous bugs;
  • UI changes;
  • Now Wrapper gets the latest versionfrom sophia_script_versions.json to compare with;

Wrapper

File SHA-256
Sophia.Script.LTSC.v5.2.13.zip 68894918CD75F475D0A96E8F214446C2B9FF813ABD201FC310F4E2C326886A10
Sophia.Script.v5.12.2.PowerShell.7.zip B5EC4B1D5C509068692D1355323E9C26CFC87ABBFDDA97AED1F8ADFD94846C3A
Sophia.Script.v5.12.2.zip 431BC20EC94248E2211E03BDE74ADEBF022EC6ABAB3E452B745A301A504CB074
Sophia Script Windows 11 v6.0.3.zip 0E9B6167491BCC7DC967EAE1BF1BD9CFF2A35B6F2F62E2412CA38BF79B2938B8
Sophia.Script.Wrapper.v2.3.zip 5397C6925BC6849BC9BC8C6AFAC1DBA892B2AB741011D2C373F367DD62730DA2
Sophia-Script-for-Windows - 06.08.2021

Published by farag2 about 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.12
5.12...5.12.1

As you may see, the project name changed to Sophia Script for Windows, due to it now supports both Windows 10 and Windows 11 πŸ†. The project page is now https://github.com/farag2/Sophia-Script-for-Windows

  • Fixed typo that prevets script from showing the error description;
  • Fixed typos in descriptions;

Sophia Script Wrapper 2.2

  • Added an Easter egg. Find it, and let us know! πŸ’°
File SHA-256
Sophia.Script.LTSC.v5.2.12.zip 518C37C3572DC86FAC263BC0F1638C47A05952688B353AA1816D2F56AA92D34A
Sophia.Script.v5.12.1.PowerShell.7.zip E26F281BF02CA99DECA118B7D8867A36402548688BB45AC22E8F51E7227C8FF9
Sophia.Script.v5.12.1.zip D3B594CCB89AC3809A70C6D2B709743FFE9894895FF57DADBB87CB6150F1B35E
Sophia Script Windows 11 v6.0.2.zip AF5EC7B0E60336DB10D2BD04B9F9911F6D0E9AD496062AC1878D30A6C5A78837
Sophia.Script.Wrapper.v2.2.zip A19BFC6C6DC54EA0773FF0B5B3089F2A3F79E031504682E3F15499089B56A1B5
Sophia-Script-for-Windows - 06.08.2021

Published by farag2 about 3 years ago

Windows 11 21H2 | Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.11.1
5.11.1...5.12

As you may see, the project name changed to Sophia Script for Windows, due to it now supports both Windows 10 and Windows 11 πŸ†. The project page is now https://github.com/farag2/Sophia-Script-for-Windows

  • Added the IPv6Component -Enable, IPv6Component -Disable functions;
    • Disable the Internet Protocol Version 6 (TCP/IPv6) component for all network connections. Before invoking the function, a check will be run whether your ISP supports the IPv6 protocol using https://ipv6-test.com
  • Added the AeroShaking -Enable, AeroShaking -Disable functions;
    • When I grab a windows's title bar and shake it, minimize all other windows
  • @Inestic has re-writen the WSL functions into one with a WPF form with list of supported Linux distributions to install. Microsoft has allowed the supported Windows 10 versions to install Linux distributions with one command wsl --install;
    • Windows 10 19041.1151 (Windows 11) build is minimum needed;
    • Image
  • The XboxGameBar function removed;
  • Descriptions updated;
  • Fixed typos;
  • Minor changes.

Windows 11 21H2

  • Hide the Windows welcome experiences after updates and occasionally when I sign in to highlight what's new and suggested
    • WindowsWelcomeExperience -Hide
  • Hide Cortana button on the taskbar
    • CortanaButton -Hide
  • Hide the "3D Objects" folder in "This PC" and Quick access
    • 3DObjects -Hide
  • Hide People button on the taskbar
    • PeopleTaskbar -Hide
  • Hide seconds on the taskbar clock
    • SecondsInSystemClock -Show
  • Hide the search on the taskbar
    • TaskbarSearch -Hide
  • Hide the Windows Ink Workspace button on the taskbar
    • WindowsInkWorkspace -Hide
  • Hide all icons in the notification area
    • NotificationAreaIcons -Show
  • Hide the Meet Now icon in the notification area
    • MeetNow -Hide
  • Disable "News and Interests" on the taskbar
    • NewsInterests -Disable
  • NewAppInstalledNotification
    • NewAppInstalledNotification -Hide
  • Hide app suggestions in the Start menu
    • AppSuggestions -Hide
  • Pin the shortcuts to Start
    • PinToStart -Tiles ControlPanel, DevicesPrinters, PowerShell
  • Do not let UWP apps run in the background
    • BackgroundUWPApps -Disable
  • Hide the "Edit with Paint 3D" item from the media files context menu
    • EditWithPaint3DContext -Hide
  • Hide the "Bitmap image" item from the "New" context menu
    • BitmapImageNewContext -Hide
  • Hide the "Edit" item from the images context menu
    • ImagesEditContext -Hide
  • Hide the "Rich Text Document" item from the "New" context menu
    • RichTextDocumentNewContext -Hide
  • Enable the Windows 10 File Explorer
    • Windows10FileExplorer -Enable
  • Disable the File Explorer compact mode
    • FileExplorerCompactMode -Disable
  • Show snap layouts when I hover over a windows's maximaze button
    • SnapAssistFlyout -Disable
  • Set the taskbar alignment to the left
    • TaskbarAlignment -Left
  • Hide the search button from the taskbar
    • TaskbarSearch -Hide
  • Hide the widgets icon on the taskbar
    • TaskbarWidgets -Hide
  • Hide the Chat icon (Microsoft Teams) on the taskbar
    • TaskbarChat -Hide
  • Open the "Notification Area Icons" page in Control Panel to enable "Always show all icons in the notification area" settings manually
    • NotificationAreaIcons
  • Make the taskbar size small
    • TaskbarSize -Small
  • Set Windows Terminal Preview as default terminal app to host the user interface for command-line applications
    • DefaultTerminalApp -WindowsTerminal
  • Enable DNS-over-HTTPS for IPv4. The preferred DNS server: 1.0.0.1, the alternate: 1.1.1.1
    • DNSoverHTTPS -Enable
  • Hide the "Open in Windows Terminal" menu option in the folders context menu
    • WindowsTerminalContext -Hide

Sophia Script Wrapper 2.2

  • Now supports the UI translation. ToolTips and UI labels are created from JSON files tooltip.json and ui.json.
    • Currently translated into English & русский languages stored in the JSON files in Localizations folder;
  • Fixed some ToolTip display errors;
  • Console is now autoupdated;
  • Minor UI changes;
  • Fixed typos.
  • Added an Easter egg. Find it, and let us know! πŸ’°

Wr

File SHA-256
Sophia.Script.LTSC.v5.2.11.zip CB917D59D8E1F6105DA45B678CB4FB02A64F55CFB4DA967494D7FC3D01F1EF42
Sophia.Script.v5.12.PowerShell.7.zip 90688BE45CE814EB485FD061BAED91B080C436020C8BC1824C5AE72B616F493B
Sophia.Script.v5.12.zip CFCAF9B5FF2938686FD886C13A02E6E7A954F9B53E47FCC607407F5CF4E669B7
Sophia Script Windows 11 v6.0.1.zip 121122C474D4858BB89225FE2D72258A9234355A9C238B4B6A62FE119B99F2F1
Sophia.Script.Wrapper.v2.2.zip A26B66EEC81BD18D7065D9F5355C4B5EE62BD582A5B0653B3434260570A42D7C
Sophia-Script-for-Windows - 13.07.2021

Published by farag2 over 3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.11
5.11...5.11.1

  • Fixed #212;
  • Fixed typos.
  • The development focus shifted to SophiApp πŸš€

  • Sophia Script Wrapper 2.1
    • Fixed typos.

Wr

File SHA-256
Sophia.Script.LTSC.v5.2.10.zip 221DEDB5A016AD554994AC39D3C7B0D1F4C4DB98C0BD3F903BC82403C5B3227B
Sophia.Script.v5.11.1.PowerShell.7.zip AB21D7F733A2FE3638CBB0E3A1D693A23FFF50A6B85D2D335FC50D2ACDDA8A19
Sophia.Script.v5.11.1.zip F5DCBA197946BD3D83F30D6ECB57BB4DA94E66AD9DECB599728AC1C3E344FF0D
Sophia.Script.Wrapper.v2.1.zip BC8943741E0FF78348FB7554FB9977A7A5D464B58F9705BAF7100D621B9B79CE
Sophia-Script-for-Windows - 13.07.2021

Published by farag2 over 3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.10.8
5.10.8...5.11

  • Updated descriptions;
  • Expanded the Checkings funtion functionality;
  • Updated the OneDrive function;
  • Functions removed as not wanted
    • ShareAcrossDevices
    • StorageSenseRecycleBin
    • AddProtectedFolders
    • RemoveProtectedFolders
    • AddAppControlledFolder
    • RemoveAllowedAppsControlledFolder
    • AddDefenderExclusionFolder
    • RemoveDefenderExclusionFolders
    • AddDefenderExclusionFile
    • RemoveDefenderExclusionFiles
    • PreviousVersionsPage
  • Some functions renamed;
  • Minor changes & minor bugs fixed. :feelsgood:

  • Sophia Script Wrapper 2.1
    • Improved UX;
    • All settings were moved to JSON (3 600 lines);
    • UI changes.

Wr

File SHA-256
Sophia.Script.LTSC.v5.2.9.zip ABAE32787B5BA70A90BA1421EE353791E0184DA495DA42E7317DF2025E5131B7
Sophia.Script.v5.11.PowerShell.7.zip E87F7134A8DFC587E509745F0B96A936E744B42575B69257CC39E918C9FDF8F6
Sophia.Script.v5.11.zip 488585D5B54C3A6D4E0920BF0ACB9B44777C9423DE2648442F3A8D914604342F
Sophia.Script.Wrapper.v2.1.zip 7A5D86BE75BD6D6782EEE95E9D09D23EB108CFB2AAB84F2A0736A80FD39F4F6A
Sophia-Script-for-Windows - 20.06.2021

Published by farag2 over 3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.10.7
5.10.7...5.10.8

  • The UnpinTaskbarEdgeStore function renamed into UnpinTaskbarShortcuts, and added feature to unpin the Mail shortcut
    • UnpinTaskbarShortcuts -Shortcuts Edge, Store, Mail.
  • The PowerManagementScheme fucntion rename into PowerPlan;
  • #195, #196, #200 closed;
  • Updated the Chinese translation. Thanks to @flashercs;
  • Minor changes. :feelsgood:

  • Sophia Script Wrapper 2.0.2
    • Fixed runtime error;
    • Fixed PowerShell 7.1 launch (detects 5.1 or 7.1 and uses appropiate 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.
File SHA-256
Sophia.Script.LTSC.v5.2.8.zip 2730AA555F3A4EF0F0753CC01898E3219F23D4FBAA54EF13194A22FAD4DDA8BB
Sophia.Script.v5.10.8.PowerShell.7.zip F9EF3DDE771B0F706CA19CA71A1C17FC2DE6103A2C63FB679E95DF38BB53ECE9
Sophia.Script.v5.10.8.zip 6716E08E06B509AC3AD3F07FB6A3368318D6F6922F1BC817F41CEA6A8AB259A1
Sophia.Script.Wrapper.v2.0.2zip 1596838E1E26DF2B3994778361A892923CCBEC4070555FB3878D86DE7BC7F27F
Sophia-Script-for-Windows - 13.06.2021

Published by farag2 over 3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.10.6
5.10.6...5.10.7

  • #190 closed;
  • The manifest file moved to the Manifest folder;
  • The module file moved to the Module folder;
  • Minor changes. :feelsgood:

  • Sophia Script Wrapper 2.0.1
    • Added multi-languages support (only for the functions' descriptions);
    • Reverted back the Opposite function. Closes #186;
    • UI changes.
File SHA-256
Sophia.Script.LTSC.v5.2.7.zip 44040FAEEEC9BB79F2B4F6307E484554CEE5A1BA7A0012600D0CD39A5B9C8C13
Sophia.Script.v5.10.7.PowerShell.7.zip AAA5CEFC7F9262118DD280153FF0302C81C91164B412F4F54CF00A211402B704
Sophia.Script.v5.10.7.zip 604A64CADCDA033EAFE099883570F817A857F54D9F073860252F77B91F116A82
Sophia.Script.Wrapper.zip 4C22532B3A7A9409065D1F5FF9680091214DA3377504BE5335440DF97A97D93C
Sophia-Script-for-Windows - 02.06.2021

Published by farag2 over 3 years ago

Windows 10 2004/20H2/21H1 | LTSC

Diff from v5.10.5
5.10.5...5.10.6

  • Added functions NewsInterests -Hide & NewsInterests -Show to configure "News and Interests" on the taskbar;
    • #184 closed.
  • Updated the CABInstallContext -Add function;
    • If the .cab file extension type associated to open with a third party app by default, the "Install" context menu item won't be displayed, so the default association for the .cab file type will be restored forcedly.
  • Updated the French translation;
    • #181 closed. Thanks @couleurm.
  • Minor changes. :feelsgood:

  • Sophia Script Wrapper was rewritten from the scratch;
    • Redefined UI and UX;
    • Many bugs fixed.
    • Supports LTSC and the current supported Windows 10 editions;
    • Dark and light themes;
    • Just import the Sophia.ps1 file and all functions will be set up automatically.

Wr
Wr
Wr

File SHA-256
Sophia.Script.LTSC.v5.2.6.zip 50160FAE202858F54D92B4126B03A248E9861C75275EE17B7EB16FC150D51A7F
Sophia.Script.v5.10.6.PowerShell.7.zip F7B48B300C85C30D6C74D9636F1F8B2F500534A4A17E78DF95595DD7E18279BC
Sophia.Script.v5.10.6.zip 04A98F8DBCD5A725E988EEFB67BDA8E56C93A600E0F2074A1583966EA004B63A
Sophia.Script.Wrapper.zip DB1CBB210982DB8C607A2B20342A41234F82B2687A236B76421329D9DBC4F265
Badges
Extracted from project README
Telegram Telegram Discord ko-fi YT YT YT Discord
Related Projects