Windows unnecessary services

XTUOCDriverService				XtuService	Intel(R) Overclocking Component Service
Intel(R) Audio Service
SysMain						Maintains and improves system performance over time.
Netlogon
Still Image Acquisition Events
Smart Card
Payments and NFC/SE Manager
Remote Access Connection Manager
Remote Desktop Services
//Security Accounts Manager			if this service is down, we will wait for too long time to see the desktop after logging in.
//Microsoft Office Click-to-Run Service		if this service is down, we cannot open Word and Excel.
//Update Orchestrator Service
Phone Service
Xbox Live Auth Manager
Xbox Accessory Management Service
Xbox Live Networking Service
Xbox Live Game Save
Windows Management Instrumentation		wmi provider host
Windows Image Acquisition (WIA)
Windows Insider Service
Windows Error Reporting Service
Windows Mobile Hotspot Service
Windows Push Notifications System Service
Windows Backup
Windows Media Player Network Sharing Service
Windows Mixed Reality OpenXR Service
Windows Perception Simulation Service
Windows Perception Service
BitLocker Drive Encryption Service
Telephony
Themes
Radio Management Service
Diagnostic Policy Service
Diagnostic Service Host
Diagnostic System Host
Retail Demo Service
Spatial Data Service
Geolocation Service
Printer Extensions and Notifications
Inventory and Compatibility Appraisal service
Program Compatibility Assistant Service
WWAN AutoConfig
Problem Reports Control Panel Support
PNRP Machine Name Publication Service
Cellular Time
Print Spooler
Visual Studio Standard Collector Service 150
Downloaded Maps Manager
Google Chrome Elevation Service
Dolby DAX API Service
Recommended Troubleshooting Service
Remote Registry
Secondary Logon
Parental Controls
Diagnostic Execution Service
WalletService

If we want to enable Restore service in win7, we need to start below services in advance,

Windows Event Log
Task Scheduler
Background Intelligent Transfer Service
Block Level Backup Engine Service
Microsoft Software Shadow Copy Provider
Volume Shadow Copy
Windows Backup

If the language input toolbar disappears, run ctfmon.exe, which means Common Trace Facility Monitor.

If Microsoft IME CPU usage is high, turn on below service,

Touch Keyboard and Handwriting Panel Service

System.Runtime.InteropServices.COMException (0x80070422), turn on

Windows Management Instrumentation

If the system is failed to start, restore it in safe mode like this,

sfc /SCANNOW
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-image /RestoreHealth
sfc /SCANNOW

refer to:
https://answers.microsoft.com/zh-hans/windows/forum/windows_10-performance/windows10%E5%9C%A8%E5%BC%80%E6%9C%BA%E8%BF%87/44870fe8-b64b-4c9e-bbdc-f8f5761947fc
https://www.cnblogs.com/endv/p/14196573.html

Let cpu fans be quiet when UE4 Editor is in front

Two methods to solve this,

  • Modify source code,
    D:\ue\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    
    #include <io.h>
    int doesFileExist(const char* filePath)
    {
    	int result = _access(filePath, 0);
    	if (result < 0)
    		return 0;
    	return 1;
    }
     
    bool FWindowsPlatformApplicationMisc::IsThisApplicationForeground()
    {
    	if (doesFileExist("d:/ue/not_focus.txt"))
    	{
    		return false;
    	}
     
    	uint32 ForegroundProcess;
    	::GetWindowThreadProcessId(GetForegroundWindow(), (::DWORD *)&ForegroundProcess);
    	return (ForegroundProcess == GetCurrentProcessId());
    }

    If d:\ue\not_focus.txt exists, whether UE4 Editor is active, UE4 will not occupy a cpu kernel thoroughly.

  • In D:\ue\Engine\Config\ConsoleVariables.ini, or in console, type

    1
    
    t.MaxFPS 5

refer to:
なんとなく日誌

Chrome memo

To prevent inactive tab from using cpu resources, in address bar, visit

1
chrome://discards

toggle restless pages 'Urgent Discard' to grey under 'Actions' column.

chrome://flags#

enable-parallel-downloading
enable-force-dark

refer to:
https://www.askvg.com/tip-enable-tab-freeze-or-tab-suspend-feature-in-google-chrome/
https://blog.csdn.net/ythuiyi/article/details/113506238