How to create a network share?

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...
 
K

KM

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
 
S

Steve Fallows

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
 
S

Slobodan Brcin \(eMVP\)

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
 
K

KM

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
 
S

SGF

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top