|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
On Nov 16, 6:11 pm, Jeffrey Kusters <Jeffrey
Kust...@discussions.microsoft.com> wrote: > Hi, > > We have implemented a fully automated deployment method for our Windows > Server 2003 based Citrix servers (using Altiris). The last step I can't quite > figure out is how to automatically disable any unused NIC's. Most of our > servers have two or more NICs and only one is connected. Unfortunately they > don't always use NIC1 so I can't simply use NETSH to disable NICs 2, 3 and so > on. > > Does anyone know of a script that walks through all NICs and disables the > unused / disconnected ones?? Take a look here: http://episteme.arstechnica.com/eve/...m/339009949731 or here http://groups.google.com/group/micro...3fab1141c6c93e Beginning with Vista and Server 2k8 the Win32_NetworkAdapter class has a disable method which makes life much easier. GL |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Thanks for the links. The script in the first link works like a charm!
"Kuma" wrote: > On Nov 16, 6:11 pm, Jeffrey Kusters <Jeffrey > Kust...@discussions.microsoft.com> wrote: > > Hi, > > > > We have implemented a fully automated deployment method for our Windows > > Server 2003 based Citrix servers (using Altiris). The last step I can't quite > > figure out is how to automatically disable any unused NIC's. Most of our > > servers have two or more NICs and only one is connected. Unfortunately they > > don't always use NIC1 so I can't simply use NETSH to disable NICs 2, 3 and so > > on. > > > > Does anyone know of a script that walks through all NICs and disables the > > unused / disconnected ones?? > > Take a look here: > http://episteme.arstechnica.com/eve/...m/339009949731 > > or here > > http://groups.google.com/group/micro...3fab1141c6c93e > > Beginning with Vista and Server 2k8 the Win32_NetworkAdapter class has > a disable method which makes life much easier. > > GL > |
|
![]() |
| Outils de la discussion | |
|
|