How to register an SMB folder