Solved

SCCM 2007 Task Sequence

Posted on 2013-11-21
8
1,334 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
ID: 39667338
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
ID: 39667401
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
ID: 39668185
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 39668777
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
 

Author Comment

by:mdmcq5
ID: 39677880
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
ID: 39678099
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
ID: 39682956
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
ID: 39691135
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

777 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