Windows 10 Setup Script Versions Save

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

6.2.1

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

6.2.0

1 year 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.

6.1.5

1 year 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! :rocket:

Image

6.1.4

1 year 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! :rocket:

Image

6.1.3

1 year 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

6.1.2

1 year 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.

6.1.1

1 year 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! :rocket:

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

6.1.0

1 year 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 :ghost:
    • 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 ConfigurationAdministrative TemplatesAll Settings;
      • User ConfigurationAdministrative TemplatesAll 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! :rocket:

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

6.0.14

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 :rocket:

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

6.0.13

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 :rocket:

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