windows-perf.rst
changeset 2358 c7a7c6b59840
child 2359 52bb40bb41b0
equal deleted inserted replaced
2357:107d39975281 2358:c7a7c6b59840
       
     1 
       
     2 ============================
       
     3  Tuning Windows performance
       
     4 ============================
       
     5 .. contents::
       
     6    :local:
       
     7 
       
     8 Disable 8.3 name support
       
     9 ========================
       
    10 
       
    11 Check status in elevated shell::
       
    12 
       
    13   fsutil.exe behavior query disable8dot3
       
    14 
       
    15 Disable 8.3 names on all volumes::
       
    16 
       
    17   fsutil.exe 8dot3name set 1
       
    18   fsutil.exe behavior set disable8dot3 1
       
    19 
       
    20 https://support.microsoft.com/en-us/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions
       
    21   How to disable 8.3 file name creation on NTFS partitions.
       
    22 
       
    23 Disable last access time
       
    24 ========================
       
    25 
       
    26 Check status in elevated shell::
       
    27 
       
    28   fsutil.exe behavior query disable8dot3
       
    29 
       
    30 Disable last access time for all NTFS volumes (``1`` - user setting, ``3`` - system setting)::
       
    31 
       
    32   fsutil.exe behavior set disableLastAccess 1
       
    33   fsutil.exe behavior set disableLastAccess 3
       
    34 
       
    35 https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior
       
    36   Fsutil behavior
       
    37 
       
    38 Exclude directories for Windows Defender
       
    39 ========================================
       
    40 
       
    41 * Open Windows Defender Settings.
       
    42 * Click "Virus & threat protection".
       
    43 * Click "Virus & threat protection settings".
       
    44 * Scroll down to "Exclusions" and click "Add or remove exclusions".
       
    45 * Click "Add an exclusion" and select "Folder" from the drop-down menu.
       
    46 * Navigate to the directory to be excluded, or paste its path into the "Folder" text-box, and click
       
    47   "Select Folder".
       
    48 
       
    49 https://support.microsoft.com/en-us/help/4028485/windows-10-add-an-exclusion-to-windows-security
       
    50   Add an exclusion to Windows Security.
       
    51 
       
    52 Exclude directories Windows Search Indexing
       
    53 ===========================================
       
    54 
       
    55 * Open Windows Control Panel.
       
    56 * Search for "index" and choose "Indexing Options".
       
    57 * Click the "Modify" button
       
    58 * Under the appropriate drive letter, navigate to the folder you want to exclude, and make sure it
       
    59   is unchecked.
       
    60 * Double-check your work by verifying the directory shows up in the "Exclude" column of the "Summary
       
    61   of selected locations" table.