# HG changeset patch # User Oleksandr Gavenko # Date 1556495718 -10800 # Node ID c7a7c6b59840b3fad8191f490b21d9fe252732e0 # Parent 107d399752810a8be2ea157ef9b27c90e2e1fd31 Disable 8.3 name support. Disable last access time. Exclude directories for Windows Defender. diff -r 107d39975281 -r c7a7c6b59840 windows-perf.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/windows-perf.rst Mon Apr 29 02:55:18 2019 +0300 @@ -0,0 +1,61 @@ + +============================ + Tuning Windows performance +============================ +.. contents:: + :local: + +Disable 8.3 name support +======================== + +Check status in elevated shell:: + + fsutil.exe behavior query disable8dot3 + +Disable 8.3 names on all volumes:: + + fsutil.exe 8dot3name set 1 + fsutil.exe behavior set disable8dot3 1 + +https://support.microsoft.com/en-us/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions + How to disable 8.3 file name creation on NTFS partitions. + +Disable last access time +======================== + +Check status in elevated shell:: + + fsutil.exe behavior query disable8dot3 + +Disable last access time for all NTFS volumes (``1`` - user setting, ``3`` - system setting):: + + fsutil.exe behavior set disableLastAccess 1 + fsutil.exe behavior set disableLastAccess 3 + +https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior + Fsutil behavior + +Exclude directories for Windows Defender +======================================== + +* Open Windows Defender Settings. +* Click "Virus & threat protection". +* Click "Virus & threat protection settings". +* Scroll down to "Exclusions" and click "Add or remove exclusions". +* Click "Add an exclusion" and select "Folder" from the drop-down menu. +* Navigate to the directory to be excluded, or paste its path into the "Folder" text-box, and click + "Select Folder". + +https://support.microsoft.com/en-us/help/4028485/windows-10-add-an-exclusion-to-windows-security + Add an exclusion to Windows Security. + +Exclude directories Windows Search Indexing +=========================================== + +* Open Windows Control Panel. +* Search for "index" and choose "Indexing Options". +* Click the "Modify" button +* Under the appropriate drive letter, navigate to the folder you want to exclude, and make sure it + is unchecked. +* Double-check your work by verifying the directory shows up in the "Exclude" column of the "Summary + of selected locations" table.