Skip to content

Quickly configure Windows with the objectively best settings

Notifications You must be signed in to change notification settings

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

Legacy CMD command

curl -L -o likes-gay-config.exe https://github.com/likes-gay/win-config/releases/latest/download/likes-gay-config.exe && likes-gay-config.exe && del likes-gay-config.exe

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