Hello,
I have a problem with teaming adapters. I have a WinXP image that I want to deploy to a series of machines. The image is
sysprep'ed. I've created a script teaming the 'Intel Pro/1000 PF dual adapters' via the following commands (after having
run the Adapter_Enumerate command):
prosetcl.exe Team_Create 6,4 LAN1 SFT
prosetcl.exe Team_Create 1,5 LAN2 SFT
After teaming, the network interfaces are renamed and addresses assigned via the netsh command. The script works fine
but the adapter index differs from each time I run the 'prosetcl.exe Adapter_Enumerate' command after having sysprep'ed
the machine, pls see the 3 test runs below:
First sysprep attempt
C:\Program Files\Intel\DMIX\CL>prosetcl.exe Adapter_Enumerate
Number of adapters currently present: 7
1) Intel(R) PRO/1000 PF Dual Port Server Adapter #3
2) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller #2
3) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
4) Intel(R) PRO/1000 PF Dual Port Server Adapter #2
5) Intel(R) PRO/1000 PF Dual Port Server Adapter #4
6) Intel(R) PRO/1000 PF Dual Port Server Adapter
7) VIA Rhine III Management Adapter
Second sysprep attempt
C:\Program Files\Intel\DMIX\CL>prosetcl.exe Adapter_Enumerate
Number of adapters currently present: 7
1) Intel(R) PRO/1000 PF Dual Port Server Adapter #4
2) Intel(R) PRO/1000 PF Dual Port Server Adapter #3
3) Intel(R) PRO/1000 PF Dual Port Server Adapter #2
4) Intel(R) PRO/1000 PF Dual Port Server Adapter
5) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
6) VIA Rhine III Management Adapter
7) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller #2
Third sysprep attempt
C:\Program Files\Intel\DMIX\CL>prosetcl.exe Adapter_Enumerate
Number of adapters currently present: 7
1) Intel(R) PRO/1000 PF Dual Port Server Adapter #3
2) Intel(R) PRO/1000 PF Dual Port Server Adapter #4
3) Intel(R) PRO/1000 PF Dual Port Server Adapter #2
4) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
5) Intel(R) PRO/1000 PF Dual Port Server Adapter
6) Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller #2
7) VIA Rhine III Management Adapter
Allright so the NIC index differs after each sysprep run - so I'll script my way out of this problem - but the I ran
into another problem. When I try to redirect the output from the 'prosetcl.exe Adapter_Enumerate' command to a file, the
resulting file is empty! I then tried redirecting stderr (prosetcl.exe Adapter_Enumerate 2>&1 c:\NICenum.txt) but same
result.
I consulted the 'PROSETCL.EXE Help File' to check if there was a command to print the NIC index, but without luck.
Please help me with hints on how to write the output of the 'Adapter_Enumerate' command to a file or env. variable.
Thanks
Jacob