PC Review Forums Newsgroups Windows XP Windows XP Setup Sysprep and Wireless Network Configuration

Reply

Sysprep and Wireless Network Configuration

 
Thread Tools Rate Thread
Old 15-06-2004, 08:56 PM   #1
Tim Huntley
Guest
 
Posts: n/a
Default Sysprep and Wireless Network Configuration


Hello,

After running sysprep on WinXP, the wireless network configuration
settings are lost. This makes sense, since they seem to be stored
under an adapter-specific registry setting:

HKLM\SOFTWARE\Microsoft\WZCSVC\Parameters\Adapters\<GUID of
adapter>

Sysprep seems to recreate the network settings, so adapters would have
new GUIDs. This is a problem that other have noted:

http://groups.google.com/groups?hl=...FTNGP10.phx.gbl

but no one seems to have come up with a solution. Is there any
automated way of setting values like the SSID programatically? The
WZCSAPI.dll has been suggested by some, but it's API isn't documented.
Is there any sort of scripting approach that might work?

Thanks in advance,

-Tim Huntley
  Reply With Quote
Old 16-06-2004, 01:23 PM   #2
Patrick J. LoPresti
Guest
 
Posts: n/a
Default Re: Sysprep and Wireless Network Configuration

large_orange_cat@yahoo.com (Tim Huntley) writes:

> Is there any automated way of setting values like the SSID
> programatically? The WZCSAPI.dll has been suggested by some, but
> it's API isn't documented. Is there any sort of scripting approach
> that might work?


It does seem that WZCSAPI is undocumented and there is no documented
programmatic interface to the WZCSVC (Wireless Zero Configuration
service).

If you have a Server 2003 infrastructure, you can use Group Policy to
configure WZCSVC:

http://www.microsoft.com/technet/co...guy/cg0703.mspx

For programmatic solutions, the best I can find is WRAPI:

http://ramp.ucsd.edu/pawn/wrapi/

This is a DLL which allows you to set the SSID etc. from a C/C++
program, but you have to disable WZCSVC before you can use it.

You might try asking again in the windows.server.scripting group. I
am interested in a better answer myself.

- Pat
  Reply With Quote
Old 17-06-2004, 08:50 PM   #3
Tim Huntley
Guest
 
Posts: n/a
Default Re: Sysprep and Wireless Network Configuration

Pat,

Thanks for your response. After speaking with MS support, it seems
that there isn't a great solution. The choices are:

1. Configure the SSID on a test system and grab the registry values
under
HKLM\SOFTWARE\Microsoft\WZCSVC\Paraneters\Interfaces\<adapter GUID>.
Hard-code
these values into a utility that looks up the GUID of the adapter in
question, creates the appropriate registry key and places the
hard-coded values underneath
it. Ugly as it is, this approach worked on a test system.

2. As you suggested, don't configure the SSID during installation, let
the configuration get pushed down to the workstation after the inital
(wired) domain logon, using the Active Directory Group Policy settings
in Windows Server 2003 that support wireless configuration. If you
don't need an initial wireless logon, this does the job.

3. Some as-yet-undiscovered scripting capability that might run during
the [GuiRunOnce] section of an unattended install.

Using netset.exe was explored briefly, but it doesn't support wireless
configuration options. Various occult options were also explored, but
I'll save the description of those for another newsgroup.

Regards,

-Tim
large_orange_cat@yahoo.com
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off