When i was controlling my modem with my .net app i had to disable and enable network card to make the changes to nic .in 32 bit os i was able to disable/ enable network card with powerfull utility devcon from microsoft. but in 64 bit os 32bit devcon works partially , it cant disable/ enable devices always results in failure. Though microsoft provided a 64 bit version of devcon it was built for ia64 processors it wont work in my amd64 processor. so i had to search for another solution. google took me to autoit forums where some do the same with running scripts so i studied their codes ( i must say autoit is powerfull) and wrote a small commandline utility named 'nicci'.
usage
1) nicci -l
list all the network adapter names
2) nicci -e Network1
enable network connection named "Network1"
3) nicci -d Network1
disable network connection named "Network1"
download
