Dagent - running background tasks
Updated: 31 Aug 2010 | 2 comments
My scenario is this:
I have a 6.9 sp3 ds server, windows 7 client. I'm trying to run a nifty program via dagent script job called wuinstall. This program forces out windows updates to clients.
If I run the job in the "logged on console user" mode it works great. If I run the job in the same user context with no one logged in it doesn't work.
Is there anything weird about the way dagent runs scripts when a user is not logged in, compared to how the script would run with a user logged in?
Discussion Filed Under:
Comments
Unfortunately I've hit this
Unfortunately I've hit this snag yet again. My new Mathcad install works when I run it with "run script in console user session" checked, but not when I use "sepcific user". This is so strange.
Session 0
Anything running under the "Specifc User" context on Windows 7 (and Vista, and Server 2008) will run in session 0.
See the following for details about session 0:
https://www-secure.symantec.com/connect/articles/session-0-mitigation-and-remediations
If you run the script in the logged on user session, it will run in that user's session not session 0
Would you like to reply?
Login or Register to post your comment.