File Server Registry Settings (Windows Embedded CE 6.0)

1/6/2010

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the operating system continually references during operation. The protected registry contains named values for File Server configuration.

Note

The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The settings for File Server functionality are stored in the HKEY_LOCAL_MACHINE\Services\Smbserver registry key.

Windows Embedded CE enables you to create virtual file server directories. To users who access your file server share, virtual directories appear as subdirectories of the file server share, although these directories may be located in a different folder.

You can create a virtual root directory called "SampleVirtualRoot" by specifying the following registry key: HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\SampleVRoot.

Note

The maximum length of the virtual root directory is 12 characters.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Services\Smbserver registry key.

Value : type Description

AdapterList : REG_SZ

Provides a list of network adapters separated with a semicolon. You can also use the "*" option to specify any adapters that are present on the operating system. If you set this registry key to "localhost", the file server will listen on loopback.

Ee501259.note(en-US,WinEmbedded.60).gifNote:
To enable loopback, the following registry value must be set:
[HKEY_LOCAL_MACHINE\COMM\NETBIOS]
"EnableLoopBack"=dword:1
Ee501259.security(en-US,WinEmbedded.60).gifSecurity Note:
The AdapterList registry setting can be used to exclude network adapters that are attached to public (Internet-connected) networks.

DLL : REG_SZ

Default set to "Smbserver.dll". Specifies the name of the dynamic-link library (DLL) file to be loaded.

Keep : REG_DWORD

Default set to 1. If this is set to zero (0), the DLL will be unloaded immediately after initialization.

Order : REG_DWORD

Default set to 9. Specifies the order in which Device.exe will load this service.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Services\Smbserver\Shares registry key.

Value : type Description

UseAuthentication : REG_DWORD

No default set. Setting this value to 0 will disable all authentication on the file server. The file server will be accessible to all users on the network.

Ee501259.security(en-US,WinEmbedded.60).gifSecurity Note:
It is not recommended that you disable authentication on the file server.

The following table shows the named values that are stored under the virtual root key. An example of such a virtual root key is HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\SampleVRoot.

Value : type Description

Path : REG_SZ

Specifies the path to be shared.

Ee501259.security(en-US,WinEmbedded.60).gifSecurity Note:
It is not recommended that you share the \Windows or root directory.

Type : REG_DWORD

Setting this value to 1 designates this as a print server share, setting this value to 0 (zero) designates this as a file server share.

UserList : REG_SZ

Specifies a comma-separated list of allowed users.

You can specify a list of folders that cannot be shared. You can use any name for each folder you specify in the exclusion list. Setting the HKEY_LOCAL_MACHINE\Services\Smbserver\Shares\ExcludePaths registry key prevents the configuration functions from creating the specified shares, so that they cannot be accessed by an normal application.

For more information about the ExcludePaths registry key, see File Server Security.

See Also

Concepts

File Server Security
Print Server Registry Settings

Other Resources

File Server