仙姑本咕

Hexg's Blog

没有理想的人不伤心
follow
github

Please accept this Windows tuning guide.

Preface of the Preface#

This article was written in August 2020, nearly three years ago. Some content in the article is no longer relevant, and some concepts have become outdated. Please do not reference this article.

Preface#

Last night, the spring water rose by the river, and the huge ships felt light as a feather.

On July 29, 2015, Microsoft officially released the most comprehensive operating system ever, Windows 10. However, comprehensiveness often leads to bloat, and the significance of this article lies in discarding all unnecessary services, optimizing the entire system without using any software, making the system light and fast, and saving new computers! Rescue old computers that become slower with use.

System Settings#

Disable WIN10 XBOX#

After the Win 10 update, the WIN10 XBOX feature was added, which is enabled by default, but most of us will not use it. After repeated testing.

Set Power Settings to High Performance#

Run Windows Powershell in administrator mode and enter the following code:

powercfg -duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61

And select the appropriate power plan.

Disable Unused Windows Services#

Windows Services refer to a type of computer program that runs in the background of the Windows NT operating system. Conceptually, it is similar to Unix daemon. Windows services must comply with the interface rules and protocols of the Service Control Manager (the component responsible for managing Windows services).

Windows services can be configured to run at system startup and continue to run in the background while Windows is running. Services can also be started manually or based on certain events. The Windows NT operating system contains numerous services that run in three types of user account environments: system, network service, and local service. These Windows components typically use the Windows Service Hosting Process. Because Windows services run under their own dedicated user accounts, they can be active even when no user is logged in.

If a user system has too many auto-start type services, it may lead to excessive resource consumption in the system's background. Of course, we still need to set different startup types for different system service items, rather than uniformly setting them to disabled.

Service NameDetailsRecommendation
Connected User Experiences and TelemetryFeedback user experience service, used to collect error information, consumes a lot of disk space, and is a major culprit for lag on many low-end computersDisable
Andrea ST Filters ServiceService included with sound card driversVaries by user
Base Filtering EngineBasic filtering engine, firewall programVaries by user
Bluetooth Handsfree ServiceBluetooth serviceDisable if no Bluetooth device
Desktop Window Manager Session ManagerDesktop Aero effects and 3D effects depend on this serviceDisable
Diagnostics SeriesDiagnostic execution service for performing diagnostic operations supported by fault diagnosis, similar effect to Connected User Experiences and Telemetry. (Detecting and analyzing group policies, tracking Windows usability)Disable
Distributed Link Tracking ClientMonitors changes to NTFS file links between different computersSuggest disabling for non-local users
FaxSending and receiving faxes using available fax resources on the computer or networkDisable
Function Discovery Provider HostAutomatically discovers network shared devicesSuggest disabling for non-local users
HomeGroup ListenerManages home groups to help families with multiple computers easily share music, documents, videos, and even printersDisable
HomeGroup ProviderExecutes network tasks related to home group configuration and maintenanceDisable
Microsoft .NET Framework NGEN .net Support ServiceManual
Offline FilesOffline caching file service
Print SpoolerLoads files into memory for later printingDisable if no printer installed
Problem ReportsProblem feedback serviceDisable
Program Compatibility Assistant ServiceProgram compatibility assistantDisable
Smart CardManages computer access to smart cardsDisable for users without UPS
SysMainPreviously known as SuperFetch, has some effect on mechanical hard drives, but not much on SSDs, and is often the culprit for CPU usage spiking to 100%. If you are using an SSD and have ample physical memory, consider disabling it.Disabling will effectively reduce disk usage
Windows SearchWindows search service, designed for quick file searches. However, this is a service that often "checks the meter" in the system background, and many times the hard drive light stays on during standby due to it. Additionally, the "Activity History" in the new version of Win10 also relies on this service. If you have an SSD and are indifferent to "Activity History," consider disabling it, especially for low-end computers, as the performance improvement is very noticeable.Disable if not using the built-in search
Windows UpdateDisable if you do not need updates
Windows BackupProvides Windows backup and restore functionalityManual start

Disable Some Desktop Effects#

Disable Unnecessary Background Apps#

HPET#

High Precision Event Timer (HPET) is a hardware timer used in personal computers. It was jointly developed by Intel and Microsoft and has been integrated into personal computer chipsets since around 2005.

Generally, if you have a good CPU, you can try disabling HPET, which may yield a 10-15fps increase or eliminate stuttering/reduce stuttering. Even if the system is stable, adjusting HPET settings can provide a good boost for any system. Changing HPET can also resolve issues like crashes when starting games.

Verify if HPET is Enabled#

Run CMD in administrator mode.

bcdedit /enum // Find the useplatformclock item, you should see useplatformclock as yes or no. If it is set to "NO," it means it is disabled in Windows; if it is "YES," it is enabled in Windows.

image

image

Here are the recommended configurations, as it varies by user to find the correct settings for the system to achieve extra smoothness/frame rates or fix micro stutters/stutters :)

  • HPET enabled in BIOS + HPET enabled in WINDOWS (Recommended)
  • HPET disabled in BIOS + HPET disabled in WINDOWS (Recommended)
  • HPET enabled in BIOS + HPET disabled in WINDOWS (Not recommended, it's a bad thing)
  • HPET disabled in BIOS + HPET enabled in WINDOWS (Not recommended, can cause software electromagnetic interference/timing)

Disable HPET#

Since every system is different, enabling or disabling may bring benefits.

bcdedit /set useplatformclock No // or bcdedit /set useplatformclock false

bcdedit /set disabledynamictick Yes

If you cannot disable HPET using the above commands, you can try:

bcdedit /deletevalue useplatformclock

And verify if it is enabled/disabled with bcdedit /enum.

Enable HPET#

bcdedit /set useplatformclock true

Disable Unnecessary Startup Items#

Open Task Manager and turn off the visibly obvious startup items.

Disable Mouse Acceleration#

image

Network Optimization#

Start CMD in administrator mode and enter:

netsh int tcp set global dca=enabled //Direct Cache Access (DCA)

netsh int tcp set global autotuninglevel=normal //Receive window auto-tuning level

netsh int tcp set supplemental template=internet congestionprovider=ctcp //Additional congestion control provider

netsh int tcp set global timestamps=enabled //RFC 1323 timestamps

image.png

Enable Windows 10 Hardware Accelerated GPU#

  • Open the Registry
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
  • Find HwSchMode and change the default value from 1 to 2 (1 means hardware-accelerated GPU scheduling is off, 2 means it is on)
  • Restart the computer

References#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.