Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pa-0/c63bbb9a2e39fcfd75cdcd5cf89c69fc to your computer and use it in GitHub Desktop.
Save pa-0/c63bbb9a2e39fcfd75cdcd5cf89c69fc to your computer and use it in GitHub Desktop.
πŸš„ This is a simple utility to increase the NTFS performance by turning off some NTFS features that are not so used by now (or not so important).
rem execute as an Administrator
rem based on http://www.windowsdevcenter.com/pub/a/windows/2005/02/08/NTFS_Hacks.html
ram based on https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc938961(v=technet.10)
rem http://archive.oreilly.com/cs/user/view/cs_msg/95219 (some installers need 8dot3 filenames)
rem disable 8dot3 filenames
ram Warning: Some applications such as incremental backup utilities rely on this update information and do not function correctly without it.
fsutil behavior set disable8dot3 1
rem increase ntfs mtz size
fsutil behavior set mftzone 2
rem disable last access time on all files
fsutil behavior set disablelastaccess 1
echo now you can reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment