Re: Sharing folders in Windows CE 5.0



Hi Axexander,

Athough I can ping the device. When I try over and over again to map
\\AXYZCEDEVICE\Windows or any of the other shares using Map Network Drive
under the tools menu in Windows explorer on XP. I get the following error:
The network path \\axyzcedevice\Windows cannot be found.
--
Don


"Alexander T. Bussmann [MSFT]" wrote:

Out of curiosity, when the first access denied message comes back on the XP
side, if you try to access the share again, are you able to get access?
Perhaps you are experiencing an access denied error, but in fact this isn't
the case and subsequent access requests succeed?

Regards,
Alexander T. Bussmann [MSFT]

"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:72C821CF-32B4-4572-A703-83D6F1F8C2E8@xxxxxxxxxxxxxxxx
Hi Alexander,

It is still necessary to use RemoteAdmin to share the \Windows directory
since its permissions come up in the deny state. I appreciate your help
and
look forward to another suggestion.
--
Don


"Alexander T. Bussmann [MSFT]" wrote:

What about the rest of the information?

<quote>
Also, what platforms are you connecting here. CE client to CE server, XP
client to CE server? I can see that you are trying to share out your
hard
drives root. Can you try to share out \\windows or \\temp?
</quote>

Regards,
Alexander T. Bussmann [MSFT]

"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F2F946A6-CB46-41EA-9C7C-A7F35ECE731E@xxxxxxxxxxxxxxxx
Hi Alexander,

I checked that my common.reg file does not have that line in the same
directory where nk.bin is being built. Do have any other suggestions?
--
Don


"Alexander T. Bussmann [MSFT]" wrote:

I think that there are a few more things we can try here:

First you do not need the Remote Registry Editor or the RemoteAdmin
tool
to
configure the SMB Server. All you need are to add the registry
settings
I
outlined into your project.reg file. Each time you boot the device
these
settings will be used to initialize the SMB Server. IF you do change
the
registry settings when the device is running then you need to restart
the
SMB Server.

If you open a build window from Platform Builder and go to the
%_FLATRELEASEDIR%. Make sure that your common.reg file doesn't have a
UseAuthentication=dword:1 line in it. It shouldn't but I just want us
to
be
sure.

Also, what platforms are you connecting here. CE client to CE server,
XP
client to CE server? I can see that you are trying to share out your
hard
drives root. Can you try to share out \\windows or \\temp?

Thanks,
Alexander T. Bussmann [MSFT]

"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AB40B1A5-4BBB-4BBF-BA14-46F775CE9A65@xxxxxxxxxxxxxxxx
Hi Alexander,

I followed the instructions at the following link:

http://msdn2.microsoft.com/en-us/library/aa450272.aspx
http://msdn2.microsoft.com/en-us/library/aa451153.aspx
http://msdn2.microsoft.com/en-us/library/ms899610.aspx
http://msdn2.microsoft.com/en-us/library/ms899601.aspx

The following is my Project.reg file. It is still necessary for me
to
use
RemoteAdmin to unlock permissions on the shared drive. I do plan to
follow
the instructions that you gave. But I do doubt this method because
you
say
to change the registry with the Remote registry Editor. I don't
think
I
have
a registry which remains after a Power Cycle. Does this double have
any
merit? Do I need a Registry that remains after a Power Cycle to make
this
work?

;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the
Microsoft
; license agreement under which you licensed this sample source
code.
If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the
license,
; please see the license agreement between you and Microsoft or, if
applicable,
; see the LICENSE.RTF on your install media or the root of your
tools
installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
;[HKEY_LOCAL_MACHINE\Ident]
;"Name"=LOC_DEFAULTDEVICENAME
;"Desc"=LOC_DEFAULTDEVICEDESC


; Redirector settings
[HKEY_LOCAL_MACHINE\Comm\Redir]
; Expose \NETWORK dir for mapped resources
"RegisterFSRoot"=dword:1


; Set memory thresholds for Hibernate
[HKEY_LOCAL_MACHINE\SYSTEM\Hibernate]
"Bytes"=dword:20000
"Pages"=dword:28

IF BSP_DISPLAY_MQ200 !
; CS_SAVEBITS implemented. GWES restores screen bits on power on
; Options here are:
; 0 : OAL must deal with saving/invalidating bits between power
on/off
; 1 : GWES will restore screen bits on power on
; 2 : Entire screen invalidated on power on
[HKEY_LOCAL_MACHINE\system\gwe]
"PORepaint"=dword:1
ENDIF BSP_DISPLAY_MQ200 !

; Let Start/Settings/Control Panel Auto Expand

[HKEY_LOCAL_MACHINE\Explorer]
"ExpandControlPanel"=dword:0
[HKEY_LOCAL_MACHINE\Ident]
"Name"="AXYZCEDEVICE"
"Desc"="Windows CE Test Device (ICOP)"
"OrigName"="WindowsCE"
[HKEY_LOCAL_MACHINE\Services\Smbserver]
"AdapterList"="*"
"dll"="smbserver.dll"
"Keep"=dword:1
"Order"=dword:9
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:0
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\HDD]
"Path"="\\Hard Disk"
"Type"=dword:0
"UserList"="@*;"
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\HDD1]
"Path"="\\Hard Disk2"
"Type"=dword:0
"UserList"="@*;"
;[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\Share]
;"UserList"="Don;"
;"ROUserList"=""
;"Type"=dword:0
;"Path"="Temp"


[HKEY_LOCAL_MACHINE\Windows CE Tools]
"Platform"="{356145cf-f1f4-44d4-bd1c-36f5aab1fac4}"

--
Don


"Alexander T. Bussmann [MSFT]" wrote:

Hi Don,

<quote>
I have decided to abandon Windows CE 5.0 development and move on to
6.0
since I absolutly need to be able to share folders over ethernet
without
the
RemoteAdmin Tool. Is the documentation for 5.0 still relevent or
should
I
be
looking somewhere else for information on how to share file in 6.0?
</quote>

You do not need the RemoteAdmin tool to share folders over
ethernet.
Please
help me to understand the precise steps you are using to recreate
your
problem.

I have posted the steps that I have used to share a folder and
disable
authentication on it, here:

http://blogs.msdn.com/cenet/archive/2007/03/13/disabling-authentication-for-windows-ce-6-0-file-shares.aspx

Alexander T. Bussmann [MSFT]
Visit http://blogs.msdn.com/cenet


"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EAD07A59-9349-4678-A894-32BCBC8AD303@xxxxxxxxxxxxxxxx
Hi Alexander,

I have now recreated the problem in Windows CE 6.0. How do I fix
it?

"Alexander T. Bussmann [MSFT]" wrote:

Hi Don,

I have verified some things with respect to UseAuthentication=0
in
CE
5.0.
Unfortunately this does not work and it is known broken in CE
5.0.
We
did
make the fix for CE 6.0. There are no updates for this issue in
CE
5.0.

What errors are you seeing from the Remote Admin component?

Sorry for the inconvenience,
Alexander T. Bussmann [MSFT]

"Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6CDCBF72-3197-4782-9DB5-3C21336948D0@xxxxxxxxxxxxxxxx
Hi Alexander,

Thanks for your help.
I went through the process of creating the file server and
still
I
believe
the registry key

[KEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:0

Is not working.

I then went back to the documentation concerning this as a
known
issue
that
has been resolved.
Apparently the issues has been solved in the april update for
Platform
Builder. Since in this documentation it suggests that the
update
will
not
work unless all previous Platform Builder updates have been
installed.
This
got me thinking that I have been making a mistake by not
installing
all
the
updates for Platform Builder 5.0. The other thing is I had
all
ready
installed the april update before reading it carfully. I am
not
sure
if
you
can install updates out of order? So intalled the updates
that
come
as
one
file for 2005. Then I installed the updates from 2006. I
.



Relevant Pages

  • Re: Sharing folders in Windows CE 5.0
    ... All you need are to add the registry settings I ... settings will be used to initialize the SMB Server. ... RemoteAdmin to unlock permissions on the shared drive. ... There are no updates for this issue in CE ...
    (microsoft.public.windowsce.embedded)
  • Re: Sharing folders in Windows CE 5.0
    ... First you do not need the Remote Registry Editor or the RemoteAdmin ... see the LICENSE.RTF on your install media or the root of your ... work unless all previous Platform Builder updates have been ...
    (microsoft.public.windowsce.embedded)
  • Re: Sharing folders in Windows CE 5.0
    ... First you do not need the Remote Registry Editor or the RemoteAdmin ... see the LICENSE.RTF on your install media or the root of your ... work unless all previous Platform Builder updates have been ...
    (microsoft.public.windowsce.embedded)
  • Re: Sharing folders in Windows CE 5.0
    ... First you do not need the Remote Registry Editor or the RemoteAdmin tool to configure the SMB Server. ... There are no updates for this issue in CE ...
    (microsoft.public.windowsce.embedded)
  • RE: I cant automatically check for updates.
    ... enabling me to download updates manually but that is no help if you cannot ... ensuring that you install Office before installing any additional office ... the registry but this did resolve the issue. ... Delete the following registry keys if they exist: ...
    (microsoft.public.officeupdate)