Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save p3x-robot/185e5c1b699d726bcce1bb51d5ca82d8 to your computer and use it in GitHub Desktop.
Save p3x-robot/185e5c1b699d726bcce1bb51d5ca82d8 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