Duplex and speed in Windows XP are supported by the driver.
As such there is no uniform way to check, it depends on your chipset and manufacturer.
You can make all kinds of odd gyrations (parsing registry, vbscript etc), but all of them are after market.
It is much easier to have managed switches and check from the other side. Or just use gigabit that can really only do full duplex.
NCLEX RN