Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Setting logon/logoff environment restrictions on a task sequence

$
0
0

I should know better, but I've been working on something that has turned my brain to mush, so I'm throwing myself on the mercy of the community.

I have a task sequence that performs the following.

1.  Runs a command line.  This executes a .EXE within my program package.  I would run this as Install Software task, but I don't want an exit code of '1' to be considered a failure.

2.  Sets a task sequence variable.

3.  Based on the value of my task sequence variable, tasks within the "Deploy" group are either executed, or the task sequence is complete.

4.  Uninstall Java - this is an Install Software task.  The program it executes is set to only run if no user is logged on.

5.  Install Java - this is an Install Software task.  It is also set to only execute if no user is logged on.

My issue is that the task sequence executes regardless of whether or not a user is logged in.  How do I keep that from happening?  Do I just add a step to the beginning that won't run while a user is logged in?


Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>