[ About | Licence | Contacts ]
Written by Oleksandr Gavenko (AKA gavenkoa), compiled on 2020-02-13 from rev d88d5d1a8cd9+.

Tuning Windows performance

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

Same from elevated CLI:

powershell -Command Add-MpPreference -ExclusionPath "C:\tmp"
powershell -Command Add-MpPreference -ExclusionProcess "java.exe"
powershell -Command Add-MpPreference -ExclusionExtension ".java"

To show and delete settings:

powershell -Command "Get-MpPreference | Select -Expand ExclusionPath"
powershell -Command "Get-MpPreference | Select -Expand ExclusionProcess"
powershell -Command "Get-MpPreference | Select -Expand ExclusionExtension"

powershell -Command Remove-MpPreference -ExclusionExtension ".java"
https://support.microsoft.com/en-us/help/4028485/windows-10-add-an-exclusion-to-windows-security
Add an exclusion to Windows Security.
https://docs.microsoft.com/en-us/powershell/module/defender/add-mppreference
Modifies settings for Windows Defender from PowerShell.
https://docs.microsoft.com/en-us/powershell/module/defender/remove-mppreference
Removes exclusions or default actions.

Exclude directories Windows Search Indexing