Thursday, April 2, 2009

Setting Up MTU in Windows Vista

Its quite often we have connection issues while we browsing may the problem with the MTU setting of Router , if could not change there , you can change those directly in client machines

If it windows Vista

you can check what value does your clients have using the following command in command line

c:\users>netsh interface ipv4 show subinterfaces


You can change the MTU settings using the following command

c:\users>netsh interface ipv4 set subinterface "Local Area Connection" mtu=1436 store=persistent

Want to see what your settings are again type

netsh interface ipv4 show subinterfaces


Registry tweaks are there was Windows XP and previous version but that doesnt work normally with VISTA

For previous versions of vista you can use the following link to download DR.TCP

http://www.dslreports.com/drtcp

Sending Email from command line

there is free tool which can be downloaded from "http://www.caspian.dotconf.net/menu/Software/SendEmail"

extract the content and place it in the executable


simple syntax :

sendEmail -f fromemailaddress@domain.com -t toemailaddress@somedomain.com -m hello(messagebody) -u test(subject) -a hi.txt(attachment file) -xu usernameofsomedomain.com(username) -xp password -s smtp.somedomain.com:25


will followed by the ack whether the email have been successfully or not