Skip to content

Releases: farag2/Sophia-Script-for-Windows

08.11.2019

08 Nov 08:08
da9ea5a
Compare
Choose a tag to compare
  • 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.

05.11.2019

05 Nov 10:17
222c5dd
Compare
Choose a tag to compare

"Uninstall UWP apps" section.

22.10.2019

22 Oct 08:45
623c095
Compare
Choose a tag to compare
  • Improved "Turn off Windows features" and "Turn off default background apps, except the followings..." sections
  • Total runtime reduced by ~ 10 sec.

21.10.2019

21 Oct 07:19
aaa121b
Compare
Choose a tag to compare
  • Ready for Windows 10 November 2019 Update;
  • Minor changes.

11.10.2019

14 Oct 12:37
e667521
Compare
Choose a tag to compare
  • 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.

08.10.2019

08 Oct 12:54
39bc31f
Compare
Choose a tag to compare
  • 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.

04.10.2019

04 Oct 09:40
b7d4d4b
Compare
Choose a tag to compare
  • 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.

16.09.2019

16 Sep 12:19
0b61f77
Compare
Choose a tag to compare
  • 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.

09.09.2019

09 Sep 07:15
1e25a0a
Compare
Choose a tag to compare
  • 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.

02.09.2019

02 Sep 07:13
de9563f
Compare
Choose a tag to compare

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