Lets do another experiment and try running this compiled script at login, doing it the old fashioned way: FileDelete(@ScriptDir & "\test.bat") FileWriteLine(@ScriptDir & "\test.bat",'Echo @ALL') FileWriteLine(@ScriptDir & "\test.bat",'Echo NET USE N: /DELETE > "' & @ScriptDir & '\test.log" 2>&1') FileWriteLine(@ScriptDir & "\test.bat",'NET USE N: /DELETE>> "' & @ScriptDir & '\test.log" 2>&1') FileWriteLine(@Scrip