Disabling a network card when running sysprepping a Windows machine is easy. Two things need to happen:
1. Add the following command to the [GuiRunOnce] section of your sysprep.inf file
Command0=”C:\temp\disablenic.cmd”
2. On the machine you are sysprepping, create a C:\temp\disablenic.cmd file that contains the following:
netsh interface set interface “Local Area Connection 2″ DISABLED
Change the name of the interface you want disabled as needed. To determine the names of all network interfaces on a system, run the following command:
netsh interface show interface
Proceed with syspreping as normal. When the machine boots up, the specified network interface(s) will be disabled.