Re: Sharing folders in Windows CE 5.0
- From: "Alexander T. Bussmann [MSFT]" <alexbu@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Mar 2007 22:58:21 -0700
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 checked the
> clean
> before building option in Platform Builder and rebuild the image. I > still
> had to use the remoteadmin utility to set permissions in order to map > it
> on
> my XP machine but to my suprise the other thing which I had been > working
> on
> which is the mounting of the OS onto the compact flash started working. > I
> thought to my self, updates are good! I then downloaded the January
> update
> for this year rebuilt the OS and now the RemoteAdmin utility gives me
> errors
> when I try to open it on my XP machine. Does anyone have any ideas > about
> why?
> (A) the registry key
> [KEY_LOCAL_MACHINE\Services\SMBServer\Shares]
> "UseAuthentication"=dword:0
> is not working
> (B) the ability to run RemoteAdmin has stopped. I believe due to the
> January update for Platfrom Builder
> -- > Don
>
>
> "Alexander T. Bussmann [MSFT]" wrote:
>
>> Hi Don,
>>
>> You can do this by creating the necessary registry settings and adding
>> them
>> to your project.reg file before you create your image.
>>
>> Here are the links:
>>
>> 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
>>
>> Reading the full-thread it seems that you were having problems with >> this.
>> Please let me know if you are unable to configure server still with >> this
>> information and where you are getting stuck.
>>
>> Also, what file sharing scenario are you trying to get working? CE to
>> CE,
>> XP to CE?
>>
>> Thanks,
>> Alexander T. Bussmann [MSFT]
>>
>>
>> "Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:9611CC8F-CE64-4666-8F0A-0444FF19CA5D@xxxxxxxxxxxxxxxx
>> > Hi Ryan.
>> >
>> > I was wondering if you have made any progress on this issue. This
>> > issue
>> > has
>> > now become my top priority. I would really appreciate any help you >> > can
>> > give.
>> >
>> > -- >> > Don
>> >
>> >
>> > "Ryan Ward (MSFT)" wrote:
>> >
>> >> Don,
>> >>
>> >> I am unable to provide an answer for you regarding your query. >> >> I'll
>> >> continue to look into it and try to find a solution.
>> >>
>> >> For now, I would suggest you set your file server up using the
>> >> RemoteAdmin
>> >> utility. Make sure your device is set to load an existing image >> >> (as
>> >> oppose
>> >> to downloading a new image every time) and not clearing the >> >> registry
>> >> hive
>> >> when reset. This will ensure the changes you make to your image
>> >> remain
>> >> intact. These should be options in your devices bootloader or if >> >> you
>> >> are
>> >> always connected to Platform Builder change the following Core >> >> Service
>> >> Settings in the Connectivity Options: Under "Download Image" to >> >> "Never
>> >> (jump
>> >> to image only)" and under "KITL Settings", uncheck "Clear memory on
>> >> reset"
>> >>
>> >> Ryan
>> >> -- >> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >> Use of included script samples are subject to the terms specified >> >> at
>> >> http://www.microsoft.com/info/cpyright.htm
>> >>
>> >> "Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:C33CEB11-693C-4800-96F5-3115D1808199@xxxxxxxxxxxxxxxx
>> >> > Hi Ryan
>> >> >
>> >> > Now that I am sharing files successfully. Is there away to set >> >> > up
>> >> > the
>> >> > file
>> >> > sharing so that I don't have to use RemoteAdmin everytime I boot >> >> > my
>> >> > device
>> >> > in
>> >> > order to share
>> >> > a directory. Ideally I would like to share a folder that any >> >> > user
>> >> > can
>> >> > access regardless of there user or password without using
>> >> > RemoteAdmin.
>> >> > In
>> >> > other words is there a way to set up the registry with the >> >> > changes
>> >> > that
>> >> > the
>> >> > RemoteAdmin tool is making. In the RemoteAdmin tool I notice >> >> > that
>> >> > users
>> >> > come up with permissions denied and you have to change it to >> >> > allow.
>> >> > Is
>> >> > there
>> >> > a way for Windows CE to just keep these settings after a reboot.
>> >> > -- >> >> > Don
>> >> >
>> >> >
>> >> > "Ryan Ward (MSFT)" wrote:
>> >> >
>> >> >> Hi Don,
>> >> >>
>> >> >> May I ask what OS Design template you used? If it was one with >> >> >> an
>> >> >> UI
>> >> >> and
>> >> >> Internet Explorer (e.g. Enterprise Web Pad) then you could >> >> >> remotely
>> >> >> administer the SMB File Server settings. To do this you will >> >> >> need
>> >> >> to
>> >> >> add
>> >> >> SYSGEN_SMB_UI and rebuild your image.
>> >> >>
>> >> >> 1.) Boot the image, browse to >> >> >> http://%device_ip_addr%/RemoteAdmin
>> >> >> where
>> >> >> %device_ip_addr% is the WinCE ip addr you pinged (alternatively,
>> >> >> you
>> >> >> could
>> >> >> put the DeviceName instead of the IP Addr).
>> >> >> 2.) Enter a password for the administrator, [Apply]. The >> >> >> service
>> >> >> will
>> >> >> restart itself.
>> >> >> 3.) Login using 'admin' and the password from step 2.
>> >> >> 4.) You may need to update the image name, [Apply]
>> >> >> 5.) Edit the publicly facing adapter with "Add/Del Network >> >> >> Adapter"
>> >> >> 6.) Edit user accounts with "Add/Del Users" (I created a >> >> >> tempuser
>> >> >> here)
>> >> >> 7.) Edit your file share with "Add/Del Shares" (I created a >> >> >> share
>> >> >> called
>> >> >> Public that pointed to my \Temp)
>> >> >>
>> >> >> Note: You will need to Allow user accounts access to the shares
>> >> >> (by
>> >> >> default
>> >> >> they will be denied). I added my tempuser account from step 6
>> >> >> here.
>> >> >>
>> >> >> Then from my XP box: net use * \\MyDeviceName\Public /u:tempuer
>> >> >> %pwd%
>> >> >>
>> >> >> You can set a Network ID that you CE image can use to access >> >> >> other
>> >> >> resources
>> >> >> by going to the Owner applet in the Control Panel, then >> >> >> selecting
>> >> >> the
>> >> >> Network ID tab.
>> >> >>
>> >> >> One other thing, did you include SYSGEN_REDIR in your image?
>> >> >>
>> >> >> Ryan
>> >> >> -- >> >> >>
>> >> >> This posting is provided "AS IS" with no warranties, and confers >> >> >> no
>> >> >> rights.
>> >> >>
>> >> >> Use of included script samples are subject to the terms >> >> >> specified
>> >> >> at
>> >> >> http://www.microsoft.com/info/cpyright.htm
>> >> >>
>> >> >> "Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> >> news:DC6B5D4E-F300-4019-9300-79D0E84C976B@xxxxxxxxxxxxxxxx
>> >> >> > Hi Ryan
>> >> >> >
>> >> >> > The documentation you pointed me to says
>> >> >> >
>> >> >> > 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.
>> >> >> >
>> >> >> > I have used the * like the instruction say.
>> >> >> >
>> >> >> > One more thing in my CE image I don't notice anywhere that you
>> >> >> > can
>> >> >> > set
>> >> >> > a
>> >> >> > workgroup or enable file and printer sharing like you can on >> >> >> > xp.
>> >> >> > I would appreciate any help you can give
>> >> >> >
>> >> >> > Thanks
>> >> >> >
>> >> >> >
>> >> >> > -- >> >> >> > Don
>> >> >> >
>> >> >> >
>> >> >> > "Ryan Ward (MSFT)" wrote:
>> >> >> >
>> >> >> >> Don,
>> >> >> >>
>> >> >> >> I think you might need to set another registry key for which
>> >> >> >> adapter
>> >> >> >> the
>> >> >> >> SMB
>> >> >> >> Server uses publically. e.g. AdapterList
>> >> >> >>
>> >> >> >> Check out >> >> >> >> http://msdn2.microsoft.com/en-us/library/ms884924.aspx
>> >> >> >> for
>> >> >> >> more
>> >> >> >> information on that key and its value.
>> >> >> >>
>> >> >> >> Let me know if you need any more help.
>> >> >> >>
>> >> >> >> Ryan
>> >> >> >>
>> >> >> >> -- >> >> >> >>
>> >> >> >> This posting is provided "AS IS" with no warranties, and >> >> >> >> confers
>> >> >> >> no
>> >> >> >> rights.
>> >> >> >>
>> >> >> >> Use of included script samples are subject to the terms
>> >> >> >> specified
>> >> >> >> at
>> >> >> >> http://www.microsoft.com/info/cpyright.htm
>> >> >> >> "Don" <Don@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> >> >> news:E0F0936D-D7C0-4DDA-B168-F7E97AF486C4@xxxxxxxxxxxxxxxx
>> >> >> >> > Hi Ryan
>> >> >> >> >
>> >> >> >> > Thanks for your help. My problem was that I was not >> >> >> >> > modifying
>> >> >> >> > the
>> >> >> >> > project.reg file through platform builder. The next >> >> >> >> > problem
>> >> >> >> > that
>> >> >> >> > pops
>> >> >> >> > up
>> >> >> >> > when I try to share files is
>> >> >> >> > when I execute the command
>> >> >> >> > net use z: \\Wince\hdd
>> >> >> >> > It returns
>> >> >> >> >
>> >> >> >> > System error 53 has occurred.
.
- Follow-Ups:
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- References:
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- From: Alexander T. Bussmann [MSFT]
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- Prev by Date: Re: USB is not recognized on host computer
- Next by Date: Re: CE 600 Remote Tools connect problem
- Previous by thread: Re: Sharing folders in Windows CE 5.0
- Next by thread: Re: Sharing folders in Windows CE 5.0
- Index(es):
Relevant Pages
|