This PowerShell script automatically installs the programs I use in my PC, runs updates and apply some personal preferences. Tested on Windows 10 and Windows 11.
Winget is the Windows Package Manager (as good as 'apt install' on Linux, no joke). The winget command line tool enables users to discover, install, upgrade, remove and configure applications on Windows 10 and Windows 11 computers. This tool is the client interface to the Windows Package Manager service. It's pre-installed by default on Windows 10 and 11, but it may needs to be updated just after installing the OS (relax, this script will do it for you).
For further information and troubleshooting, please visit winget's official Github repository.
Winget dependencies (OPTIONAL):
The script downloads these files automatically, but you should download it manually to go faster:
1) Microsoft Visual C++ Redist:
2) Microsoft UI Xaml:
3) Microsoft Desktop App Installer (Winget):
-
Open
Windows PowerShell
as Administrator and download the .ps1 filecd ~ ; Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/reinaldogpn/windows-post-install/main/wpi.ps1' -OutFile 'wpi.ps1' -UseBasicParsing
-
To run the script, you have 3 installation options (choose only one). Note that this command uses "-ExecutionPolicy Bypass" allowing PowerShell scripts execution:
-
--default
: install common applications and customizations to Windows:powershell -ExecutionPolicy Bypass -Command "& .\wpi.ps1 --default"
-
--dev
: install tools and resources for software development, it also applies power and network settings:powershell -ExecutionPolicy Bypass -Command "& .\wpi.ps1 --dev"
-
- Windows 11 Cursors Concept - a modern option to customize Windows mouse cursor.
- TranslucentTB - a good choice for bringing a modern translucent look for Windows taskbar.
-
Fix for TranslucentTB (making taskbar translucent):
-
Download ViVeTool.
-
Run this command inside ViVe's directory as admin:
vivetool /disable /id:26008830 && vivetool /disable /id:38764045
-
Popular App ID Names:
9NKSQGP7F2NH
= WhatsApp Desktop9NCBCSZSJRSB
= Spotify Client9PF4KZ2VN4W9
= TranslucentTB9WZDNCRF0083
= Facebook Messenger