Remove / avoid login credential window in ax 2009

I'm opening ax for automation purpose. When opening from configuration file, I'm calling the synchronization. But when opening now, it is stopping in credential part. Once we give / close the window then it is automatically starting the sync and further steps.

How can I avoid this login window / remove this ? pls suggest.