Solved

SCCM 2007 Task Sequence

Posted on 2013-11-21
8
1,311 Views
Last Modified: 2013-12-02
I need to create an SCCM Task Sequence for installing updates on a workstation.  For example, there is a new version of shockwave, flash, and symantec (both 32 & 64 bit versions)....

We have computers on the domain that have McAfee, and some that have SEP.  How can I create the task sequence to scan the targeted machines so that if they have McAfee - the SEP update is skipped, and if they have SEP on a 32 bit machine they'll get the SEP 32 version, and if they have SEP on a 64 bit machine they'll get the SEP 64 version.
0
Comment
Question by:mdmcq5
  • 4
  • 2
  • 2
8 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
Comment Utility
For the second part, you can create a query based collection that will make a collection for McAfeee.

64 bit etc can be set using requirements.

http://www.advancedinstaller.com/user-guide/sccm-requirements.html explains this with a screenshot.


Actually you can manage SEP easily for SEP Management console. Check if you have an console installed somewhere. That is almost like a mini SCCM console. Same for McAfee.
0
 

Author Comment

by:mdmcq5
Comment Utility
Thanks for the input, but we do not due query based collections.  We do things a bit off the wall - military installation, and the only option is creating a task sequence.
0
 
LVL 31

Accepted Solution

by:
merowinger earned 500 total points
Comment Utility
With each Task Sequence step you can configure some conditions. In your case i would check for existance of files or Folders, query wmi for the Software or chekc installed Software based on Windows Installer. If there's an identifier on the Client which is a sign that a Software is installed then you can query that.
Task Sequence Conditions
To install a Software only for 64 bit Systems for example can also easy be check with the operating System version
OS Version
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
Comment Utility
Why are you managing these AVs in such a way? SEP gives you a console and it sends updates every four hours instead of executing a TS which is more cumbersome.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:mdmcq5
Comment Utility
merowinger,

This is what I had done.  I set a task sequence variable for Operating System, and value of 64 with WMI Query select architecture from win32 processor where architecture ='9', and another for value 32 with WMI Query select architecture from win32 processor where architecture ='0' [I had set this variable prior to your response].

I have another task sequence variable named AntiVirus with the value of Symantec.  Below this TS variable I have an install software type to install the 64 bit SEP with 'If All conditions are true: Task Sequence Variable Operating System equals "64", and Task Sequence Variable AntiVirus equals "Symantec"...
The same for 86 bit SEP with 'If All conditions are true: Task Sequence Variable Operating System equals "32", and Task Sequence Variable AntiVirus equals "Symantec"

When running the task sequence advertisement, SEP 64 is installing on the 32 bit machines, even though I set those variables?  Also, SEP is installing on machines that have McAfee installed.  I was hoping the logic I inserted would not have any effect on McAfee installs.

I also ended the task sequence with a Restart Computer, however this step is not executing.

How can I fix what I have already created?

Thanks for your input!
0
 

Author Comment

by:mdmcq5
Comment Utility
Also, can I create a WMI Query to locate 64 bit Add Remove Programs, as I can with a WQL query?

If WQL =
SMS_R_System.ResourceId in (select SMS_R_System.ResourceID from  SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID = SMS_R_System.ResourceId where  SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName = "Symantec Endpoint Protection"
0
 
LVL 31

Expert Comment

by:merowinger
Comment Utility
Check out the smsts.log file on the machine and have a look into it why the steps are executed or not.
Do not use to many custom things as this will higher the risk for errors and try to work with the basic Features.
Also check out the Checkbox for 64 bit applications on 32 bit machines and so on....
0
 

Author Closing Comment

by:mdmcq5
Comment Utility
This was very helpful.  The reason why the tests were not running properly was our VMs are running on 64-bit hardware, even if the OS is 32-bit so the task sequence was not running properly, even though the logic was correct.  The Win32_Processor attribute that did report the true nature of the processor was the following:

select OSArchitecture from win32_operatingsystem where OSArchitecture='32-bit' and '64-bit', respectfully.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
Know what services you can and cannot, should and should not combine on your server.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now