How to create a network share?

  • Thread starter Thread starter SGF
  • Start date Start date
S

SGF

Can someone tell me how to create a network share in my XPE build? (XPE SP2)

I have a fairly complete build including "Windows XP Explorer User
Interface" component.

I have included and looked for properties related to shares on all of these
components:
Administrator Account
User Account
Automatic Logon
File Sharing
Client for Microsoft Networks
Explorer Shell
Windows XP Explorer User Interface
Map Network Drives/Network Places Wizard
Core Networking
Standard PC
Windows Logon (Standard)

And probably a few more...
 
SGF,

How do you [try to] create a network share now? With GUI or command line?
What exactly behaviour you are seeing? What errors you get?

For the GUI, please manually add "Primitive: MPRUI" component.

For the command like, use "net SHARE .." command.

KM
 
Well, I meant is there a way to create the share in the XPE build, so it
would be there after first boot?

I don't have any problem creating it via the gui - I'd just rather not have
to do that manually for each iteration of XPE Build.

Thanks for any further pointers,
SGF
 
Steve,
Well, I meant is there a way to create the share in the XPE build, so it
would be there after first boot?

Konstantin already said an answer to this. Use command line tools like "net"
and "netsh". You can set in TD so that they are executed durign the FBA so
when you first boot you will have your image up and running.

Regards,
Slobodan
 
Steve,
Well, I meant is there a way to create the share in the XPE build, so it
would be there after first boot?

Do you mean creating the shares in TD?
No, there is no sch "easy" way of doing that.

However, as I mentioned, there is a command line approach where you can use net.exe share command.
It it staightforward to use net.exe and FBA Generic Commands to automate the sharing.

Another way for you may be pre-populating [HKCU\Network] subkey entries (see the same key on XP Proto understand how to populate
it).

But the command line approach would be more "supported", though.

KM
 
Thanks for the replies.

I haven't really tried any FBA commands yet, so I'll go off and read up on
that.

I guess I just expected something so common would be built into some OS
component.

Thanks again,
Steve

KM said:
Steve,
Well, I meant is there a way to create the share in the XPE build, so it
would be there after first boot?

Do you mean creating the shares in TD?
No, there is no sch "easy" way of doing that.

However, as I mentioned, there is a command line approach where you can
use net.exe share command.
It it staightforward to use net.exe and FBA Generic Commands to automate
the sharing.

Another way for you may be pre-populating [HKCU\Network] subkey entries
(see the same key on XP Proto understand how to populate it).

But the command line approach would be more "supported", though.

KM

I don't have any problem creating it via the gui - I'd just rather not
have
to do that manually for each iteration of XPE Build.

Thanks for any further pointers,
SGF
 
Back
Top