default service

This parameter specifies the name of a service which will be connected to if the service actually requested cannot be found. Note that the square brackets are NOT given in the parameter value (see example below).
There is no default value for this parameter. If this parameter is not given, attempting to connect to a nonexistent service results in an error.
Typically the default service would be a , service. Also note that the apparent service name will be changed to equal that of the requested service, this is very useful as it allows you to use macros like %S to make a wildcard service.
Note also that any "_" characters in the name of the service used in the default service will get mapped to a "/". This allows for interesting things.

Example: pub

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

default service

Registry PathSoftware\Policies\Samba\smb_conf\default service
Value Namedefault service
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)