F8LDXSL4P Posted July 8, 2014 Posted July 8, 2014 I have task scheduler scheduled to run a script that contains "SplashImage" but it is keeping the program hidden and image never appears when launched.. Task is setup to "Run only when user is logged in" Any help would be appreciated! Thanks
Moderators JLogan3o13 Posted July 8, 2014 Moderators Posted July 8, 2014 What account/group are you running it under? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Moderators JLogan3o13 Posted July 8, 2014 Moderators Posted July 8, 2014 And when creating the task did you set it to interactive so it has access to the desktop of the logged in user? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
F8LDXSL4P Posted July 8, 2014 Author Posted July 8, 2014 (edited) I just added the /IT to my task scheduler command but the image is still hidden. Here is my command to schedule: $AddTN = "schtasks /Create /TN IDS /SC Once /ST 03:45 /SD " & $sDay & " /TR C:\KAST\IDS\data\IDScal.exe /IT" RunWait(@ComSpec & " /c " & $AddTN, @WindowsDir, @SW_HIDE) Edited July 8, 2014 by F8LDXSL4P
jdelaney Posted July 8, 2014 Posted July 8, 2014 (edited) /IT Enables the task to run interactively only if the /RU user is currently logged on at the time the job runs. This task runs only if the user is logged in. You can initiate psexec|paexec, with -s -i params. Otherwise, debug your schtask /create via command line, before moving it into your script (it will show your failures, and why it failed, to create) Edited July 8, 2014 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now