Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Dagent - running background tasks

Updated: 31 Aug 2010 | 2 comments
szb's picture
0 0 Votes
Login to vote

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?

Comments

szb's picture
01
Mar
2010
0 Votes 0
Login to vote

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.

Rich Dowling's picture
02
Mar
2010
0 Votes 0
Login to vote

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