windows-tools contains several applets for increase of speed and improvement of condition of a Microsoft Windows operating system. In PowerShell 6 with WMF, all one has to do is "Install-Script windows-tools-performance-all" (or "-most", see below, or "GetRedists") as administrator, then run e.g. "windows-tools-performance-all". For PS 3 and up, there are three CMDs to do the job:
RUN\RUNALL.CMD will download and run all of the cleanup-speedups automatically. More Info »
RUN\RUNMOST.CMD does all of the cleanup-speedups except the SMB share caching, for those that need Offline Files to work.
There is also, RUN\GETREDISTS.CMD, automatically installs all VC++ redistributables which Microsoft currently supports. PowerShell 5.1 minimum.
The cleanup-speedup applets do many things: optimize thread count per present RAM, change NTFS settings for both performance and reliability, set VSS preallocation for all NTFS volumes, clear temp files from all user profiles, clear VSS orphan shadows, turn off SMB Offline Files share caching, and remove obsolete device nodes in the registry.