This script is great, but doesn't work correctly under Windows 7 Pro x64. The line:

messagebox ("DHCP Enabled: " + getipoptions("DHCPEnabled"),"")

does always return "False". On XP it works perfect.