Programs

Windows CE

7.8.3FILE SERVER START/STOP

The file server is started by default. The file server must be restarted after registry entries are changed. The file server can be started and stopped with the program services.exe. The possible command line calls are listed in the table below:

Functionality

Call

File server restart

Services.exe refresh SMB0:

Start

Services.exe start SMB0:

Stop

Services.exe stop SMB0:

Display status

Services.exe list

7.8.4SAMPLE SETTINGS

The settings for the file server can be set as follows in a REG file (see also chapter Autoexec.reg):

[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\SampleVRoot] "Path"="\\InternalStorage\\Data"

"Type"=dword:0

"UserList"="AnnD;GladysL"

The registering of the users and the restarting of the file server must be carried out after the registry keys are set (see also chapter Autoexec.bat):

useradmin.exe -add AnnD -p password1 useradmin.exe -add GladysL -p password2 services.exe refresh SMB0:

7.8.5ACCESS TO THE ENABLE:

The enable can be accessed from a different device by stating the panel name and the enable name: e.g. \\MI_xxxxxx\SampleVRoot

Access from a PC is also possible using the IP address of the panel: e.g. \\192.168.1.1\SampleVRoot

7.8.6NOTE FOR USERS OF NEWER WINDOWS VERSIONS

From Windows Vista the LAN Manager authentication level must be set to “Send LM & NTLM -- use NTLMv2 session security if negotiated.”

Further information is provided in the chapter Name resolution in Windows networks.

Alternatively, this setting can also be changed with the following registry key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] "lmcompatibilitylevel"=dword:00000001

7.8.7USE WITHOUT AUTHENTICATION

When accessing from a panel without authentication, the entry of a user name may nevertheless be requested. In this case, any user name (e.g. MI_PANEL) can be entered. The next enable access will then no longer request a user name and the access will function normally. The same procedure applies after a “disconnect” of the connection.

This strange behavior seems to be a characteristic of Windows CE 5.0. Use without authentication is therefore not recommended.

64

M000174-19

Page 64
Image 64
Micro Innovations M000174-19 manual File Server START/STOP