[ 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
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
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"
Add an exclusion to Windows Security.
Modifies settings for Windows Defender from PowerShell.
Removes exclusions or default actions.

Exclude directories Windows Search Indexing