Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

likes-gay/win-config

Repository files navigation

Win Config

Quickly configure Windows with the objectively best settings

To add your own configuration

Please create a pull request, and create a JSON file in the configs directory. The file's name should be your username.

To see examples of what the file should be like, view other JSON files in there.

The Options

All the options can all be found in the configs' README.md.

And all these different options are configurable per user. It works by finding their config based off of the computer's username.

To Run

Single command to download and run the script

Updated PowerShell command

iwr "https://github.com/likes-gay/win-config/releases/latest/download/main.ps1" -OutFile main.ps1; .\main.ps1

Using a Rubber Ducky (badusb) to run the script

Upload the payload.dd to your USB

Linter with PSScriptAnalyzer

We use PSScriptAnalyzer with all the rules enabled.

Install PSScriptAnalyzer

Windows, without admin:

Install-Module -Name PSScriptAnalyzer -Scope CurrentUser -Force

Linux:

sudo apt install -y powershell
pwsh
Install-Module -Name PSScriptAnalyzer -Force

Run the linter

Invoke-ScriptAnalyzer -Path .\main.ps1 -Settings .\linter-settings.psd1

About

Quickly configure Windows with the objectively best settings

Resources

Stars

Watchers

Forks

Contributors 11