How to automatically configure the Network settings of a specific LAN card
from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
Any suggestion? Thanks!

Re: How to automatically configure the Network settings of a specific by CJT

CJT
Thu Aug 19 20:07:20 CDT 2004

Marco wrote:

> How to automatically configure the Network settings of a specific LAN card
> from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> Any suggestion? Thanks!
>
>

Automatically in what sense? Remotely? Via code run at the machine
containing the NIC?

What keeps you from setting up via the software provided by the NIC
manufacturer or afterwards through My Computer -> Network ?

--
The e-mail address in our reply-to line is reversed in an attempt to
minimize spam. Our true address is of the form che...@prodigy.net.

Re: How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? by Marco

Marco
Thu Aug 19 20:15:27 CDT 2004

sorry! via code!

"CJT" <abujlehc@prodigy.net> ??? news:41254EC8.1080500@prodigy.net ???...
> Marco wrote:
>
> > How to automatically configure the Network settings of a specific LAN
card
> > from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> > Any suggestion? Thanks!
> >
> >
>
> Automatically in what sense? Remotely? Via code run at the machine
> containing the NIC?
>
> What keeps you from setting up via the software provided by the NIC
> manufacturer or afterwards through My Computer -> Network ?
>
> --
> The e-mail address in our reply-to line is reversed in an attempt to
> minimize spam. Our true address is of the form che...@prodigy.net.



RE: How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? by bburgin

bburgin
Thu Aug 19 21:17:40 CDT 2004

------=_NextPart_0001_476386AB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I believe the only way will be to touch the registry directly and reboot.
On ME, I recall if WMI will work or NetSH.

Bryan S. Burgin
bburgin@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_476386AB
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I believe the only way will be to touch the registry directly and reboot. On ME, I recall if WMI will work or NetSH.
\par
\par Bryan S. Burgin
\par bburgin@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par }
------=_NextPart_0001_476386AB--


RE: How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? by bburgin

bburgin
Thu Aug 19 21:19:09 CDT 2004

------=_NextPart_0001_4765BAE0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Correction:

I meant to say

[...] On ME, I **don't**recall if WMI will work or NetSH.

Bryan S. Burgin
bburgin@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_4765BAE0
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Correction:
\par
\par I meant to say
\par
\par [...] On ME, I **don't**recall if WMI will work or NetSH.
\par
\par Bryan S. Burgin
\par bburgin@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_4765BAE0--


Re: How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? by John

John
Fri Aug 20 13:48:21 CDT 2004

Check out the EnableDHCP(), EnableStatic(), SetGateways(), and
SetDNSServerSearchOrder() WMI methods.

--
John Phillips
MVP - Windows SDK



"Marco" <sorry@nomail.com> wrote in message
news:O%237wt2khEHA.1964@tk2msftngp13.phx.gbl...
> How to automatically configure the Network settings of a specific LAN card
> from Static IP to Obtain IP through DHCP or vice versa in Win98 or Me?
> Any suggestion? Thanks!
>
>



Re: How to automatically configure the Network settings of a specific LAN card from Static IP to Obtain IP through DHCP or vice versa? by bburgin

bburgin
Fri Aug 20 17:09:26 CDT 2004

------=_NextPart_0001_4BA733F7
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Keep in mind that WMI (WBEM) is not installed by default on 9x (it is on
ME), so your customers will need access to their original Windows 98
distribution media to install it via Add new software/System Components.

Bryan S. Burgin
bburgin@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.

------=_NextPart_0001_4BA733F7
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Keep in mind that WMI (WBEM) is not installed by default on 9x (it is on ME), so your customers will need access to their original Windows 98 distribution media to install it via Add new software/System Components.
\par
\par Bryan S. Burgin
\par bburgin@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par }
------=_NextPart_0001_4BA733F7--