Releases: farag2/Sophia-Script-for-Windows
17.06.2020
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
11.06.2020
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
10.06.2020
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.
10.06.2020
02.06.2020
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.
23.05.2020
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.
16.05.2020
Diff from v4.2
4.2...4.2.1
- Now the form for removing capabilities and UWP apps will not be initialized if there are no elements for removal;
- Added for the all tasks in the Task Scheduler a description displayed in the "Description" section;
- Fixed bug in "Include command line in process creation events" section
- Minor changes;
- Thanks 4r0 for found bugs.
12.05.2020
- Now the script will not be executed by PowerShell ISE;
- Moved from the "Read-Host" cmdlet to $Host.UI.PromptForChoice();
- Updated "Create a task in the Task Scheduler to start Windows cleaning up";
- A toast notification will be activated before starting cleaning up;
- Now cleanmgr.exe window starts minimized;
- Now using DISM to clean up unused Windows updates instead of cleanmgr.exe
DISM.exe /Online /English /Cleanup-Image /StartComponentCleanup /NoRestart- Minor changes;
- Thanks westlife for the tips.
03.05.2020
28.04.2020
- Added the "Create a restore point" section (#14 );
- Updated "Include command line in process creation events" section;
- Minor changes;
- Comments.