I am trying to run an complied AutoIt script as a scheduled task every morning at 6:30am. At that time, the PC is logged into as the administrator but the screen in locked to control access. 
 
Although I have tested this script as many ways as I can, it only runs through to completion when I am testing and not when I want to run it at 6:30am. 
 
Here are the three configurations I ahve tried so far 
 
The first uses _GUICtrlToolbar_ClickIndex($hToolbar, 15) 
 
 Func SwitchTo3D()
	_FileWriteLog(