NTFS mit großer Anzahl Dateien beschleunigen

Moderator: MVogt

Post Reply
User avatar
Theo_Gottwald
Posts: 367
Joined: 03. Oct 2009, 08:57
Location: Herrenstr.11 * 76706 Dettenheim
Contact:

NTFS mit großer Anzahl Dateien beschleunigen

Post by Theo_Gottwald » 19. Jul 2019, 13:41

Mit diesem Quicktip haben wir Gelegenheit mal die 64-bit Registry-Funktion des MPR zu verwenden.
Dabei wird ein Wert in der 64 bit-Registrierung geändert. Damit das passiert steht über dem Skript
die Anweisung "OPT\64". Dies wählt die Ziel-Registry (64 Bit) aus.
NTFS actually will perform fine with many more than 10,000 files in a directory as long as you tell it to stop creating alternative file names compatible with 16 bit Windows platforms.
By default NTFS automatically creates an '8 dot 3' file name for every file that is created.

This becomes a problem when there are many files in a directory because Windows looks at the files in the directory to make sure the name they are creating isn't already in use.


You can disable '8 dot 3' naming by setting the NtfsDisable8dot3NameCreation registry value to 1.

The value is found in the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem registry path.

It is safe to make this change as '8 dot 3' name files are only required by programs written for very old versions of Windows.

A reboot is required before this setting will take effect.

Code: Select all

' Speed NTFS up
RDW\HLM|System\CurrentControlSet\Control\FileSystem|NtfsDisable8dot3NameCreation|1

Code: Select all

' Reset to normal value (compatible with 8+3 Applications)
RDW\HLM|System\CurrentControlSet\Control\FileSystem|NtfsDisable8dot3NameCreation|2

Als ".reg" File würde es so aussehen:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisable8dot3NameCreation"=dword:00000001

Post Reply

Return to “Package Robot”

Who is online

Users browsing this forum: No registered users and 1 guest