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 visible (Hide)

Sophia-Script-for-Windows - 25.09.2020

Published by farag2 about 4 years ago

Windows 10 2004/20H2

Diff from v5.0.0
5.0.0...5.0.1

  • The "SetTempPath" function;
    • Fixed error There is a mismatch between the tag specified in the request and the tag present in the reparse point
  • Descriptions;
  • Minor changes.
Sophia-Script-for-Windows - 24.09.2020

Published by farag2 about 4 years ago

Windows 10 2004/20H2

  • The script has a new name: Windows 10 Sophia Script ❤️
  • The Script was rewritten into module (about 270 functions) with a preset file!
    • Now it should be ran via .\Preset.ps1
    • Every tweak in a preset file has its' corresponding function to restore the default settings;
    • Create your own preset file!
  • Minor changes. No new features.
Sophia-Script-for-Windows - 23.09.2020

Published by farag2 about 4 years ago

5.0 RC5

Sophia-Script-for-Windows - 22.09.2020

Published by farag2 about 4 years ago

5.0 RC4

Sophia-Script-for-Windows - 21.09.2020

Published by farag2 about 4 years ago

5.0 RC3

Sophia-Script-for-Windows - 19.09.2020

Published by farag2 about 4 years ago

5.0 RC2

Sophia-Script-for-Windows - 18.09.2020

Published by farag2 about 4 years ago

5.0 RC1

Sophia-Script-for-Windows - 18.08.2020

Published by farag2 about 4 years ago

Windows 10 2004 | 1903/1909 | LTSC Enterprise 2019

Diff from v4.5.7
4.5.7...4.6

  • Fixed and improved translations and comments. Closed https://github.com/farag2/Windows-10-Setup-Script/pull/58 & https://github.com/farag2/Windows-10-Setup-Script/pull/59. Thanks a lot to @skycommand for the help with translation;

  • Removed the "Group svchost.exe processes" section;

    • To revert to the default changes rub
    New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control -Name SvcHostSplitThresholdInKB -PropertyType DWord -Value 3670016 -Force
    
    # Restart required
    
  • Removed the "Show the "File Explorer" and "Settings" folders on Start" section;

  • Updated the "Turn off Delivery Optimization" section;

    • To enable it run
    New-ItemProperty -Path Registry::HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings -Name DownloadMode -PropertyType DWord -Value 0 -Force
    New-ItemProperty -Path Registry::HKEY_USERS\S-1-5-20\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings -Name DownloadModeProvider -PropertyType DWord -Value 8 -Force
    
  • Updated the "Turn off Windows features" section;

    • The "Microsoft Print to PDF" feature was excluded from disabling;
    • To revert to the proper values run
    Enable-WindowsOptionalFeature -Online -FeatureName Printing-PrintToPDFServices-Features # -NoRestart
    
  • Updated the "Change the location of the user folders to %SystemDrive%" section;

    • Added the RemoveDesktopINI argument to remove desktop.ini in the old user shell folder;
  • Fixed wrong value in "Add the "Extract all" item to Windows Installer (.msi) context menu" section;

    • To revert to the proper values run
    New-ItemProperty -Path Registry::HKEY_CLASSES_ROOT\Msi.Package\shell\Extract -Name MUIVerb -PropertyType String -Value "@shell32.dll,-37514" -Force
    
  • Updated the "Do not add the "- Shortcut" suffix to the file name of created shortcuts" section;

  • Minor changes.

Sophia-Script-for-Windows - 17.08.2020

Published by farag2 about 4 years ago

Windows 10 2004 | 1903/1909 | LTSC Enterprise 2019 Versions

Diff from v4.5.6 (2004)
4.5.6...4.5.7

  • Removed "Turn off per-user services" section;

    • Closed #50 & #52;
    • To revert these services back run
    New-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\PimIndexMaintenanceSvc -Name Start -PropertyType DWord -Value 3 -Force
    Remove-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\PimIndexMaintenanceSvc -Name UserServiceFlags -Force
    New-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\UnistoreSvc -Name Start -PropertyType DWord -Value 3 -Force
    Remove-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\UnistoreSvc -Name UserServiceFlags -Force
    New-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\UserDataSvc -Name Start -PropertyType DWord -Value 3 -Force
    Remove-ItemProperty -Path HKLM:\System\CurrentControlSet\Services\UserDataSvc -Name UserServiceFlags -Force
    
    # Restart required
    
  • Updated "Turn on Windows 10 20H2 new Start style" section;

  • Updated "Change %TEMP% environment variable path to the %SystemDrive%\Temp" section;

    • Added prompt for choice;

      • Added symbolic link creation;
    • Closed #51.

      • Create required folder
      New-Item -Path $env:LOCALAPPDATA\Temp -ItemType Directory -Force
      
  • Minor changes.

Windows 10 LTSC Enterprise 2019 Version

  • As I was asked many times, released the LTSC version;
  • Closed #40 & #39;
  • Minor changes.
Sophia-Script-for-Windows - 03.08.2020

Published by farag2 about 4 years ago

Before running the script read the Before running & Usage

Diff from v4.5.5 (Windows 10 2004)

Windows 10 2004 | 1903/1909 Version

4.5.5...4.5.6

  • Added "Turn on Windows 10 20H2 new Start style" section. The new Start style described here;
  • Added "Install the Windows Subsystem for Linux (WSL)" section;
  • Added new package "Microsoft.Photos.MediaEngineDLC" to the $UncheckedAppxPackages variable in "Uninstall UWP apps" section;
  • region Edge removed (only for 1903/1909 Version);
  • Comments;
  • Minor changes.

Windows 10 LTSC Enterprise 2019 Version

  • As I was asked many times, released the LTSC version;
  • Closed #40 & #39;
  • Minor changes.
Sophia-Script-for-Windows - 07.07.2020

Published by farag2 over 4 years ago

Diff from v4.5.4
4.5.4...4.5.5

  • Closed #40 & #39
  • Comments;
  • Minor changes.
Sophia-Script-for-Windows - 29.06.2020

Published by farag2 over 4 years ago

Diff from v4.5.3
4.5.3...4.5.4

  • Updated "Turn off Cortana autostarting" section
  • Updated "Create "Process Creation" Event Viewer Custom View" section
    • Closed #37
  • Removed "Uninstall all Xbox related UWP apps from all accounts" section because it's unnecassary
  • Closed #36. Removed sections
    • Show accent color on Start, taskbar, and action center
    • Show accent color on the title bars and window borders
    • Increase taskbar transparency
  • Comments;
  • Minor changes
Sophia-Script-for-Windows - 23.06.2020

Published by farag2 over 4 years ago

Diff from v4.5.2
4.5.2...4.5.3

  • Updated help section
  • Updated "Turn off Cortana autostarting" section
  • Added "Create "Process Creation" Event Viewer Custom View" section
    • For this custom view to function, it is necessary to enable the following sections
      • Turn on events auditing generated when a process is created or starts
      • Include command line in process creation events
    • This feature allows to conveniently track the creation of suspicious processes along with the process command line argument
    • Go to Event Viewer - Custom View - Process Creation
  • Minor changes
Sophia-Script-for-Windows - 19.06.2020

Published by farag2 over 4 years ago

Diff from v4.5.1
4.5.1...4.5.2

  • Removed sections due to Network troubleshooter is unable to start DPS service

    • Stop event trace sessions
    • Turn off the data collectors at the next computer restart
    • To restore Network troubleshooter download attached DiagLog_EN.xml and execute in CMD
    :: Restart needed
    logman import -name "DiagLog" -xml "PathTo\DiagLog_EN.xml"
    logman start "DiagLog"
    
  • Updated "Turn on logging for all Windows PowerShell modules" section

    • Fixed typo in registry path key creation
    • To restore execute
    Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames -Name EnableModuleLogging -Force
    New-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging -Name EnableModuleLogging -PropertyType DWord -Value 1 -Force
    
  • Minor changes

Sophia-Script-for-Windows - 17.06.2020

Published by farag2 over 4 years ago

Diff from v4.5.0.1
4.5.0.1...4.5.1

  • Updated "Unpin all the Start tiles" section
    • Now using another method to unpin all Start tiles
  • Updated "Pin the shortcuts to Start" section
    • Updated check for the internet connection
Sophia-Script-for-Windows - 11.06.2020

Published by farag2 over 4 years ago

Windows 10 2004 Version

Diff from v4.5
4.5...4.5.0.1

  • Updated "Remove Windows capabilities" section

    • Moved Notepad from the $CheckedCapabilities variable to the $ExcludedCapabilities

    • To restore uninstalled Notepad execute

      Get-WindowsCapability -Online -Name Microsoft.Windows.Notepad* | Add-WindowsCapability -Online -Verbose
      
  • Updated "Turn on hardware-accelerated GPU scheduling" section

    • Added determining whether an OS is not installed on a virtual machine
Sophia-Script-for-Windows - 10.06.2020

Published by farag2 over 4 years ago

Windows 10 2004 Version

  • Updated sections

    • Stop event trace sessions;
    • Turn off Windows features;
    • Turn off background apps, except the followings...;
    • Turn off and delete reserved storage after the next update installation;
    • Hide the "Edit with Photos" item from the context menu;
    • Hide the "Create a new video" item from the context menu;
    • Hide the "Edit" item from the images context menu;
    • Remove the "Bitmap image" item from the "New" context menu;
    • Remove the "Rich Text Document" item from the "New" context menu.
  • Added sections

    • Turn on automatically save my restartable apps when sign out and restart them after sign in
    • Turn off Cortana autostarting;
    • Turn on hardware-accelerated GPU scheduling.
  • Due to Microsoft Edge moved to Chromium rendering engine, the following sections was removed

    • Remove Microsoft Edge shortcut from the Desktop;

    • Do not allow Microsoft Edge to start and load the Start and New Tab page at Windows startup and each time Microsoft Edge is closed;

      • To remove unnecessary key execute
      Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\TabPreloader -Name AllowTabPreloading -Force
      
    • Do not allow Microsoft Edge to pre-launch at Windows startup, when the system is idle, and each time Microsoft Edge is closed;

      • To remove unnecessary key execute unnecessary key execute
      Remove-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Main -Name AllowPrelaunch -Force
      
    • Turn off Windows Defender SmartScreen for Microsoft Edge;

      • To remove unnecessary key execute
      $edge = (Get-AppxPackage -Name Microsoft.MicrosoftEdge).PackageFamilyName
      Remove-ItemProperty -Path "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\$edge\MicrosoftEdge\PhishingFilter" -Name EnabledV9 -Force
      
    • Turn off creation of an Edge shortcut on the desktop for each user profile;

      • To remove unnecessary key execute
      Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer -Name DisableEdgeDesktopShortcutCreation -Force
      
  • In Windows 10 the "Turn on automatic recommended troubleshooting and tell when problems get fixed" feature was renamed into "Run troubleshooters automatically, then notify"

  • Comments;

  • Minor changes.

Sophia-Script-for-Windows - 10.06.2020

Published by farag2 over 4 years ago

Windows 10 1903/1909 versions

Diff from v4.4
4.4...4.4.1

  • Comments;
  • Minor changes.
Sophia-Script-for-Windows - 02.06.2020

Published by farag2 over 4 years ago

Diff from v4.3.0.1
4.3.0.1...4.4

  • Updated links in the comment-based help section;

  • Updated "Increase taskbar transparency" section

    • Removed "ForceEffectMode" key, that blocked Windows 10 transparency effects
    • To remove unnecessary key, execute
    # Restart needed
    Remove-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\Dwm -Name ForceEffectMode -Force
    
  • Updated "Change location of the user folders" section

    • Added comment-based section;
    • Added the ability to skip (#25)
  • Updated "Uninstall UWP apps" section

    • Added "Uninstall for All Users" button to the form (unchecked by default) (@oz-zo) to uninstall UWP apps from all account
  • Add the "Run as different user" item to the .exe files types context menu

    • Removed unnecessary keys
  • Comments;

  • Minor changes.

Sophia-Script-for-Windows - 23.05.2020

Published by farag2 over 4 years ago

Diff from v4.2.1
4.2.1...4.3.0.1

  • Fixed bug in "Show accent color on Start, taskbar, and action center" section;
  • The "Change location of the user folders" section was rewritten into interactive menu using up/down arrows and Enter key to make a selection (menu by MaxKozlov)
    • A user will be prompted to select the drive letter where the user folders will be moved programmatically
    • Files will not be moved. Do it manually
    • Video
  • The task "Update cleanup" in the Task Scheduler renamed into "Windows Cleanup";
  • Comments;
  • Minor changes;
  • Thanks YuS_2 and westlife for the tips.
Badges
Extracted from project README
Telegram Telegram Discord ko-fi YT YT YT Discord
Related Projects