Re: Sharing folders in Windows CE 5.0
- From: "Ryan Ward \(MSFT\)" <ryanward@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 14:54:32 -0800
Don,
You could try adding the specific reg keys and values to your project.reg and rebuild your image. This should hard code the information into your image.
Note: the UseAuthentication regvalue wasn't working in an out of the box install of the 5.0 tools, but was QFE'd so please make sure you install is up-to-date. I believe the monthly update that contained this fix is here: http://www.microsoft.com/downloads/details.aspx?familyid=61D983F5-192A-455B-A8C4-46243F79689A&displaylang=en
Example, add:
[HKEY_LOCAL_MACHINE\Services\SMBServer]
"AdapterList"="DC211401;"
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:00000000
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\Public]
"UserList"="*"
"Path"="\\Temp"
"Type"=dword:00000000
I am not 100% sure that the "UserList"="*" will work, but give it a shot.
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.
>> >
>> > The network path was not found.
>> >
>> > The command :
>> > ping wince
>> > does work though
>> >
>> > Can you shed some light on what is happening here?
>> > Don
>> >
>> >
>> > "Ryan Ward (MSFT)" wrote:
>> >
>> >> I was looking through the MSDN help about using the SMBServer and >> >> hope
>> >> this
>> >> link will answer your question:
>> >> http://msdn2.microsoft.com/en-us/library/ms899610.aspx
>> >>
>> >> Although not specifically mentioned in the guide you included in >> >> your
>> >> post,
>> >> you will need to add those registry keys manually to your >> >> project.reg
>> >> file.
>> >>
>> >> 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:E4A5427F-05E9-4023-950B-1829E4112E22@xxxxxxxxxxxxxxxx
>> >> > Hi
>> >> >
>> >> > I followed the instructions in
>> >> > http://www.dmp.com.tw/tech/os-wince/Sharing_Folders_in_Windows_CE_5.pd
>> >> > When I look at the registry there are no entries for
>> >> > [HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
>> >> > [HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\HDD]
>> >> > What do I have to do to make these available to me?
>> >> >
>> >> > Thanks
>> >> >
>> >> > -- >> >> > Don
>> >>
>> >>
>>
>>
.
- Follow-Ups:
- 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: Ryan Ward \(MSFT\)
- Re: Sharing folders in Windows CE 5.0
- From: Ryan Ward \(MSFT\)
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- From: Ryan Ward \(MSFT\)
- Re: Sharing folders in Windows CE 5.0
- From: Don
- Re: Sharing folders in Windows CE 5.0
- Prev by Date: Taskbar and Remote Desktop
- Next by Date: Re: Problems with a web application
- 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
|