mangle prefix

controls the number of prefix characters from the original name used when generating the mangled names. A larger value will give a weaker hash and therefore more name collisions. The minimum value is 1 and the maximum value is 6.
mangle prefix is effective only when mangling method is hash2.

Example: 4

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

Registry PathSoftware\Policies\Samba\smb_conf\mangle prefix
Value Namemangle prefix
Default Value1
Min Value
Max Value


Administrative Templates (Computers)