in reply to set duplex and speed of NIC

Several ideas come to mind.

  1. Use Win32::TieRegistry to update the appropriate registry locations.
  2. Use Win32::GuiTest to automate the manual task of changing the information in Network Properties.
  3. Use Win32::API to access the Windows networking API directly.

I have probably forgotten a few ways too. ;-)