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

Published by farag2 over 4 years ago

  • Now using "switch" operator in the interactive prompts;
  • Comments;
  • Minor changes.
Sophia-Script-for-Windows - 04.02.2020

Published by farag2 over 4 years ago

  • Added OS edition detection to add proper value for the "AllowTelemetry" registry key.;
  • "Stop event trace sessions" section;
  • "Set the operating system diagnostic data level" section;
  • "Unpin all Start menu tiles" section;
    • Now it's possible to skip unpinning all Start menu tiles
  • Minor changes.
Sophia-Script-for-Windows - 31.01.2020

Published by farag2 over 4 years ago

  • Added "Include command line in progress creation events" section;

  • Added "Let track app launches to improve Start menu and search results" section;

  • Removed "Do not let track app launches to improve Start menu and search results" section;

  • Added "Stop event trace sessions" section;

  • Updated "Turn off the data collectors at the next computer restart" section;

  • Updated "Turn off diagnostics tracking scheduled tasks" section. Some tasks has been removed from the list. To recover execute

    $tasks = @(
    "DmClient"
    "DmClientOnScenarioDownload"
    "EnableLicenseAcquisition"
    "GatherNetworkInfo"
    "MNO Metadata Parser"
    "NetworkStateChangeTask"
    "TempSignedLicenseExchange"
    )
    Get-ScheduledTask -TaskName $tasks | Enable-ScheduledTask
    
  • Comments

  • Minor changes.

Sophia-Script-for-Windows - 15.11.2019

Published by farag2 almost 5 years ago

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

Published by farag2 almost 5 years ago

  • Added the detections of the OS bitness and PowerShell session;
  • Minor changes.
Sophia-Script-for-Windows - 08.11.2019

Published by farag2 almost 5 years ago

  • Sections rearranged

  • Comments

  • Removed unnecessary "Turn off Cortana" section. To remove the key execute

    Remove-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search" -Force
    
  • Removed unnecessary "Turn on Retpoline patch against Spectre v2" section;

  • Removed unnecessary "Turn on firewall & network protection" section;

  • "Enable System Restore" section redone into "Remove Shadow copies (restoration points)"

  • Minor changes.

Sophia-Script-for-Windows - 05.11.2019

Published by farag2 almost 5 years ago

"Uninstall UWP apps" section.

Sophia-Script-for-Windows - 22.10.2019

Published by farag2 almost 5 years ago

  • Improved "Turn off Windows features" and "Turn off default background apps, except the followings..." sections
  • Total runtime reduced by ~ 10 sec.
Sophia-Script-for-Windows - 21.10.2019

Published by farag2 almost 5 years ago

  • Ready for Windows 10 November 2019 Update;
  • Minor changes.
Sophia-Script-for-Windows - 11.10.2019

Published by farag2 about 5 years ago

  • The "Save screenshots by pressing Win+PrtScr to the Desktop" section was moved to the "Set location of the "Desktop", "Documents" "Downloads" "Music", "Pictures", and "Videos"" section

    • Fixes saving a screenshot when it was saved in the old desktop folder if the path to the desktop was changed after that.
  • Reorganized the "UI & Personalization" directive

  • Translations

  • Removed unnecessary keys in the "OneDrive" section. To remove them, execute

    Remove-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\OneDrive -Force
    Remove-ItemProperty -Path HKCU:\Software\Microsoft\OneDrive -Name DisablePersonalSync -Force
    
  • Removed "Remove printers" section;

  • Added "Sticky Notes" app to the exclusion list of a "Uninstall all UWP apps from all accounts except" section;

  • Minor changes.

Sophia-Script-for-Windows - 08.10.2019

Published by farag2 about 5 years ago

  • Added "Lock App" app to the exclusion list of a "Turn off default background apps except" section;
    • Fixes freeze when trying to open a link from lock screen when Windows spotlight enabled. To fix execute:
$LockApp = (Get-AppxPackage -AllUsers | Where-Object -FilterScript {$_.PackageFamilyName -like "Microsoft.LockApp*"}).PackageFamilyName
$LockApp = $LockApp.Split(",")[0]
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications\$LockApp" -Name * -Force
Write-Host "Restart required"
  • Removed "Remove printers" section;
  • Added "Sticky Notes" app to the exclusion list of a "Uninstall all UWP apps from all accounts except" section;
  • Minor changes.
Sophia-Script-for-Windows - 04.10.2019

Published by farag2 about 5 years ago

  • Added "Allow an app through Controlled folder access";
  • Reorganized the tweaks, dividing into 11 categories:
    • Privacy;
    • UI & Personalization;
    • OneDrive;
    • System;
    • Start menu;
    • Edge;
    • UWP apps;
    • Windows Game Recording;
    • Scheduled tasks;
    • Microsoft Defender;
    • Context menu;
  • Minor changes.
Sophia-Script-for-Windows - 16.09.2019

Published by farag2 about 5 years ago

  • Added "Set the encoding to UTF-8 without BOM for the PowerShell session";

    • ping.exe | Out-Null used due to output is encoded with the default encoding despite changes (bug in .NET);
  • Descriptions;

  • Open shortcut to the Command Prompt from Start menu as Administrator;

  • Added

    New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection -Name AllowTelemetry -PropertyType DWord -Value 3 -Force
    

command to "Turn on automatic recommended troubleshooting and tell when problems get fixed" section due to the diagnostic data level needs to be set to "Full" in order to work;

  • Minor changes.
Sophia-Script-for-Windows - 09.09.2019

Published by farag2 about 5 years ago

  • Added "#Requires -RunAsAdministrator" statement;
  • Removed all diagnostics tracking services except "DiagTrack";
Get-Service -Name DusmSvc | Set-Service -StartupType Automatic
Get-Service -Name SSDPSRV | Set-Service -StartupType Manual
Get-Service -Name DusmSvc, SSDPSRV | Start-Service
  • Added check whether the PC is a work station when applying the patch against Spectre v2;
  • Added calculator to exceptions for uninstalling UWP applications;
  • Added forced focus on the file open dialog;
  • Minor changes.
Sophia-Script-for-Windows - 02.09.2019

Published by farag2 about 5 years ago

Removed Get-ResolvedPath function from script due to lack of need;
Fixed typo in "Show Task Manager details" section.

Sophia-Script-for-Windows - 31.08.2019

Published by farag2 about 5 years ago

Removed CDPSvc service from list due to Night ligth doesn't start.
Revert service backTurn the service back on:

Get-Service -Name CDPSvc | Set-Service -StartupType Automatic
Get-Service -Name CDPSvc | Start-Service
Sophia-Script-for-Windows - 29.08.2019

Published by farag2 about 5 years ago

Fixed loop in "Set "High performance" in graphics performance preference for apps"

Sophia-Script-for-Windows - 20.08.2019

Published by farag2 about 5 years ago

  • Turn off diagnostics tracking services,
  • Uninstall all UWP apps from all accounts except,
  • Turn off diagnostics tracking scheduled tasks;
    • The foreach instruction is no longer used;
    • Increased processing speed
  • Import Start menu layout from pre-saved reg file;
    • Now it's possible to select a file to import through OpenFileDialog
  • Turn on Windows Sandbox;
    • Changed the method for determining if a Hyper-V service is enabled
  • Fixed typo in "Turn on Windows Sandbox"
  • Minor changes.
Badges
Extracted from project README
Telegram Telegram Discord ko-fi YT YT YT Discord
Related Projects