Releases: farag2/Sophia-Script-for-Windows
05.11.2019
"Uninstall UWP apps" section.
22.10.2019
- Improved "Turn off Windows features" and "Turn off default background apps, except the followings..." sections
- Total runtime reduced by ~ 10 sec.
21.10.2019
- Ready for Windows 10 November 2019 Update;
- Minor changes.
11.10.2019
-
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
- 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
- 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
-
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
- 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
Removed Get-ResolvedPath function from script due to lack of need;
Fixed typo in "Show Task Manager details" section.
31.08.2019
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