Bootstrap Windows

Bootstrap Windows

I use Chocolatey for package management in Windows, it's sort of the apt or yum equivalent for Windows.

This page is mostly for my own convenience, to quickly get my applications up and running after a fresh Windows install, without having to browse through multiple websites, downloads, executables and installation wizards 😃

Open a PowerShell terminal, with Run as Administrator, and execute:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Once finished, execute choco install -y with a list of your favorite applications:

choco install -y 1password GoogleChrome discord steam epicgameslauncher 7zip origin msiafterburner

UTC system time

Also, to tell Windows 10 that the system clock is set in UTC time, and not local (default), create a file called utc.reg with this contents:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
     "RealTimeIsUniversal"=hex(b):01,00,00,00,00,00,00,00

Execute it, restart and make sure you reset the "Set time automatically" setting in Windows.

Natural mouse wheel scroll

Credits to Jason Go, taken from here.

Run this in Powershell (as Administrator), choose '1' and restart (or reconnect your mouse):

$mode = Read-host "How do you like your mouse scroll (0 or 1)?";
Get-PnpDevice -Class Mouse -PresentOnly -Status OK | ForEach-Object { "$($_.Name): $($_.DeviceID)";
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters" -Name FlipFlopWheel -Value $mode;
"+--- Value of FlipFlopWheel is set to " + (Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Enum\$($_.DeviceID)\Device Parameters").FlipFlopWheel + "`n" }