- 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
git clone git@github.com:Nexir/windows-install.git
(extract the archive)
Before running the script you may check the file programs-to-remove.txt to verify the packages which will be removed.
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
The script uses official microsoft package manager winget to install your programs.
Default winget downloader seems to be slow, you should try switching to do :
- Run
winget settings
- Add :
"network": {
"downloader": "do"
}
- Save file
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/
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" },
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