It's not a registry setting.
Access the computer where the files are shared using a pasword with administrator privileges, locate the folder containing the files and right click the folder to find and select "properites". One of the properties for the folder should be FileSharing. Use this to disable all sharing of this folder. (Server doesn't need file sharing and direct access to a shared Filemaker file can damage it.)