diff --git a/README.md b/README.md index 163b08f6..4269dd02 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,45 @@ -## English ## Contents - - [Description](#description) - - [Usage](#usage) - - [FAQ](#faq) - - [Supported Windows version](#supported-windows-version) - - [PS](#ps) +- [Overview](#overview) +- [Core features](#core-features) +- [Screenshots](#screenshots) +- [Usage](#usage) +- [Supported Windows version](#supported-windows-version) +- [FAQ](#faq) +- [Links](#links) +- [PS](#ps) -## Description +## Overview This PowerShell script is for initial setup after fresh installation of Windows 10 and partially Windows Server 2016/2019. The script is a set of tweaks for fine-tuning the OS and automating the routine tasks. +## Core features +- Turn off diagnostics tracking services; +- Turn off diagnostics tracking scheduled tasks; +- Interactive prompts + - [Screenshot](#screenshots) +- Uninstall all UWP apps from all accounts with exception apps list; +- Turn off Windows features; +- Create scheduled task with the disk cleanup tool in Task Scheduler; +- Create task to clean out the "$env:SystemRoot\SoftwareDistribution\Download" folder in Task Scheduler; +- Create scheduled task with the $env:TEMP folder cleanup in Task Scheduler; +- Add folder to exclude from Windows Defender Antivirus scan; +- Turn off per-user services; +- Create old style shortcut for "Devices and Printers"; +- Import Start menu layout from pre-saved reg file; + - Download pre-saved Startmenu.reg + - [Screenshot](#screenshots) +- Unpin all Start menu tiles; +- Set location of the "Desktop", "Documents" "Downloads" "Music", "Pictures", and "Videos"; +- Refresh desktop icons, environment variables and taskbar without restarting File Explorer; +- Many more File Explorer and context menu "deep" tweaks. + +### Screenshots +- Startmenu +![Startmenu](https://github.com/farag2/Windows-10-Setup-Script/blob/master/Screenshots/Startmenu.png) + +- Interactive menu +![Menu](https://github.com/farag2/Windows-10-Setup-Script/blob/master/Screenshots/read-host.png) + ## Usage To run the script: - Download [up-to-date version](https://github.com/farag2/Setup-Windows-10/releases); @@ -21,69 +51,24 @@ or **NB** - PowerShell and PowerShell ISE must be run with elevated privileges; -- Set PowerShell [execution](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) policy to be able to run .ps1 file. - - -## FAQ -Read the code you run carefully. Some functions are presented as an example only. You must be aware of the meaning of the functions in the code. **If you're not sure what the script does, do not run it.** - -If you're not sure: -- Open new [issue](https://github.com/farag2/Setup-Windows-10/issues); -- Ask a question in [forum](https://forums.mydigitallife.net/threads/powershell-script-setup-windows-10.80139/); -- [PM](https://forums.mydigitallife.net/members/farag.425562/) me. - -The script was written for PowerShell 5.1 and for the current up-to-date version of Windows 10 Pro x64. Some of functions can be run also on LTSB/LTSC and on older versions of Windows and PowerShell (also on 32bit systems). +- Set PowerShell execution policy Set-ExecutionPolicy Unrestricted -Force to be able to run .ps1 files. + - Read more about [execution policy](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) ## Supported Windows version | Version | Code name | Marketing name | Build | | :-----: | -------------| ---------------------- | :---: | | 1903 | 19H1 | May 2019 Update | 18362 | -  - -## Русский -## Содержание - - [Описание](#описание) - - [Использование](#использование) - - [FAQ](#faq) - - [Поддерживаемая версия Windows](#поддерживаемая-версия-windows) - - [PS](#ps) - -## Описание -PowerShell-скрипт предназначен для первоначальной настройки Windows 10 после чистой установки и частично Windows Server 2016/2019. Скрипт представляет из себя набор твиков (улучшений) для тонкой настройки ОС и автоматизации рутинных задач. - -## Использование -Чтобы запустить скрипт: -- Скачать [актуальную версию](https://github.com/farag2/Setup-Windows-10/releases); -- Изменить кодировку на "UTF-8 с BOM" и запустить через powershell.exe. - -или - -- Скопировать весь текст кода и вставить его в [PowerShell ISE](https://docs.microsoft.com/ru-ru/powershell/scripting/components/ise/windows-powershell-integrated-scripting-environment--ise-). - -**NB** -- PowerShell и PowerShell ISE необходимо запускать с правами Администратора; -- Установите [политику](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) выполнения PowerShel-скриптов, чтобы иметь возможность запускать файлы .ps1. - ## FAQ -Внимательно ознакомьтесь с кодом, который запускаете. Некоторые команды представлены лишь в качестве примера. Вы должны осознавать, какой смысл несут те или иные функции в коде. **Если вы не знаете, что делает код, не исполняете его.** - -Если вы не уверены: -- Создайте новую [issue](https://github.com/farag2/Setup-Windows-10/issues); -- Задайте вопрос на [форуме](http://forum.ru-board.com/topic.cgi?forum=62&topic=30617); -- Напишите [личное сообщение](http://forum.ru-board.com/profile.cgi?action=show&member=farag). - -Скрипт писался под PowerShell 5.1 и актуальную версию Windows 10 Pro x64. Некоторые функции могут быть запущены как на LTSB/LTSC-версиях Windows и так на более старых версиях Windows и PowerShell (в том числе и на 32-разрядных). - -## Поддерживаемая версия Windows +Read the code you run carefully. Some functions are presented as an example only. You must be aware of the meaning of the functions in the code. **If you're not sure what the script does, do not run it.** -| Версия | Кодовое имя | Маркетинговое название | Билд | -| :-----: | -------------| ---------------------- | :---: | -| 1903 | 19H1 | May 2019 Update | 18362 | +The script was written for PowerShell 5.1 and for the current up-to-date version of Windows 10 Pro x64. Some of functions can be run also on LTSB/LTSC and on older versions of Windows and PowerShell (also on 32bit systems). -  +## Links +- Ask a question in + - [Ru-Board](http://forum.ru-board.com/topic.cgi?forum=62&topic=30617#15) + - [My Digital Life](https://forums.mydigitallife.net/threads/powershell-script-setup-windows-10.80139/) + - [Reddit](https://www.reddit.com/r/Windows10/comments/ctg8jw/powershell_script_setup_windows_10/) ## PS Collection of useful [scripts](https://gist.github.com/farag2) - -Сборник полезных [скриптов](https://gist.github.com/farag2)