Skip to content

Instantly share code, notes, and snippets.

@alex4rks
Last active June 3, 2019 09:29
Show Gist options
  • Select an option

  • Save alex4rks/acf92ca904b9fb363396d63276eb10ff to your computer and use it in GitHub Desktop.

Select an option

Save alex4rks/acf92ca904b9fb363396d63276eb10ff to your computer and use it in GitHub Desktop.
# http://www.outsidethebox.ms/19318/
# This is preferred way to disable prefetch in Windows 10. Disabling SysMain service is not recommended:
# https://docs.microsoft.com/en-us/windows-server/security/windows-services/security-guidelines-for-disabling-system-services-in-windows-server#superfetch
# 3 - enables prefetching for Windows and API,
# 2 - enables only for API,
# 0 - disables completely.
reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v "EnablePrefetcher" /t REG_DWORD /d "0" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment