<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>Forefront Client Security Tools</title><link>http://www.codeplex.com/fcscompete/Project/ProjectRss.aspx</link><description>Tools and scripts to help customers with FCS, including scripts to provide customers the ability to uninstall competitive products</description><item><title>Created Issue: FCS Exclusions installation error.</title><link>http://www.codeplex.com/fcscompete/WorkItem/View.aspx?WorkItemId=6078</link><description>Hello I tried to install FCS Exclusions on my production Exchange 2007 server unfortunatelly I get the following error during installation&amp;#58;&lt;br /&gt;&amp;#34;Exchange 2007 FCS Exclusions can not be installed on systems earlier then Windows Server 2003 x64&amp;#34;. The operating system the Exchange is installed on is&amp;#58;&lt;br /&gt;Windows Server 2003 R2 Standard x64.&lt;br /&gt;&lt;br /&gt;See the attached error window. What can be the issue why I can not install it&amp;#63;&lt;br /&gt;&lt;br /&gt;Best Regards&lt;br /&gt;Krzysztof Banaszak&lt;br /&gt;</description><author>kbanaszak</author><pubDate>Sun, 07 Sep 2008 18:53:16 GMT</pubDate><guid isPermaLink="false">Created Issue: FCS Exclusions installation error. 20080907065316P</guid></item><item><title>Updated Release: Forefront Client Security Deployment Tool (יונ 17, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14440</link><description>&lt;div&gt;
The Forefront Client Security Deployment Tool is a free toolkit that is meant to provide additional deployment capabilities in addition to those who are available with the RTM Version of FCS . This tool gives network and security administrators the ability to scan their network and/or AD, discover existing solutions that are already installed on their clients, uninstall the existing solution and install FCS Client – all in one.&lt;br&gt; &lt;br&gt;Update: Build 108&lt;br&gt;- Fixed &amp;quot;Program Files&amp;quot; Uninstall Bug&lt;br&gt;- Fixed AD Computers Bug.&lt;br&gt;- Added support for new version of symantec.&lt;br&gt;- Fixed Impersonation Bug (Using Task Scheduler)&lt;br&gt; &lt;br&gt;Update: Build 106&lt;br&gt;- Fixed Symantec V11 Uninstall bug.&lt;br&gt;- Added Restart Timeout for process resume (for uninstallations that require workstation restart).&lt;br&gt;- Added Re-Scan Button.&lt;br&gt;- Currently Supporting Uninstall of Symantec Versions 8-11, Trend 7-8 and all Mcafee Virusscan versions.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Thu, 04 Sep 2008 20:44:54 GMT</pubDate><guid isPermaLink="false">Updated Release: Forefront Client Security Deployment Tool (יונ 17, 2008) 20080904084454P</guid></item><item><title>New Post: Trend Officescan Removal</title><link>http://www.codeplex.com/fcscompete/Thread/View.aspx?ThreadId=34926</link><description>&lt;div style="line-height: normal;"&gt;Hi Guys,&lt;br&gt;
&lt;br&gt;
Is there anyway to incorporate the uninstall password into the script to remove trend?
&lt;/div&gt;</description><author>akajee</author><pubDate>Thu, 04 Sep 2008 13:26:24 GMT</pubDate><guid isPermaLink="false">New Post: Trend Officescan Removal 20080904012624P</guid></item><item><title>New Post: typing error</title><link>http://www.codeplex.com/fcscompete/Thread/View.aspx?ThreadId=33880</link><description>&lt;div style="line-height: normal;"&gt;I know that this is a trivial matter but just thought that I should mention it. When running a scan for computers with FF installed, the &amp;quot;message&amp;quot; as a typo. it reads:&lt;br&gt;
&lt;br&gt;
Microswoft Forefront client security is installed.&lt;br&gt;
&lt;br&gt;
Great tool so far..&lt;br&gt;
&lt;br&gt;
;-)&lt;br&gt;
&lt;/div&gt;</description><author>akajee</author><pubDate>Wed, 20 Aug 2008 09:34:05 GMT</pubDate><guid isPermaLink="false">New Post: typing error 20080820093405A</guid></item><item><title>New Post: I have this problem </title><link>http://www.codeplex.com/fcscompete/Thread/View.aspx?ThreadId=30377</link><description>&lt;div style="line-height: normal;"&gt;&amp;nbsp;
&lt;p&gt;&lt;span lang=EN-US&gt;Feedback
Form submitted the following :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;With the
following message:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;ip:
172.26.2.116&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;[26/06/2008
10:04:14] Failed to install Forefront cilent&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;StackTrace:&amp;nbsp;&amp;nbsp;&amp;nbsp;
at Microsoft.FCS.deployment.Wmi.install(Object obj) in
C:\projects\Microsoft.FCS.Deployment\Microsoft.FCS.Deployment\classes\Wmi.cs:line
538&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;The
directory name is invalid.&lt;/span&gt;&lt;/p&gt;
&lt;br&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;StackTrace:&amp;nbsp;&amp;nbsp;&amp;nbsp;
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&amp;nbsp;
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String
userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs,
SearchOption searchOption)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&amp;nbsp;
at System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption
searchOption)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&amp;nbsp;
at System.IO.DirectoryInfo.GetFiles()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&lt;br&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&amp;nbsp;
at Microsoft.FCS.deployment.Wmi.install(Object obj) in C:\projects\Microsoft.FCS.Deployment\Microsoft.FCS.Deployment\classes\Wmi.cs:line
495&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;**************************************&lt;/p&gt;
&lt;p&gt;But the directory &amp;quot;&lt;span lang=EN-US&gt;C:\projects\Microsoft.FCS.Deployment\Microsoft.FCS.Deployment\classes\Wmi.cs&amp;quot; not exist and the application don't create this Directory&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span lang=EN-US&gt;&lt;/span&gt;&lt;/p&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>Rogeriom</author><pubDate>Fri, 27 Jun 2008 08:08:48 GMT</pubDate><guid isPermaLink="false">New Post: I have this problem  20080627080848A</guid></item><item><title>UPDATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14440</link><description>&lt;div&gt;
The Forefront Client Security Deployment Tool is a free toolkit that is meant to provide additional deployment capabilities in addition to those who are available with the RTM Version of FCS . This tool gives network and security administrators the ability to scan their network and/or AD, discover existing solutions that are already installed on their clients, uninstall the existing solution and install FCS Client – all in one.&lt;br&gt; &lt;br&gt;Update: New build is available (106)&lt;br&gt;- Fixed Symantec V11 Uninstall bug.&lt;br&gt;- Added Restart Timeout for process resume (for uninstallations that require workstation restart).&lt;br&gt;- Added Re-Scan Button.&lt;br&gt;- Currently Supporting Uninstall of Symantec Versions 8-11, Trend 7-8 and all Mcafee Virusscan versions.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Tue, 24 Jun 2008 22:02:01 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008) 20080624100201P</guid></item><item><title>UPDATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14440</link><description>&lt;div&gt;
The Forefront Client Security Deployment Tool is a free toolkit that is meant to provide additional deployment capabilities in addition to those who are available with the RTM Version of FCS . This tool gives network and security administrators the ability to scan their network and/or AD, discover existing solutions that are already installed on their clients, uninstall the existing solution and install FCS Client – all in one.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Wed, 18 Jun 2008 18:49:33 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008) 20080618064933P</guid></item><item><title>CREATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14440</link><description>&lt;div&gt;
The Forefront Client Security Deployment Tool is a free toolkit that is meant to provide additional deployment capabilities in addition to those who are available with the RTM Version of FCS . This tool gives network and security administrators the ability to scan their network and/or AD, discover existing solutions that are already installed on their clients, uninstall the existing solution and install FCS Client – all in one.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Mon, 16 Jun 2008 21:23:48 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Forefront Client Security Deployment Tool (יונ 17, 2008) 20080616092348P</guid></item><item><title>RELEASED: Forefront Client Security Deployment Tool (Jun 17, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14440</link><description>&lt;div&gt;
The Forefront Client Security Deployment Tool is a free toolkit that is meant to provide additional deployment capabilities in addition to those who are available with the RTM Version of FCS . This tool gives network and security administrators the ability to scan their network and/or AD, discover existing solutions that are already installed on their clients, uninstall the existing solution and install FCS Client – all in one.&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Mon, 16 Jun 2008 21:23:48 GMT</pubDate><guid isPermaLink="false">RELEASED: Forefront Client Security Deployment Tool (Jun 17, 2008) 20080616092348P</guid></item><item><title>CREATED RELEASE: FCS Remote Definitions Update (יונ 09, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14225</link><description>This Guide explains how to create a process of remote updating forefront client security definitions using MOM2005 Tasks. This ability to MOM2005 gives you the ability to &amp;#34;Right Click &amp;#224; Update Definitions&amp;#34; on each and every installed client and by that gives you the ability to update and control your client definitions outside &amp;#34;windows update&amp;#34;. &lt;br /&gt;&lt;br /&gt;Note&amp;#58; This update method is not a replacement for the Windows update method. You can take the scripts and the first part of this process &amp;#40;the definition download&amp;#41; and use it with any other distribution application you have deployed in your organization. &lt;br /&gt;&lt;br /&gt;</description><author></author><pubDate>Mon, 09 Jun 2008 18:19:38 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: FCS Remote Definitions Update (יונ 09, 2008) 20080609061938P</guid></item><item><title>UPDATED RELEASE: FCS scanning exclusions msi (jun 03, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=14026</link><description>This msi file will add close to all &amp;#40;read the included ReadMe file&amp;#41; of the recomended scanning exclusions when running Forefront Client Security on an Microsoft Exchange 2007 server. Including file extension, process and folder path exclusions.&lt;br /&gt;The setup will add the exclusions to the reg keys below and create a folder &amp;#34;Johan Blom, Truesec&amp;#34; under program files with the ReadMe file and an url shortcut to the Microsoft document describing the recomended scanning exclusions.&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;Microsoft Forefront&amp;#92;Client Security&amp;#92;1.0&amp;#92;AM&amp;#92;Exclusions&amp;#92;Extensions&lt;br /&gt;HKEY_LOCAL_MACHINE&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;Microsoft Forefront&amp;#92;Client Security&amp;#92;1.0&amp;#92;AM&amp;#92;Exclusions&amp;#92;Paths&lt;br /&gt;HKEY_LOCAL_MACHINE&amp;#92;SOFTWARE&amp;#92;Microsoft&amp;#92;Microsoft Forefront&amp;#92;Client Security&amp;#92;1.0&amp;#92;AM&amp;#92;Exclusions&amp;#92;Processes&lt;br /&gt;&lt;br /&gt;The msi does not run on Windows server 2008 yet.&lt;br /&gt;&lt;br /&gt;Included in the zip file is one 32bit msi for testing on the eval version of Exchange 2007 and one 64bit msi for production environment. </description><author></author><pubDate>Tue, 03 Jun 2008 20:36:51 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: FCS scanning exclusions msi (jun 03, 2008) 20080603083651P</guid></item><item><title>UPDATED RELEASE: Uninstall Scripts (Oct 01, 2007)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=7424</link><description>This is the first version of the uninstall scripts.</description><author></author><pubDate>Mon, 14 Apr 2008 19:24:53 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Uninstall Scripts (Oct 01, 2007) 20080414072453P</guid></item><item><title>CREATED RELEASE: AVS Disable</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=12568</link><description>This script disables AVG, it doesn&amp;#8217;t truly remove it.  It disables the service and removes all registry entries, etc.  It is documented and theirs is a narrative in the zip file.   Please feel free to pass on to your other customers or post on the source code site.&lt;br /&gt;&lt;br /&gt;Posted on behalf of Steve Scholz</description><author></author><pubDate>Mon, 14 Apr 2008 19:23:01 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: AVS Disable 20080414072301P</guid></item><item><title>UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=11424</link><description>Forefront Client Security update mechanism relies almost completely on Windows Update services. Some of you might ask if there is another way of deploying definition updates to the clients without using Windows Update.&lt;br /&gt;&lt;br /&gt;This package provides preceptive guidance and tools necessary to you&amp;#47;your customers that have SMS 2003 &amp;#40;or other distribution mechanism for that matter&amp;#41;.  Use this release for purposes of creating an automated process of downloading and deploying client definitions updates to your machines.</description><author></author><pubDate>Fri, 11 Apr 2008 08:46:39 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008) 20080411084639A</guid></item><item><title>UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=11424</link><description>Forefront Client Security update mechanism relies almost completely on Windows Update services. Some of you might ask if there is another way of deploying definition updates to the clients without using Windows Update.&lt;br /&gt;&lt;br /&gt;This package provides preceptive guidance and tools necessary to you&amp;#47;your customers that have SMS 2003 &amp;#40;or other distribution mechanism for that matter&amp;#41;.  Use this release for purposes of creating an automated process of downloading and deploying client definitions updates to your machines.</description><author></author><pubDate>Tue, 18 Mar 2008 14:39:29 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008) 20080318023929P</guid></item><item><title>UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=11424</link><description>Forefront Client Security update mechanism relies almost completely on Windows Update services. Some of you might ask if there is another way of deploying definition updates to the clients without using Windows Update.&lt;br /&gt;&lt;br /&gt;This package provides preceptive guidance and tools necessary to you&amp;#47;your customers that have SMS 2003 &amp;#40;or other distribution mechanism for that matter&amp;#41;.  Use this release for purposes of creating an automated process of downloading and deploying client definitions updates to your machines.</description><author></author><pubDate>Wed, 12 Mar 2008 21:15:21 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: Updating FCS Client defintions using SMS 2003 (מרץ 07, 2008) 20080312091521P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/fcscompete/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;We now have new tools and guidance to integrate FCS with SCCM&lt;/b&gt;&lt;br /&gt;Check new releases tab above for more information!&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;b&gt;New Script&lt;/b&gt;&lt;br /&gt;We've just released a new script to help you find out when FCS was last updated. Check it out in the &amp;quot;Releases&amp;quot; section and in the &amp;quot;Source Code&amp;quot; section.&lt;br /&gt; &lt;br /&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Tools to help FCS customers, including sample scripts to remove and uninstall existing AV/AS products. They are a great starting point to do so, but they can use your improvements and feedback. &lt;br /&gt; &lt;br /&gt;Download the scripts, use and improve them, and submit your improvements.&lt;br /&gt;
&lt;/div&gt;</description><author>nehasharma</author><pubDate>Sat, 23 Feb 2008 01:36:21 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080223013621A</guid></item><item><title>CREATED RELEASE: Integrating FCS with SCCM (Feb 22, 2008)</title><link>http://www.codeplex.com/fcscompete/Release/ProjectReleases.aspx?ReleaseId=11034</link><description>Did you know SCCM can be used to provide client updates and signature updates to Client Security&amp;#63; &lt;br /&gt;&lt;br /&gt;&amp;#42;This package provides presceptive guidance and tools necessary to your customers&amp;#42; &lt;br /&gt;&lt;br /&gt;Deploying and maintaining your Forefront client Security clients can be automated using System Center Configuration Manager &amp;#40;SCCM&amp;#41;. With SCCM customers can quickly deploy the Forefront Client Security &amp;#40;FCS&amp;#41; agents, maintain signature updates automatically and assess the agent&amp;#8217;s configuration compliance on a routine basis.</description><author></author><pubDate>Sat, 23 Feb 2008 01:30:34 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: Integrating FCS with SCCM (Feb 22, 2008) 20080223013034A</guid></item><item><title>NEW POST: FCS Install and Uninstall Script Tips</title><link>http://www.codeplex.com/fcscompete/Thread/View.aspx?ThreadId=18689</link><description>&lt;div class="wikidoc"&gt;
This post provides some information and tips around the sample FCS scripts supplied with the Service Kit.  Hopefully it will help you configure them for your specific requirements.  First remember that these are sample scripts.  They were not designed nor were they intended to be comprehensive fully operational scripts.  In every instance where I have used them, it has been necessary to modify them to fit the client’s particular situation.  However, I have never had an instance where the processes in these scripts could not be modified to remove existing AV products.&lt;br /&gt;&lt;h1&gt;
General Information
&lt;/h1&gt;The scripts were designed to be run as silent installation script using a software distribution system like SMS.  They are written in a self documenting style, in other words the object and variable names were chosen to make the code easy to read and understand.&lt;br /&gt;&lt;h2&gt;
Common Framework
&lt;/h2&gt;All the scripts begin by defining the same set of constants and creating the same three system objects.  These objects are common to all the subroutines called by the Main Routine.  This means that you can combine the functionality of these scripts into a single script just by adding the subroutines in.  For example you can take the Install FCS Client script and append AV and Spyware removal subroutines to create a script that uninstalls old AV and Spyware products and installs and configures the new FCS client.  The existing code show these options as:&lt;br /&gt;  * Call FCS_InstallXPSP2Hotfix&lt;br /&gt;  * Call UninstallMcAfee, Trend, Symantec, Sophos, eTrust...&lt;br /&gt;  * Call UninstallAntiSpywareProducts&lt;br /&gt;  * Call InstallFCSAgents&lt;br /&gt;Where  “Call UninstallMcAfee, Trend, Symantec, Sophos, eTrust...” is the name of the appropriate vendor uninstall script (e.g., Call UninstallMcAfeeAV)&lt;br /&gt;&lt;b&gt;Important Note About Script  Configuration&lt;/b&gt;&lt;br /&gt;While there are a number of constants, variables and objects common to all the scripts, some subroutine have installation specific constants.  Make sure to review the constants and variables defined in the subroutines to ensure they have been set properly.   &lt;br /&gt;&lt;h2&gt;
Local Execution
&lt;/h2&gt;The scripts are designed to be executed locally on the client and assume all required resources are in the local directory or executable via the system PATH variable.  They could be configured to execute on a remote system by changing the ThisComputer constant from &amp;quot;.&amp;quot; to the name of a remote system.  This may also require adding a user name and password to the system object creations. &lt;br /&gt;&lt;h2&gt;
Debug Option
&lt;/h2&gt;While the scripts are designed to run silently (display no messages) a debug option is included to assist with interactive testing and troubleshooting.  The second code line in each script defines the debug variable (bDEBUG) and sets it to False. By setting this value to True the scripts will generate a series of status and progress messages to assist with troubleshooting.&lt;br /&gt;It is important to note, that debugging code makes the scripts larger and slower to execute.  Once the scripts have been tested and verified, the debugging code should be removed from the scripts as part of the production deployment. &lt;br /&gt;&lt;h2&gt;
Error Handling
&lt;/h2&gt;Error handling is minimized to keep the code base simple and small. If an error is generated the code will resume execution on the next line.  In some instances it may be advantageous to add error checking to detect failures and generate notifications and/or log events.   &lt;br /&gt;&lt;h2&gt;
Logging Messaging
&lt;/h2&gt;Some of the uninstall scripts log informational events to the application event log. For example,&lt;br /&gt;	WshShell.LogEvent 4, &amp;quot;Uninstalled McAfee AV Framework&amp;quot;&lt;br /&gt;However, the log is not an indication of the success or failure of the uninstall, it is merely shows that an uninstall was attempted.&lt;br /&gt;&lt;h1&gt;
Install Subroutines
&lt;/h1&gt;The package contains two install subroutines:  &lt;b&gt;&lt;i&gt;InstallFCSAgents&lt;/i&gt;&lt;/b&gt; in the  FCS-SampleScript Install FCS Client script and &lt;b&gt;&lt;i&gt;FCS&lt;/i&gt;InstallXPSP2Hotfix_&lt;/b&gt; in the FCS-SampleScript-XPSP2 HotFix Install script. &lt;br /&gt;InstallFCSAgents installs the FCS and MOM agents on the client and triggers a signature update.  It will also install a set of FCS policies on the machine if the system hasn’t receive them via GPO.  &lt;br /&gt;&lt;b&gt;Important Note:&lt;/b&gt; This subroutine contain one constant that must be configured for your specific environment.  The constant &lt;b&gt;&lt;i&gt;CollectionServerName&lt;/i&gt;&lt;/b&gt; must be set to the name of the collection server this client will use.&lt;br /&gt;FCS_InstallXPSP2Hotfix checks for a prerequisite XPSP2 Hotfix (KB914882) and installs it if it is missing. This script does not require any configuration&lt;br /&gt;&lt;h1&gt;
Uninstall Scripts
&lt;/h1&gt;The package contains a number of uninstall scripts for various vendor AV products as well as a consolidated script to uninstall Spyware/Adware products.  All these scripts take one of three possible actions. &lt;br /&gt;1) Calls the uninstall string stored in the SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall registry key. This process looks up the display name string (e.g., “CA eTrust Antivirus”) and invokes the string contained in the UninstallString value.&lt;br /&gt;2) Uses MSIEXE to uninstall the product based on the GUID (e.g. MSIEXE /X{C6F5B6CF-609C-428E-876F-CA83176C021B})&lt;br /&gt;3) Calls the vendors uninstall process&lt;br /&gt; &lt;br /&gt;For newer products the first option usually works fine.  Option two covers vendors that use MSI but bypass the standard installation process so their products do not show up in the uninstall registry key.  The third option covers vendor proprietary installation processes (i.e., do not use MSI) to call vendor specific uninstall scripts.  Whenever possible use option 1; it is implemented in the RegBasedUninstall subroutine.  &lt;br /&gt;&lt;b&gt;Important Note:&lt;/b&gt; This subroutine take one input parameter which must be configured in the uninstall routine.  The value is the &lt;b&gt;&lt;i&gt;Display Name&lt;/i&gt;&lt;/b&gt; of the product as it appears in the uninstall registry key (e.g., “CA eTrust Antivirus”).   Scripts that use this option will usually have a constant defined with this value. For example in the CA eTrust script the constant eTrustDisplayName is set to the display name, &amp;quot;CA eTrust Antivirus&amp;quot;.   However some scripts have the string hard coded into the call statement.  For example, the McAfee script contains this line:  Call RegBasedUninstall(&amp;quot;McAfee VirusScan&amp;quot;) &lt;br /&gt;&lt;b&gt;Warning!&lt;/b&gt;  This routine uses the in string &lt;a href="http://www.codeplex.com/fcscompete/Wiki/View.aspx?title=%20InStr%28%29"&gt; InStr()&lt;/a&gt; function to locate the input value in the registry display name.  It does not do a direct match.  Since all enterprise versions of McAfee contain &amp;quot;McAfee VirusScan&amp;quot; in the display name this routine will find and uninstall multiple versions of the AV client.&lt;br /&gt; &lt;br /&gt;However passing a poorly formed parameter to this routine could have some &lt;b&gt;very bad unintended consequences.&lt;/b&gt; For example, if you pass the letter “a” to this routine it will uninstall every product on the system with an &amp;quot;a&amp;quot; in the display name!&lt;br /&gt;&lt;b&gt;Tip:&lt;/b&gt; Before you uninstall an AV product it is highly recommended that you stop any of the services and dependent services this product uses.  (See the McAfee script for examples of this) &lt;br /&gt; &lt;br /&gt;The &lt;b&gt;&lt;i&gt;UninstallAntiSpywareProducts&lt;/i&gt;&lt;/b&gt; subroutine is essentially the same as the RegbasedUninstall except checks are made for a number of different display name strings.  Depending on the version of the product if may be necessary to alter the display name value in the code line&lt;br /&gt;	-    If InStr(DisplayName, &amp;quot;Spybot - Search &amp;amp; Destroy&amp;quot;) &amp;gt; 0  Then&lt;br /&gt;or create a new section for uninstalling the new version or product.  In some instances it may be necessary to use option 2 or option 3 type actions to uninstall these products if they do not contain uninstall registry values.&lt;br /&gt;&lt;h1&gt;
Testing
&lt;/h1&gt;To test and configure the scripts I’d suggest running them interactively using &lt;b&gt;&lt;i&gt;cscript&lt;/i&gt;&lt;/b&gt; on a test system that has the software you want to remove installed.  First using Regedit to find the DisplayName value of the product you want to uninstall.  Second find the DisplayName constant or hardcoded value in the script and set it to match the value in the registry. For example:  Const eTrustDisplayName = &amp;quot;CA eTrust Antivirus&amp;quot;. Then run the script and see if the product get uninstalled successfully.  &lt;br /&gt;&lt;b&gt;Tip:&lt;/b&gt; Successfully means the product gets uninstalled without any interaction with the user and no reboot.  It should be the software distribution system that controls the reboot not the product uninstall routine.&lt;br /&gt;Some products are more difficult to uninstall than others, for example McAfee has a McAfeeFramework service that needs to be stopped before the AV product can be removed.  The current script uses a MSI ExecQuery to get the service object  and dependencies and stop them but it could just as easily be done with calls to the SC.EXE utility. For example: WshShell.Run &amp;quot;sc.exe stop McAfeeFramework”&lt;br /&gt;&lt;h1&gt;
Troubleshooting
&lt;/h1&gt;It’s virtually impossible to write a script that is going to cover every possible system configuration. There are any number of situations and/or system configurations that could cause the scripts to fail including:&lt;br /&gt;•	WMI configurations&lt;br /&gt;•	Permissions of the account running the script&lt;br /&gt;•	Version of the software being removed&lt;br /&gt;•	Etc.  &lt;br /&gt;Adding some code to display the error when the script fails can help troubleshoot the issue. &lt;br /&gt;
&lt;/div&gt;</description><author>wstack</author><pubDate>Wed, 05 Dec 2007 01:46:54 GMT</pubDate><guid isPermaLink="false">NEW POST: FCS Install and Uninstall Script Tips 20071205014654A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/fcscompete/SourceControl/ListDownloadableCommits.aspx</link><description>Bug Fix</description><author>nsagez</author><pubDate>Tue, 04 Dec 2007 00:47:38 GMT</pubDate><guid isPermaLink="false">Source code checked in 20071204124738A</guid></item></channel></rss>