Check status in elevated shell:
fsutil behavior query disable8dot3
Disable 8.3 names on all volumes:
fsutil 8dot3name set 1 fsutil behavior set disable8dot3 1
Corresponding registry leaf (1 - disable, 0 - enable):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
Check status in elevated shell:
fsutil behavior query disableLastAccess
Disable last access time for all NTFS volumes (1 - user setting, 3 - system setting):
fsutil behavior set disableLastAccess 1 fsutil behavior set disableLastAccess 3
Corresponding registry leaf (1 - disable as user, 3 - disable as system):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate
Query current setting:
fsutil behavior query SymlinkEvaluation
Registry keys:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] SymlinkLocalToLocalEvaluation=dword:00000001 SymlinkLocalToRemoteEvaluation=dword:00000001 SymlinkRemoteToLocalEvaluation=dword:00000000 SymlinkRemoteToRemoteEvaluation=dword:00000000
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"