Skip to content

Nexir/windows-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows install scripts

Prerequisites

  • Windows 10 or higher
  • Powershell (installed by default)
  • Script execution allowed

To start powershell, read Microsoft documentation

On windows, for you user to be able to run scripts you have to run this command :

Set-ExecutionPolicy Unrestricted -Scope CurrentUser

Download

With Git

git clone [email protected]:Nexir/windows-install.git

With Browser

Download

(extract the archive)

Launch Terminal

Launch terminal

Debloat Windows

Check program list

Before running the script you may check the file programs-to-remove.txt to verify the packages which will be removed.

Run script

If you want to uninstall some default windows packages run the command below, which will ask for admin rights and run debloat.ps1 script that will uninstall uncommented listed packages in programs-to-remove.txt.

.\run-debloat.bat

Install your programs

The script uses official microsoft package manager winget to install your programs.

Official winget documentation

Advice

Default winget downloader seems to be slow, you should try switching to do :

  1. Run winget settings
  2. Add :
"network": {
    "downloader": "do"
}

Microsoft settings

  1. Save file

Search for a package id

You can find your program winget id, either from the command line :

# Update package sources
winget update
# Format example
winget search _query_
# Actual example
winget search vlc

or from this website : https://winget.run/

Update package list

You have to modify the list $apps in install.ps1 file with your personal list as below :

# Format example
@{name = "wingetpackage.id"; source = "if_needed" },
# Actual example
@{name = "7zip.7zip" },

Run script

Install the package list (without admin right) :

(you will be ask for admin right elevation when the package needs it)

.\install.ps1

Install the package list (with admin right by default) :

.\run-install.bat

About

Simple personnal windows init scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published