Sccm task sequence
IS it possible to have a task sequence uninstall old software and reinstall new software all while the user is logged off? i have the sequence that works but it doesnt seem to run on its own when i advertise it.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
1) Does the new version not uninstall the old version on its own? Most do.
2) What do the 100,000 logs which SCCM writes to tell you?
3) If the install/uninstall are MSIs, you can specify that a log be created on the command line, using the '/L' switch. The logs produced may help determine what's happening (or not!)
2) What do the 100,000 logs which SCCM writes to tell you?
3) If the install/uninstall are MSIs, you can specify that a log be created on the command line, using the '/L' switch. The logs produced may help determine what's happening (or not!)
Posted by:
Jsaylor
14 years ago
Some basic things:
Are the programs you're running set to only run when a user is logged off?
Did you set a mandatory execution date for the advertisement?
Check the advertisement status from the SCCM reporting point, does it say 'bad environment'?
Are you trying to have it run on a machine that you've already run it once by initiating from run advertised programs? If so, the same advertisement won't run again, even if you have a mandatory date set (Unless you explicitly set the advertisement to run again even if successful)
Are the programs you're running set to only run when a user is logged off?
Did you set a mandatory execution date for the advertisement?
Check the advertisement status from the SCCM reporting point, does it say 'bad environment'?
Are you trying to have it run on a machine that you've already run it once by initiating from run advertised programs? If so, the same advertisement won't run again, even if you have a mandatory date set (Unless you explicitly set the advertisement to run again even if successful)
Posted by:
jakedavidoff
14 years ago
Are the programs you're running set to only run when a user is logged off? No ihave then set tio run weather the user is loggen in or not
Did you set a mandatory execution date for the advertisement? yes I chose asap
Check the advertisement status from the SCCM reporting point, does it say 'bad environment'? all iget is the program was accepted, amnd program recieved
Are you trying to have it run on a machine that you've already run it once by initiating from run advertised programs? If so, the same advertisement won't run again, even if you have a mandatory date set (Unless you explicitly set the advertisement to run again even if successful) this is a new advertisement i recreated, thanks for all the help
Did you set a mandatory execution date for the advertisement? yes I chose asap
Check the advertisement status from the SCCM reporting point, does it say 'bad environment'? all iget is the program was accepted, amnd program recieved
Are you trying to have it run on a machine that you've already run it once by initiating from run advertised programs? If so, the same advertisement won't run again, even if you have a mandatory date set (Unless you explicitly set the advertisement to run again even if successful) this is a new advertisement i recreated, thanks for all the help
Posted by:
Jsaylor
14 years ago
If it's a fresh advertisement, but the same program, it won't actually run the program again. SCCM does this awesome thing where programs retain their own run status for individual clients. So if a program runs once, then you readvertise with another mandatory advertisement to the same program, it will just report success, but never actually run the program again.
You can find more detail with report 107 (Status of a specific advertisement.) The second half of that report should have your machine listed under "success" if what I'm guessing is true. Otherwise you might see it under waiting, or failed if something weird happened when the program ran.
You can find more detail with report 107 (Status of a specific advertisement.) The second half of that report should have your machine listed under "success" if what I'm guessing is true. Otherwise you might see it under waiting, or failed if something weird happened when the program ran.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.