fix samba41 (no more regedit though)