usershare template share

User defined shares only have limited possible parameters such as path, guest ok, etc. This parameter allows usershares to "cloned" from an existing share. If "usershare template share" is set to the name of an existing share, then all usershares created have their defaults set from the parameters set on this share. The target share may be set to be invalid for real file sharing by setting the parameter "-valid = False" on the template share definition. This causes it not to be seen as a real exported share but to be able to be used as a template for usershares.

Example: template_share

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

usershare template share

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\usershare template share
Value Nameusershare template share
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)