Windows Install Tips
source link: https://gist.github.com/gquittet/4a59ad3a157085e479e6e37b1177ebef
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Windows Install tips
SSD optimizations
Indexing
Service
- Open
services.msc
- Search
Windows Search
- Click on it.
- Disable it.
- Stop it.
You can do it with a Administrator console:
sc stop “wsearch” -and sc config “wsearch” start=disabled
Disable file indexing
- Open explorer
- Right click on the C: drive
- Uncheck "Allow files on this drive to have contents indexed..."
Disable Superfetch (also called prefetch)
Superfetch is a service to load file on RAM to speed up because HDD is slow.
On SSD, we can disable it because the gain of speed is not relevant.
To disable it, you need to disable the service, edit and create some regedit keys.
Service
- Go to
services.msc
. - Search
Superfetch
orSysMain
(It's the same service. The name depends of your Windows language). - Click on it.
- Disable it.
- Stop it.
RegEdit
- Open
regedit
. - Go to
HKEY_LOCAL_MACHINE
->SYSTEM
->CurrentControlSet
->Control
->Session Manager
->MemoryManagement
->PrefetchParameters
- Create or edit
EnablePrefetcher
REG_DWORD to0
. - Create or edit
EnableSuperfetch
REG_DWORD to0
.
Performance Improvement
Disable transparency
Settings, choose Personalization > Colors, scroll down to “Transparency effects” and move the slider to Off.
Turn on automated Windows maintenance
Run the Control Panel app and select System and Security > Security and Maintenance. In the Maintenance section, under Automatic Maintenance, click “Start maintenance” if you want it to run now. To make sure that it runs every day, click “Change maintenance settings,” and from the screen that appears, select the time you’d like maintenance to run, and check the box next to “Allow scheduled maintenance to wake up my computer at the scheduled time.” Then click OK.
(Thinkpad Only)
- Install TPFanControl : https://sourceforge.net/projects/tp4xfancontrol/
- Download the latest fork: https://github.com/Shuzhengz/TPFanCtrl2
- Rename
fancontrol.exe
toTPFanControl.exe
- Replace the original
exe
andini
files with the new ones - Edit the config
- Find
NoExtSensor
and set it to1
- Find
Level=
and replace the default configuration with this one:
Level=50 0
Level=60 0
Level=70 0
Level=80 0
Level=85 3
Level=90 128
With this config, your laptop will be quiet and the 128 is to let your BIOS handle hot temperatures.
To start it automatically:
- Press
WIN+r
-> typeshell:startup
-> hitenter
- Copy the
TPFanControl
link from Start Menu into this folder - Go to Settings -> System -> Notifications -> Scroll down and disable its notifications because it is annoying when it starts.
- Enjoy
Power profile
Create a custom power profile with these options:
- Internet Explorer - JavaScript Timer:
- Battery: Maximum Power Saving
- AC: Maximum Performance
- Wireless Adapter Saving
- Battery: Medium Power Saving
- AC: Maximum Performance
- Intel(R) Graphics Settings: use Balanced (équilibré) mode for both AC and Battery.
- PCI Express: Moderate power saving
- Processor Management
- Minimum: 5% for both
- Cooling: passive for both
- Maximum: 90% for both
- Multimedia
- Playback
- Battery: Power saving
- AC: Performance
- Playing: balanced for both
- Playback
Disable Game Mode
To turn it off, go to Settings > Gaming > Game Mode and move the Game Mode slider to Off.
After you do that, click the Xbox Game Bar category on the left hand side of the screen, and on the screen you come to, turn the slider at the top of the screen to Off.
Shut off Windows tips and tricks
To do so, click the Start button, select the Settings icon and then go to System > Notifications & actions. Scroll down to the Notifications section and uncheck the box marked “Get tips, tricks, and suggestions as you use Windows.”
Remove suggestions from start menu
Press Win+i
, go to Personalization
-> Start
-> toggle off Show suggestions
Antivirus
Exclude dev and scoop folder from Windows Defender.
Disable Cortana
- Open
regedit
- Go to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
- Create a
Windows Search
folder insideWindows
- In
Windows Search
folder, create aDWORD (32-bit) Value
calledAllowCortana
and set it to0
.
Disable automatic update
- Open
regedit
- Go to
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
- Create a
DWORD (32-bit) Value
calledScheduledInstallTime
and set it to3
. - Create a
DWORD (32-bit) Value
calledAUOptions
and set it to2
. - Create a
DWORD (32-bit) Value
calledNoAutoUpdate
and set it to1
. - Create a
DWORD (32-bit) Value
calledScheduledInstallDay
and set it to0
. - Create a
DWORD (32-bit) Value
calledScheduledInstallEveryWeek
and set it to0
.
Disable hibernation
Open a CMD as Administrator and type: powercfg.exe /hibernate off
Scoop
Installation
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
Software
scoop bucket add extras java
In the below list don't install openssh
because Windows 10 or higher includes this build of OpenSSH in the system itself,
hence it is recommended to use the system OpenSSH there.
Read command result because some of them require to run commands after the installation.
scoop install aria2
sudo scoop install 7zip git
scoop install curl grep sed less touch sudo
scoop install appbuster revouninstaller shutup10
scoop install notepadplusplus powertoys
scoop install keepassxc qbittorrent vlc
scoop install discord signal
scoop install nodejs-lts nvm python rustup
scoop install obs-studio handbrake
scoop install openjdk android-sdk obs-studio putty teamviewer
Privacy
Download my ooshutup10.cfg gist, import it in OOShutUp10 and restart your laptop.
Remove useless packages
Get-AppxPackage *microsoft.windowsmaps* | Remove-AppxPackage
Get-AppxPackage *microsoft.windowsfeedbackhub* | Remove-AppxPackage
Issues
TeamViewer
Unable to save the connection.
- Edit
~/scoop/apps/teamviewer/current/teamviewer.ini
- Change
nosave=1
tonosave=0
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK