WinScript provides a collection of targeted registry and service tweaks that reduce background resource usage, eliminate unnecessary latency, and free up CPU and RAM for foreground workloads. Each tweak is independent — apply only the ones that match your use case.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flick9000/winscript/llms.txt
Use this file to discover all available pages before exploring further.
Set Services to Manual
Windows starts many services at boot regardless of whether they are ever needed. Setting them to Manual startup means they launch only when explicitly requested, reducing background CPU and RAM usage from the moment Windows loads. In addition to setting the bulk list to Manual, a smaller set of services known to generate unnecessary network traffic or pose privacy concerns is set to Disabled entirely:AppVClient, AssignedAccessManagerSvc, DiagTrack, DialogBlockingService, NetTcpPortSharing, RemoteAccess, RemoteRegistry, shpamsvc, ssh-agent, and tzautoupdate.
Disable Windows Transparency
Transparency and blur effects in the Windows shell consume GPU resources on every frame the compositor renders. Disabling them reduces GPU overhead and can make the UI feel snappier, particularly on integrated graphics.Disable HAGS (Hardware-Accelerated GPU Scheduling)
HAGS moves GPU scheduling work from the CPU to the GPU’s own hardware scheduler. While it can reduce CPU overhead in some scenarios, it is also known to introduce frame time variance and micro-stuttering on certain GPU and driver combinations. SettingHwSchMode to 1 disables the feature.
Disable Mouse Delay
Windows applies a 400 ms delay before showing menus and registering hover events. Setting both values to0 makes menus and tooltips appear instantly.
Limit Windows Defender CPU Usage
By default, Windows Defender scans can consume up to 50% of available CPU. The two registry values below cap both the average and scan-specific CPU load at 25%, keeping the system more responsive during background scans.Disable Core Isolation
Core Isolation (Memory Integrity / Hypervisor-Protected Code Integrity) uses hardware virtualization to protect kernel memory from tampering. Disabling it can recover a small amount of CPU performance by removing the virtualization overhead on every kernel call.Disable Storage Sense
Storage Sense periodically scans for and deletes temporary files and old Windows Update caches in the background. Disabling it prevents unscheduled disk I/O during sessions where consistent storage performance matters.Disable SysMain (Prefetch)
The SysMain service (formerly Superfetch) preloads frequently used application data into RAM to speed up launch times. On systems with fast NVMe storage or limited RAM, the service can consume memory and generate disk I/O that outweighs its benefit.Disable Windows Search
Windows Search continuously indexes drive contents in the background to enable fast file and Start Menu searches. Stopping and disabling the service frees up disk I/O and CPU cycles at the cost of in-Explorer search functionality.After applying this tweak, drive indexing stops and search results in File Explorer will fall back to a slower, real-time scan of the file system.
Disable Hibernation
Hibernation saves the contents of RAM to disk so that the system can resume exactly where it left off after a full power-off. Disabling it reclaims the disk space used by the hibernation file (hiberfil.sys), which is equal to the installed RAM.
Disabling hibernation also disables Fast Startup (which depends on it). This tweak is not recommended for laptops, where hibernation is a key battery-saving and resume feature.
Disable Fast Startup
Fast Startup is a hybrid shutdown mode that saves a partial hibernation image so that the next boot can skip full hardware initialization. While it reduces boot time, it can cause issues with Windows Updates, dual-boot setups, and certain hardware drivers that expect a clean cold-boot state.Set IPv4 as Preferred
When both IPv4 and IPv6 are available, Windows may prefer IPv6 for outbound connections. SettingDisabledComponents to 32 (decimal) instructs the IPv6 stack to prefer IPv4 addresses in DNS resolution order, which can reduce connection latency on networks where IPv6 routing is suboptimal.