There is no supported method for programmatically setting the Password used by the Exchange ActiveSync client on Windows Mobile 5.0, Windows Mobile 6.0, Windows Mobile 6.5, and Windows Embedded Handheld 6.5 based devices.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.