Skip to content

Script PowerShell de uso pessoal para configuração pós instalação do Windows 10/11.

License

Notifications You must be signed in to change notification settings

reinaldogpn/windows-post-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Post Install (WPI)

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.

Chocolatey

Chocolatey is a machine-level, command-line package manager and installer for software on Microsoft Windows. It uses the NuGet packaging infrastructure and Windows PowerShell to simplify the process of downloading and installing software. The name is an extension on a pun of NuGet (from "nougat") "because everyone loves Chocolatey nougat".

For further information and troubleshooting, please visit Chocolatey official website.

Winget

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):

Installation

  1. Open Windows PowerShell as Administrator and download the .ps1 file

    cd ~ ; Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/reinaldogpn/windows-post-install/main/wpi.ps1' -OutFile 'wpi.ps1' -UseBasicParsing
    
  2. To run the script, you have 3 installation options (choose only one). Note that this command uses "-ExecutionPolicy Bypass" allowing PowerShell scripts execution:

    • --server: install services as FTP and SSH servers, open specific ports in firewall (game servers ports), change power options and install useful applications for server management:

      powershell -ExecutionPolicy Bypass -Command "& .\wpi.ps1 --server"
      
    • --client: install client-like applications, tools and frameworks, it also make customizations to Windows:

      powershell -ExecutionPolicy Bypass -Command "& .\wpi.ps1 --client"
      
    • --full: full installation, install both server and client options:

      powershell -ExecutionPolicy Bypass -Command "& .\wpi.ps1 --full"
      

Customization Tools

Useful Commands

  • Fix for TranslucentTB (making taskbar translucent):

    1. Download ViVeTool.

    2. Run this command inside ViVe's directory as admin:

    vivetool /disable /id:26008830 && vivetool /disable /id:38764045

Popular App ID Names:

  • 9NKSQGP7F2NH = WhatsApp Desktop
  • 9NCBCSZSJRSB = Spotify Client
  • 9PF4KZ2VN4W9 = TranslucentTB
  • 9WZDNCRF0083 = Facebook Messenger