Windows Installation and Optimisation Guide

Welcome to the Windows installation and optimisation guide, where i will try to explain my process of optimizing Windows 10.
I hope you will enjoy the ride!

Getting Started

These instructions will get you a pretty comfy Windows experience.
I will use my custom ISO of Windows 10 LTSB 1607 Fully updated (Febuary 2020) it's like the stock LTSB 1607 but with a lot of junk removed and some tweaks added.
You can find a list of what what this iso is all about here(coming soon)

Prerequisites

Things you will need to download first.

  • Latest Windows 10 ISO (my custom build can be found here)
  • Rufus Portable (can be found here)
  • 1 USB flash drive (maybe 2 if you have gigs and gigs of data to backup)
  • Your latest GPU Driver (Optional)

Notes: if you are using NVIDIA and don't use Geforce Experience (honestly, if you don't use shadowplay you shouldn't install it) download this tool to check and download your latest WHQL NVIDIA drivers.

if using NVIDIA/Intel always download the WHQL driver and not the DCH one, DCH drivers only works with Windows Store (the tool for NVIDIA will always download the WHQL one)

if you are using an Intel iGPU download the .zip version not the .exe one.

Preparing the Bootable USB

  • Download Rufus and the ISO with the link above.
  • Put your USB flash drive in your PC
  • Load the iso in Rufus

like so:

Rufus

  • Press Start
  • Wait

Note: If you don't have an UEFI card and only the old Legacy BIOS you will need to change GPT to MBR in order to boot, otherwise the motherboard can't boot from the USB flash drive.

(Optional) Adding your files to the USB Flash drive

Even tho your USB Flash drive is bootable it still can be used as a regular flash drive as long as you don't mess up with the file/directory hierarchy so to add your data and let's say your GPU driver (or the tool we downloaded before) what i recommend is to create a new folder named External in the root of the USB flash drive like so:

External

and upload all your data there if the capacity storage is enough.

Installing Windows

Booting in the USB

Now that you have your bootable USB flash drive.

  • Eject the USB Flash drive from the PC
  • Reput it in the PC
  • Reboot and While you are rebooting you need to acces to the BIOS/UEFI of your system

Note: usually it's the F2 Button but sometimes it's the F10 or the DEL key, I recommend trying F2 first, then if it doesn't work try the other 2 keys.

BIOS

Now that you are in the bios you will need to search for the Boot category, and set your USB flash drive to the first position of the boot order

like so:

BIOS2

Settings to check before leaving the BIOS/UEFI:

  • Disable secure boot if enabled
  • Make sure you are using AHCI mode and not IDE or Compatibilty mode if having the choice
  • If using an UEFI card make sure you set the boot order to UEFI First

now

  • Save and Exit
  • Your PC will reboot again in the USB flash drive.

Partitioning

Finaly you booted up into the USB flash drive now the real fun begins.
all you have to do is to choose your Keyboard preset and click Next until you see the Partitions screen.
if you are on UEFI make sure your drive table is set to GPT to do so hold Shift + F10 it will open a CMD window type:

diskpart
list disk
select disk "the number of the disk you want to install windows on" (exemple select disk 0)
clean (be careful this will format the whole drive)
convert GPT (do this step only on an UEFI system, on Legacy BIOS we want MBR)
create partition primary size=30000
create partition primary size=10000
create partition primary size=70000
exit
exit

it should look like this:

Size Partition
30go (C:) Windows
10go (L:) Logiciels (Software in english)
70go (D:) Documents
Gigs left (J:) Jeux (Games in english)

Select the 30go one and click Next
But you are not obliged to follow this type of partitions, please do as you like.
Once you have finished partitioning we can start the install.

Post install reboot

Only if you partitioned

Skip to the next part if you did not partitioned your system.

So once you finished the first step of the installation you will get the Get going fast screen don't click anything on the screen and hit:

CTRL + SHIFT + F3

your pc will now reboot in what we call Windows Audit mode.

Once in the Audit mode you want to immediately change your partitions letters and set them to:

  • Leave (C:) as it is
  • 10go (?:) ---> to (L:) (or S: if english-speaker)
  • 40~70go (?:) ---> to (D:) this is the most important one
  • Last partition ---> to (J:) (or G: if english-speaker)

like shown below:

Partition2

Important note: you will probably need to format the partitions to NTFS before changing the letters!

No we will tell to Windows that we want our Users directory to be in the (D:) partition

  • Go to the Toolbox directory in your Desktop
  • Open the directory named Audit mode,
  • Copy the relocate.xml in the root of your (D:) Partition

like so:

relocate.xml

Open the README.txt and copy the 2 commands and paste them in a CMD window as administrator

like so:

relocate.xml2

then your pc will reboot and continue the installation where we left off

Continuation of the post install

now that we are in the "Get going fast" screen click Customize and disable everything

like so:

Customize

Then if you didn't partition the drive with us, you will be prompted to choose a name and password and that's it your installation is done.
you will have a black screen for a moment and your Desktop will show up.

But if you have partitioned your drive you will have to do just one little extra step you will need to click Join a Local active directory and then you will be prompted to choose a name and optionnaly a password.

Huray! You succesfully installed Windows 10.

Final1

Optimizing Windows

Toolbox security affiliations

Now that we have installed Windows it's time to make it feel good.
First thing first we need to change some security settings to to the Toolbox directory

  • Go to the Properties of the Toolbox Folder
  • in the Security tab then Edit
  • Allow full control to every user

like so:

Secu

Activating Windows

  • Go to Toolbox directory > Post install > Activate Windows
  • Open the cmd file as administrator
  • Enter 6 then 7 then 2

like so:

Activate

Disable some cosmetics

For the sake of performance we will disable some cosmetics and animations.

  • Right click anywhere in the Desktop and choose Personalize
  • Go to Taskbar and uncheck the Make Start, Taskbar, and action center transparent
  • Go to Start section and disable Show recently added apps

like shown below:

Transparent

  • Right click on the Computer directory on your desktop and go Properties
  • Hit Advanced system settings then in the Advanced tab click Settings
  • Set it like the image below

Effect

Installing archive reader

In my opinion the most sane and optimized archive reader in the Windows NT environement is the opensourced 7zip.
so that what i will be installing, but you can install whatever you want.

  • Go to your Toolbox > Post install > Software
  • Launch the 7z1900-x64.exe
  • Change the install directory to the (L:) partition

7zip

  • Go to L:\7-zip and run 7zFM.exe as administrator
  • Click Outils (Tools in english) then Options..
  • Click the 2 + signs in the System tab
  • Copy my settings in the 7-Zip tab like the image bellow
  • Click Apply then Ok and you are done

7zip2

Installing video cards drivers

Note: if you are using a dual card setup with 2 monitors
(like your Intel iGPU on one screen and an NVIDIA card on the second screen)
Install your Intel drivers FIRST then the NVIDIA/AMD one, not the other way around.

Intel

The best way to install your Intel drivers sanely without the blobs is to use the Device manager to do so:

  • Download the .zip version of your drivers and extract it in a folder on the Desktop.
  • Go to Device Manager search for the Missing Video Controller it should be under Display adapters
    (unless you have a dual setup like mine then the NVIDIA one is under Display adapters and the Intel one is on Other devices)

Intel1

  • Right click on it Update driver Software..
  • Select Browse my comptuer for driver software
  • Point it to the folder where you extracted the driver and click Next

Intel2

NVIDIA

To install NVIDIA GPU drivers with Geforce Experience if you absolutely need it.
You just need to follow the .exe steps normally.
Just create a folder in your Desktop before launching the .exe, and point the extraction of the .exe to that folder.

Note: this will install all the blobs and NVIDIA Telemetry no matter what you do.

Without Geforce Experience - Minimal install

If you downloaded your drivers before the install, put them in the Desktop and Extract the .exe

If not use the TinyNvidiaUpdateChecker to download your latest drivers like so:

  • Put it in a directory (folder) in your Desktop
  • Launch the .exe then choose Download and Extract
  • Choose where it will Download and Extract it (a new folder is recommended)
  • Wait the download

If the driver did not extract automatically do it manually by extracting the driver .exe with 7zip.
Now that we have our driver folder extracted it's time to delete what we don't need

⎗
✓
Display.NView (Keep this if you have XP, or a Quadro card otherwise it's deprecated)
GFExperience
GFExperience.NvStreamSrv
GfExperienceService
LEDVisualizer
Miracast.VirtualAudio
MS.NET
MSVCRT
Network.Service
NGXcore
nodejs
NvAbHub
NV3DVision (deprecated)
NV3DVisionUSB.Driver (deprecated)
NvBackend
NvCamera
NvContainer
NVPCF
NvTelemetry
NvVAD
NvvHCI
PPC (Keep it if you have a PowerPC, if you are on standard x86_64 remove it)
ShadowPlay
Update.Core

Optional

⎗
✓
1
2
3
4
Display.Optimus (Keep this if you have an Optimus card)
HDAudio (Keep this if you use the HDMI audio, or want it in the future)
ShieldWirelessController (Keep this if you Have NVIDIA Shield Controller)
PhysX (IMPORTANT: Keep this if you do gaming)

Note: you can remove Display.Update but some Frostbite games might have DXGI_ERROR_DEVICE errors

At the end your Directory should look like this:

DriverNv

Edit setup.cfg and remove theses 3 lines at the very end

⎗
✓
1
2
3
<file name="${{EulaHtmlFile}}"/>
<file name="${{FunctionalConsentFile}}"/>
<file name="${{PrivacyPolicyFile}}"/>
  • Start setup.exe with admin rights and do the install normally.

AMD

AMD don't include any sort of telemetry so the installation is pretty simple and flawless just follow the instructions.

Changing power options

  • Go to your Power Options
  • Select High Performance profile

Like so:

power

Configure video card options

Intel

3D

Setting Variable
Application Optimal Mode Enabled
Multi-Sample Anti-Aliasing Turn Off
Conservative Morphological Anti-Aliasing Turn Off
General Settings Performances

VIDEO

Setting Variable
Skin Tone Enhancement Disable
Image Scaling Disable
Gamut Mapping Disable

POWER (on laptops only)

Setting Variable
Plugged In Maximum Performance
On Battery Maximum Performance
Extended Battery Life for Gaming Disable

NVIDIA

MANAGE 3D SETTINGS

Setting Variable
Image Sharpening Sharpening Off, Scaling disabled.
Ambient Occlusion Off
Anisotropic filtering Application-controlled (Off on low-end)
Antialiasing - FXAA On (Off on low-end)
Antialiasing - Gamma correction On
Antialiasing - Mode Application-controlled (Off on low-end)
Antialiasing - Setting Application-controlled
Antialiasing - Transparency Off
CUDA - GPUs All
DSR - Factors Off
DSR - Smoothness Off
Low Latency Mode Off (On on competetives games like CS:GO, League..etc in the Per Program Settings)
Max Frame Rate 60fps (depends on your screen hz, not all cards have this setting)
Multi-Frame Sampled AA (MFAA) Off
OpenGL rendering GPU Select your Nvidia card
Optimize for Compute Performance On
Power management mode Optimal Power
Shader Cache On
Texture filtering - Anisotropic sample optimization On
Texture filtering - Negative LOD bias Allow
Texture filtering - Quality High performance
Texture filtering - Trilinear optimization On
Threaded optimization Auto
Triple buffering On (Off in competetive games)
Vertical Sync Use the 3D application setting (Off in competetives games)
Virtual Realty pre-rendered frames 1 (on low-end try to set it to 2 or 3 but it will increase input lag)

Configure Surround, PhysX
Choose your NVIDIA Card in the Processor tab

AMD

here is a great article made by AMD themselves that will explain all the optimal AMD settings

Installing all C++ Redistributable

  • Go to Toolbox > Post install > Software
  • Launch VisualCappRedist_AIO_x86_x64.exe
  • Wait

CappRedist

Install DirectX

  • Go to Toolbox > Post install > Software
  • Launch dxwebsetup.exe
  • Uncheck the Bing bar
  • Wait

DirectX

Set Pagefile.sys

Pagefile

The numbers will vary by system to system, i have 16gb of RAM so i don't really need a large pagefile (let's call it swap for now on).
but say you have only 4gb RAM total you can set somthing like Initial size: 512, Maximum size: 2048 to have that extra 2gb if needed.

Software Shart

Core

Category Program
Web browser Firefox-ESR, Ungoogled-Chromium with codecs, Palemoon
Video player mpv + Youtube-dl
File archiver 7zip
Uninstaller BCUninstaller
Text editor Microsoft Notepad

Optional

Category Program
Downloader Your web browser, aria2
Audio recorder Audacity
Torrent client qBittorrent

notes: this list is can be changed in the future.
I also linked the "normal" programs, but i personaly use portable version of these apps most of theme can be found here
In the installation of the programs always put them in the (L:) partition (the 10go one)
If you don't have the framerate limiter in your NVIDIA/AMD Control panel or use Intel iGPU download RTSS

Setting up your web browser

Firefox-ESR

Sane configs for Firefox-ESR:

  • Launch Firefox then close it immediatly
  • Go to Toolbox > Post install > Scripts
  • Launch update-scripts
  • Download my Firefox-ESR user.js
  • put the user.js in **%APPDATA%/Mozilla/Firefox/Profiles/????-esr/
  • Download uBlock Origin from the Firefox addons store

Set-up uBlock Origin here

Ungoogled-Chromium

Sane configs for Ungoogled-Chromium:

  • Type Chrome://flags

and change these settings:

Setting Variable
Handling of extension MIME type requests Always prompt for installation
Smooth Scrolling Disabled
Tab Hover Cards Disabled
Tab Hover Card Images Disabled
Update hover at the begin frame Disabled

Download uBlock Origin

  • Type chrome://extensions
  • Enable Developer mode (on the top Right)
  • Download uBlock origin here (the .zip file)
  • Extract the zip file
  • Click on Load unpacked extension....
  • Navigate to the extracted directory and it will unpack it to a .crx file
  • Drag and drop the .crx file into the chrome://extensions tab

Set-up uBlock Origin here

Palemoon

Sane settings for Palemoon

  • Launch Palemoon then close it immediatly
  • Go to Toolbox > Post install > Scripts
  • Launch update-scripts
  • Download my palemoon-user.js
  • rename it user.js
  • put the user.js in **%APPDATA%/Moonchild/Palemoon/Profiles/????

Download uBlock Origin from here (the .xpi file)

Set-up uBlock Origin here

uBlock Origin

  • Use the KISS-SCRIPT to import my settings
  • Load them in uBlock and update the filters

Like so:

uBlock

Setting up mpv

  • Create a folder named portable_config in your mpv directory
  • Use the KISS-SCRIPT to download my mpv.conf and drag it to the portable_config
  • Open the Installer folder and launch in admin mode mpv-install.bat
  • Set it mpv to Default program
  • Add L:\mpv; to your paths

like so

mpv

Misc notes

Install all your Games, Steam, Uplay, Origin..etc in the (J:) partition.
I'm currently using Palemoon portable as my daily browser on Windows.
And Firefox-ESR is what i use on voidlinux.


by !Speyll

Edit

Pub: 25 Mar 2020 18:42 UTC

Edit: 15 Apr 2020 19:14 UTC

Views: 734