I have a script that works correctly when the PC is logged into but failes when the PC is at the login screen. The command in question that is failing isĀ  _GUICtrlTreeView_SetSelected($hWnd, $hItem) where I am selecting an item in a treeview. This might not be surprising since hte control is behind the login screen. Is there a way to control the tree view directly? Ian