* Now, wherever the `-UnpinAll` (unpin all tiles) argument is placed, it will always be executed first, to avoid the situation when the tiles were pinned and then all were unpinned;
* The `HEIF` function huge update
* Now it's possible to open Microsoft Store extension page manually (`-Manual` argument) or download and install (`-Install` argument) appx package directly from Microsoft server using the <https://store.rg-adguard.net> parser;
* Built upon awesome @KaiWalter [function](https://dev.to/kaiwalter/download-windows-store-apps-with-powershell-from-https-store-rg-adguard-net-155m); :rocket:
* Thanks to [iNNOKENTIY21](https://forum.ru-board.com/profile.cgi?action=show&member=iNNOKENTIY21) for the tips.
* Now it's able to register an app, calculate special hash, and set as default for specific extension without the ["How do you want to open this"](https://filestore.community.support.microsoft.com/api/images/2383a021-b035-40b5-8d9b-b935cbb713e3) pop-up
* Built upon awesome @Danyfirex [function](https://github.com/DanysysTeam/PS-SFTA); :rocket:
* Learn more about the problem: <https://stackoverflow.com/a/49256437/8315671>;
* At last we created the video how to use Sophia Script!
* The `PinControlPanel`, `PinDevicesPrinters`, `PinCommandPrompt`, and `UnpinAllStartTiles` functions were rewritten into one, `PinToStart`
* Now it's possible to pin Control Panel, Device and Printers, and PowerShell shortcuts without using the `syspin` app — just pure PowerShell! syspin was removed.
* Now all archives are being created and uploaded to the release page via [GitHub Actions](https://github.com/farag2/Windows-10-Sophia-Script/blob/master/.github/workflows/Sophia.yml);
* Thnx to @inv2004
* When running the script using ```.\Sophia.ps1 -Functions "FunctionName1 -Parameter"``` regardless of the functions entered as an argument, the ```Checkings``` function will be executed first, and the ```Refresh``` and ```Errors``` functions will be executed at the end;
* Updated the ```CreateRestorePoint``` function
* Closed #124
* Updated the ```EnableWSL2``` function
* Code refactoring for the ```ScheduledTasks```, ```WindowsFeatures```, ```WindowsCapabilities``` & ```UninstallUWPApps```
* The ```WindowsFeatures``` function generates **friendly** Windows features names instead of packages names :rocket:
* The ```WindowsCapabilities``` function generates **friendly** Windows capabilities names instead of packages names :rocket:
* The ```UninstallUWPApps``` function generates **friendly** UWP apps names instead of packages names :rocket:
* Clicking on "Uninstall for all users" dynamically generates UWP apps list for all users and vice versa. Currently works only on PowerShell 5.1 :thinking:
* Thanks to [iNNOKENTIY21](https://forum.ru-board.com/profile.cgi?action=show&member=iNNOKENTIY21) &@oz-zo
* Thnx to [YuS 2](https://forum.ru-board.com/profile.cgi?action=show&member=YuS%202) & [iNNOKENTIY21](https://forum.ru-board.com/profile.cgi?action=show&member=iNNOKENTIY21) for spending their time.
* The ```MediaPlayback``` feature in the ```WindowsFeatures``` function is unchecked now by default. Thnx to [Nevals](https://forums.mydigitallife.net/members/nevals.1442013)
* Added ```Logging``` function using the ```Start-Transcript``` cmdlet. Commented out by default.
* To stop logging just close the console or type ```Stop-Transcript```. The log will be being recorded into the script folder
* Added ```AppsLanguageSwitch``` function. Lets use a different input method for each app window. Thanks to [WindR](https://forum.ru-board.com/profile.cgi?action=show&member=WindR)
* Updated the Italian translation. Closed #103. Thanks to @garf02;
* Updated syspin app up to the 0.99.9.1;
* Minor changes. :feelsgood:
* Added the New Year ```easter egg``` to the console title! :hand_over_mouth:
* Some functions were updated and improved, especially
* ```ScheduledTasks```, ```WindowsFeatures```, ```WindowsCapabilities``` now support arguments to load pop-up dialog box;
* ```SetUserShellFolderLocation``` gets ```-Custom``` argument (commented out by default) to select a folder for the location of the user folders manually using a folder browser dialog. Closed #98;
* Fixed and changed method for saving code for creating the "Windows Cleanup" task in ```CleanUpTask``` function;
* There won't be any more AV false positives. Better to reregistre task again. Sometimes a toast didn't even load and the task runs forever. LOL
* Updated the ```Sophia.ps1``` preset file. Use the new one;
* Added Spanish localization :es:. Thanks to @AnxoMJ;
* Updated, improved and simplified all localizations. Thanks to all translators;
* Now available in: :uk: :cn: :de: :fr: :it: :ru: :ukraine: :tr: :es:
* Now available in: Available in: <imgsrc="https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/f/fa/Flag_of_the_People's_Republic_of_China.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/b/ba/Flag_of_Germany.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/0/03/Flag_of_Italy.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/f/f3/Flag_of_Russia.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg"height="11px"/><imgsrc="https://upload.wikimedia.org/wikipedia/commons/b/b4/Flag_of_Turkey.svg"height="11px"/>
Also guy from [benchtweakgaming.com](https://benchtweakgaming.com/2020/11/12/windows-10-debloat-tool/) created a GUI wrapper for the script. Hope it'll help! 🗡️
* The translations are moved to separate files ```Sophia.psd1```;
* To translate into your language you should
* Create a folder with the appropriate future localization name;
```powershell
$PSUICulture
```
* Place the translation into this folder without changing the file name (```Sophia.psd1```)
* Thanks to [FrankSinatra](https://habr.com/ru/users/FrankSinatra/) & [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife) for the tip.
* "DisableSuggestedContent" function renamed into "DisableWhatsNewInWindows";
* "EnableSuggestedContent" function renamed into "EnableWhatsNewInWindows";
* Closed #65, #71, #72 thanks to [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife);
- **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;
- Added "Turn on Windows 10 20H2 new Start style" section. The new Start style described [here](https://www.windowslatest.com/2020/08/02/windows-10-2004-gets-20h2-features/);
- 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;
- In Windows 10 the "Turn on automatic recommended troubleshooting and tell when problems get fixed" feature was renamed into "Run troubleshooters automatically, then notify"
- 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](https://qna.habr.com/user/MaxKozlov))
- A user will be prompted to select the drive letter where the user folders will be moved programmatically
- The task "Update cleanup" in the Task Scheduler renamed into "Windows Cleanup";
- Comments;
- Minor changes;
- Thanks [YuS_2](http://forum.ru-board.com/profile.cgi?action=show&member=YuS_2) and [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife) for the tips.
## 4.2.1 - 16.05.2020
- 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](http://forum.ru-board.com/profile.cgi?action=show&member=4r0) for found bugs.
## 4.2 - 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](https://docs.microsoft.com/ru-ru/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts) 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
- Thanks [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife) for the tips.
## 4.1 - 03.05.2020
- The "Turn off Windows features" and "Uninstall all UWP apps from all accounts" sections moved from CLI to GUI!
- WPF form made by [oz-zo](https://github.com/oz-zo), fixes by [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife)
- Minor changes.
## 4.0.34 - 28.04.2020
- Added the "Create a restore point" section (#14 );
- Updated "Include command line in process creation events" section;
- Minor changes;
- Comments.
## 4.0.33 - 24.04.2020
- The "Set "High performance" in graphics performance preference for apps" section moved from CLI to GUI
- Minor changes;
- Comments.
## 4.0.32 - 20.04.2020
- Comments;
- Added Internet connection test in "Pin the shortcuts to Start" section to ensure syspin.exe will be downloaded from GitHub. Anyway it can be loaded locally;
- The following sections transferred from CLI to GUI
- Turn on Controlled folder access and add protected folders;
- Allow an app through Controlled folder access;
- Add exclusion folder from Microsoft Defender Antivirus scanning;
- Add exclusion file from Windows Defender Antivirus scanning.
- Minor changes.
## 4.0.31 - 10.04.2020
- Improved "Uninstall OneDrive" section;
- Now it takes into account whether user signed in to OnedDrive;
- Added Xbox related apps to the exclusion list in "Uninstall all UWP apps from all accounts, except the followings..." section;
- Added "Uninstall all Xbox related UWP apps from all accounts" section;
- Removed "Uninstall all provisioned UWP apps from System account, except the followings..." section
- Using the "-AllUsers" key, applications were already deleted from all accounts
- Fixed all en dashes (0x2013). Thanks to [YuS_2](http://forum.ru-board.com/profile.cgi?action=show&member=YuS_2);
- Comments;
- Minor changes.
## 4.0.27 - 18.03.2020
- "Uninstall OneDrive" section
- Now even after restarting File Explorer your opened folders will be restored
- "Uninstall all UWP apps from all accounts, except the followings..." section
- "Uninstall all provisioned UWP apps from System account, except the followings..." section
- Now displays progress bar while uninstalling
- Deleted "Checking whether the script was saved in UTF-8 with BOM encoding if it runs locally" section
- There is [no way](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/docs-conceptual/components/vscode/understanding-file-encoding.md#common-causes-of-encoding-issues) for PowerShell to automatically determine the file encoding
- 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.
## 4.0.11 - 05.11.2019
"Uninstall UWP apps" section.
## 4.0.10 - 22.10.2019
- Improved "Turn off Windows features" and "Turn off default background apps, except the followings..." sections
- Total runtime reduced by ~ 10 sec.
## 4.0.9 - 21.10.2019
- Ready for Windows 10 November 2019 Update;
- Minor changes.
## 4.0.8 - 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
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;