Skip to content

qis/windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows

Installation and configuration instructions for Windows 10 20H2.

Preparations

Download the latest Windows 10 image and create the installation media using the Media Creation Tool or Rufus.

Create the file \sources\ei.cfg on the installation media.

[EditionID]
Professional
[Channel]
OEM
[VL]
0

Create the file \sources\pid.txt on the installation media if Channel is Retail.

[PID]
Value={windows key}

Copy this repo and the latest graphics drivers installer to the installation media.

Set the BIOS date and time to the current local time.

Keep the system disconnected from the network.

Installation

Boot the installation media.

Language to install: English (United States)
Time and currency format: {Current Time Zone Country}
Keyboard or input method: {Current Hardware Keyboard}

Choose a single word username starting with a capital letter to keep the %UserProfile% path consistent and free from spaces.

Verify Windows flavor and version with Start > "winver".

Setup

Modify and execute setup/system.ps1 using the "Run with PowerShell" context menu repeatedly until it stops rebooting the system.

Drivers & Updates

Disable automatic driver application installation.

Start > "Change device installation settings"
◉ No (your device might not work as expected)
  1. Reboot the system.
  2. Connect to the Internet.
  3. Install Windows updates.
  4. Repeat the "Setup" step.

Reboot the system.

Settings

Settings that have yet to be incorporated into the setup/system.ps1 script.

Keyboard Layout (Optional)

  1. Install keyboard layouts from res/keymap.zip.
  2. Configure Windows language preferences in Settings.
  3. Disable keyboard layout preload.
reg delete "HKEY_USERS\.DEFAULT\Keyboard Layout\Preload" /f

Reboot the system.

Devices

Typing
+ Spelling
  ☐ Autocorrect misspelled words
+ Typing
  ☐ Add a period after I double-tap the Spacebar

AutoPlay
+ Choose AutoPlay defaults
  Removable drive: Open folder to view files (File Explorer)
  Memory card: Open folder to view files (File Explorer)

Network & Internet

Proxy
+ Automatic proxy setup
  ☐ Automatically detect settings

Personalization

Background
+ Background
  Browse: (select picture)

Colors
+ Choose your color
  Windows colors: Navy blue

Lock screen
+ Preview
  Browse: (select picture)

Start
+ Start
  ☐ Show app list in Start menu

Time & Language

Region
+ Region
  Country or region: United States
  Regional format: English (United States)
+ Additional date, time, & regional settings > Change date, time, or number formats
  Formats > Additional settings...
  + Numbers
    Digit grouping symbol: ␣
    Measurement system: Metric
  + Currency
    Currency symbol: €
    Positive currency format: 1.1 €
    Negative currency format: -1.1 €
    Digit grouping symbol: ␣
  + Time
    Short time: HH:mm
    Long time: HH:mm:ss
  + Date
    Short date: yyyy-MM-dd
    Long date: ddd, d MMMM yyyy
    First day of week: Monday
  Administrative
  + Copy settings...
    ☑ Welcome screen and system accounts
    ☑ New user accounts

Reboot the system.

Privacy

General
+ Change privacy options
  ☐ Let Windows track app launches to improve Start and search results

Shortcuts

Create Network Connections shortcut in powershell.exe.

$sm = "${env:UserProfile}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
$sp = "${sm}\Network Connections.lnk"
$ws = New-Object -ComObject WScript.Shell
$sc = $ws.CreateShortcut($sp)
$sc.IconLocation = 'C:\Windows\System32\netshell.dll,0'
$sc.TargetPath = 'C:\Windows\System32\control.exe'
$sc.Arguments = 'ncpa.cpl'
$sc.Save()
Invoke-Item $sm

Windows Libraries

Move unwanted Windows libraries.

  1. Right click on %UserProfile%\Pictures\Camera Roll and select "Properties".
    Select the "Location" tab and change the path to %AppData%\Pictures\Camera Roll.
  2. Right click on %UserProfile%\Pictures\Saved Pictures and select "Properties".
    Select the "Location" tab and change the path to %AppData%\Pictures\Saved Pictures.
  3. Right click on %UserProfile%\Videos\Captures and select "Properties".
    Select the "Location" tab and change the path to %AppData%\Videos\Captures.

Indexing Options

Configure Indexing Options to only track the "Start Menu" and rebuild the index.

Firewall

Disable all rules in Windows Firewall except the following entries.

wf.msc
+ Inbound Rules
  Core Networking - …
  Delivery Optimization (…)
  Hyper-V …
  Network Discovery (…)
+ Outbound Rules
  Core Networking - …
  Hyper-V …
  Network Discovery (…)

Enable inbound rules for Core Networking Diagnostics - ICMP Echo Request (ICMPv…-In).
Modify Private,Public rules for ICMPv4 and ICMPv6 inbound rules and select Any IP address under Remote IP address in the Scope tab.

Microsoft Software

Configure autostart options.

Start > "Task Manager" > Startup
Send to OneNote Tool: Disabled
Windows Terminal: Enabled

Applications

Install tools.

Install "Creation" software.

Install "Administration" software.

Install "Development" software.

Install or restore portable 64-bit third party software.

Install or restore portable 32-bit third party software.

Disable Affinity update checks.

reg add "HKLM\SOFTWARE\Serif\Affinity\Photo\1" /v "No Update Check" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Serif\Affinity\Designer\1" /v "No Update Check" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Serif\Affinity\Publisher\1" /v "No Update Check" /t REG_DWORD /d 1 /f

Install dictionaries in Affinity using the following schema.

en/en_US.aff      -> C:\ProgramData\Affinity\Common\1.0\Dictionaries\en-US\en_US.aff
en/en_US.dic      -> C:\ProgramData\Affinity\Common\1.0\Dictionaries\en-US\en_US.dic
en/hyph_en_US.dic -> C:\ProgramData\Affinity\Common\1.0\Dictionaries\en-US\hyph_en_US.dic

Configure LMMS paths on first startup.

  • Replace %UserProfile%\Documents with %UserProfile%\Music.
  • Use PortAudio with WASAPI backend.

Windows Subsystem for Linux

See wsl/ubuntu.md for WSL setup instructions.

Development

See development.md for development setup instructions.

Start Menu

Start Menu