<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Karchworld Identity</title><subtitle type="html">Adventures in identity management, federation, directory services, software engineering, computer science... </subtitle><id>http://blogs.msdn.com/b/karchworld_identity/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b/karchworld_identity/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2012-08-02T12:59:00Z</updated><entry><title>Automating Rebuilding of FIM Service Database Full-Text Index Catalogs</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2013/05/02/automating-rebuilding-of-fim-service-database-full-text-index-catalogs.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2013/05/02/automating-rebuilding-of-fim-service-database-full-text-index-catalogs.aspx</id><published>2013-05-02T13:19:25Z</published><updated>2013-05-02T13:19:25Z</updated><content type="html">&lt;p&gt;A recommend practice is the regular rebuilding of the full text catalog for the FIM Service database, since this optimizes performance of FIM queries.&amp;nbsp;Without attention to maintaining this catalog one may experience SQL timeouts occurring leading to failures in FIM requests.&lt;br /&gt;&lt;br /&gt;This blog entry contains the instructions on how to set up the automation to rebuild the full-text indexes at 1:00am each night.&lt;/p&gt;
&lt;h4&gt;Implementation Steps&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Login a workstation or server that has Microsoft SQL Server Management Studio installed on it with an account that has administrative rights on the SQL server.&lt;/li&gt;
&lt;li&gt;Launch SQL Server Management Studio.&lt;/li&gt;
&lt;li&gt;From the SQL Servicer Management Studio&amp;rsquo;s Object Explorer tree view on the left, navigate Databases&amp;nbsp;--&amp;gt; FIMService --&amp;gt; Storage --&amp;gt; Full Text Catalogs&lt;/li&gt;
&lt;li&gt;Right-click on the ftCatalog node under Full Text Catalogs and select Properties. The Full-Text Catalog Properties window will appear.&lt;/li&gt;
&lt;li&gt;On the Full-Text Catalog Properties window, select the Populate Schedule item from the menu on the left and then click the New button. The New Full-Text Indexing Catalog Schedule dialog will appear.&lt;/li&gt;
&lt;li&gt;On the New Full-Text Indexing Catalog Schedule dialog, enter in the following values:&lt;br /&gt;&amp;bull;&amp;nbsp;Name: Nightly Rebuild of Indexes&lt;br /&gt;&amp;bull;&amp;nbsp;Enabled: checked &lt;br /&gt;&amp;bull;&amp;nbsp;Schedule Type: Reoccuring&lt;br /&gt;&amp;bull;&amp;nbsp;Frequency:&lt;br /&gt;&amp;bull;&amp;nbsp;Occurs: Daily&lt;br /&gt;&amp;bull;&amp;nbsp;Recurs every: 1 day&lt;br /&gt;&amp;bull;&amp;nbsp;Daily frequency:&lt;br /&gt;&amp;bull;&amp;nbsp;Occurs once at: 01:00 AM&lt;br /&gt;&amp;bull;&amp;nbsp;Duration&lt;br /&gt;&amp;bull;&amp;nbsp;Start date: (today&amp;rsquo;s date)&lt;br /&gt;&amp;bull;&amp;nbsp;No end date: selected&lt;/li&gt;
&lt;li&gt;On the New Full-Text Indexing Catalog Schedule dialog, click the OK button. The New Full-Text Indexing Catalog Schedule dialog will close.&lt;/li&gt;
&lt;li&gt;On the Full-Text Catalog Properties window, click the OK button. The Full-Text Catalog Properties window will close.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415624" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Automating the Clearing of a FIM Synchronization Server's of Run History</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2013/05/02/automating-the-clearing-of-run-history.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2013/05/02/automating-the-clearing-of-run-history.aspx</id><published>2013-05-02T13:09:00Z</published><updated>2013-05-02T13:09:00Z</updated><content type="html">&lt;p&gt;As many of you know, periodically&amp;nbsp;clearing of the FIM Synchronization Server's Run History is not only a good idea, it's a recommended practice. Since the run history is stored in the FIMSynchronizationService database, doing so serves to minimize the growth of it, which otherwise can grow to extreme sizes after a period of time if left unchecked. Doing so not only conserves space, but also serves to ensure that there is no degradation of performance in the moving between Management Agents and Operations tabs in the Synchronization Server Console. Anyway, enough with the sermon to the choir. &lt;br /&gt;&lt;br /&gt;This blog entry contains three parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Part I -&amp;nbsp;Instructions on how to set up the automate the clearing of the run history on the first of each month.&lt;/li&gt;
&lt;li&gt;Part II - The scheduled task XML file that you can simply import into yoru scheduled task library and turn on&lt;/li&gt;
&lt;li&gt;Part III - The PowerShell script that will the scheduled task will call to clear the logs.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Part I - Instructions:&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Save the XML document in Part II to a file called FIM Clear History Runs.xml&lt;/li&gt;
&lt;li&gt;Save the PowerShell document in Part III to a file called FIMClearRuns.ps1&lt;/li&gt;
&lt;li&gt;Login the FIM Synchronization server with an account that is a member of the Domain Admins security group.&lt;/li&gt;
&lt;li&gt;Open Windows Explorer and create a new folder called Scripts under the following path: C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service. (Note: Do not change the location of this folder without also updating the XML file in Part II)&lt;/li&gt;
&lt;li&gt;Into the previously created folder, copy the following files from the deployment package:&lt;br /&gt;&amp;bull;&amp;nbsp;FIMClearRuns.ps1&lt;br /&gt;&amp;bull;&amp;nbsp;FIM Clear History Runs.xml&lt;/li&gt;
&lt;li&gt;Open the Windows Task Scheduler by navigating, Start --&amp;gt; Administrator Tools --&amp;gt; Task Scheduler.&lt;/li&gt;
&lt;li&gt;From the tree view on the left of the Task Scheduler, select and then right-click on the Task Scheduler Library entry and select New Folder. In the textbox on the modal dialog that appears, enter in the name FIM Automation and then click the OK button. The dialog will close and the folder will be created.&lt;/li&gt;
&lt;li&gt;From the tree view on the left of the Task Scheduler, select and then right-click on the newly created FIM Automation folder and select Import Task. An Open File dialog will appear.&lt;/li&gt;
&lt;li&gt;From the Open File dialog, navigate to the FIM Incremental Sync.xml file located in the following folder: C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Scripts. The Create Task dialog will appear.&lt;/li&gt;
&lt;li&gt;On the Create Task dialog, click the Change User button and update the service account that should be used to execute the PowerShell file. I recommend the user of the FIM Sync Service account.&lt;/li&gt;
&lt;li&gt;On the Create Task dialog, click OK button. A dialog will appear to prompt you for the password for the service account specified to run this task. Enter the password for this account and click the OK button. Both dialogs will then close and the scheduled task ought to appear in the list under this folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;Part II - FIM Clear History Runs.xml&amp;nbsp;&lt;/h4&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;?xml version="1.0" encoding="UTF-16"?&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;Task version="1.3" xmlns="&lt;a href="http://schemas.microsoft.com/windows/2004/02/mit/task"&gt;http://schemas.microsoft.com/windows/2004/02/mit/task&lt;/a&gt;"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;RegistrationInfo&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Date&amp;gt;2013-04-12T12:59:00.5037425&amp;lt;/Date&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Author&amp;gt;NMIS\karcher_adm&amp;lt;/Author&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;/RegistrationInfo&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;Triggers&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CalendarTrigger&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StartBoundary&amp;gt;2011-02-28T01:00:00&amp;lt;/StartBoundary&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ScheduleByMonth&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DaysOfMonth&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Day&amp;gt;1&amp;lt;/Day&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DaysOfMonth&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Months&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;January /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;February /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;March /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;April /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;May /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;June /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;July /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;August /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;September /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;October /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;November /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;December /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Months&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ScheduleByMonth&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/CalendarTrigger&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;/Triggers&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;Principals&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Principal id="Author"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;UserId&amp;gt;DOMAIN\FIM-SYNC-ACCOUNT&amp;lt;/UserId&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;LogonType&amp;gt;Password&amp;lt;/LogonType&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RunLevel&amp;gt;HighestAvailable&amp;lt;/RunLevel&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Principal&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;/Principals&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;Settings&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MultipleInstancesPolicy&amp;gt;IgnoreNew&amp;lt;/MultipleInstancesPolicy&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DisallowStartIfOnBatteries&amp;gt;false&amp;lt;/DisallowStartIfOnBatteries&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StopIfGoingOnBatteries&amp;gt;false&amp;lt;/StopIfGoingOnBatteries&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AllowHardTerminate&amp;gt;true&amp;lt;/AllowHardTerminate&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StartWhenAvailable&amp;gt;true&amp;lt;/StartWhenAvailable&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RunOnlyIfNetworkAvailable&amp;gt;false&amp;lt;/RunOnlyIfNetworkAvailable&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;IdleSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StopOnIdleEnd&amp;gt;true&amp;lt;/StopOnIdleEnd&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RestartOnIdle&amp;gt;false&amp;lt;/RestartOnIdle&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/IdleSettings&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;AllowStartOnDemand&amp;gt;true&amp;lt;/AllowStartOnDemand&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Enabled&amp;gt;true&amp;lt;/Enabled&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Hidden&amp;gt;false&amp;lt;/Hidden&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RunOnlyIfIdle&amp;gt;false&amp;lt;/RunOnlyIfIdle&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DisallowStartOnRemoteAppSession&amp;gt;false&amp;lt;/DisallowStartOnRemoteAppSession&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;UseUnifiedSchedulingEngine&amp;gt;false&amp;lt;/UseUnifiedSchedulingEngine&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;WakeToRun&amp;gt;false&amp;lt;/WakeToRun&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ExecutionTimeLimit&amp;gt;PT4H&amp;lt;/ExecutionTimeLimit&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Priority&amp;gt;7&amp;lt;/Priority&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;/Settings&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;Actions Context="Author"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Exec&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Command&amp;gt;powershell.exe&amp;lt;/Command&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Arguments&amp;gt;-command "&amp;amp;amp; 'C:\Program Files\Microsoft Forefront Identity Manager\Scripts\FIMClearRuns.ps1'"&amp;lt;/Arguments&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Exec&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp; &amp;lt;/Actions&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;lt;/Task&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;h4&gt;Part III - FIMClearRuns.ps1&lt;/h4&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;####################################################################################################&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;# Script Name:&amp;nbsp;FIMClearRuns.ps1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;# Author:&amp;nbsp;Erich Karch&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;# Company:&amp;nbsp;Microsoft Corporation&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;# Date:&amp;nbsp;&amp;nbsp;03/24/2011&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;# Description:&amp;nbsp;Performs a backup of the FIM run history then clears the runs&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;####################################################################################################&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;# Define Variables&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;$filePath = "C:\Program Files\Microsoft Forefront Identity Manager\Logs\Run History"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;# Script Logic&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;$today = Get-Date&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;[datetime]$clearRunsEndingBefore = $today.ToString("yyyy-MM-01")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;$fileName = "Run History for " + $clearRunsEndingBefore.AddDays(-1).ToString("yyyy-MM") + ".log"&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;if ((Test-Path $filePath) -eq $false)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;New-Item $filePath -type Directory&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;New-Item -path $filePath -name $fileName -type File&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;$runs = Get-WmiObject -Class MIIS_RunHistory -Namespace root/MicrosoftIdentityIntegrationServer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;$runs | ForEach-Object {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;$run = $_&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;If ([datetime]$run.RunEndTime -lt $clearRunsEndingBefore)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;Write-Host ('Exporting ' + $run.RunEndTime)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp;$run.RunDetails().ReturnValue &amp;gt;&amp;gt; $filePath\$fileName&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;$mc = Get-WmiObject MIIS_Server -Namespace 'ROOT\MicrosoftIdentityIntegrationServer'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;$inParams = $mc.psbase.GetMethodParameters('ClearRuns')&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;$inParams.EndingBefore = $clearRunsEndingBefore&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;$mc.psbase.InvokeMethod('ClearRuns', $inParams, $null)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415621" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author><category term="FIM Automation" scheme="http://blogs.msdn.com/b/karchworld_identity/archive/tags/FIM+Automation/" /></entry><entry><title>Powershell: Create 1000 Test User Accounts</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2013/04/01/powershell-create-1000-test-user-accounts.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2013/04/01/powershell-create-1000-test-user-accounts.aspx</id><published>2013-04-01T18:59:00Z</published><updated>2013-04-01T18:59:00Z</updated><content type="html">&lt;p&gt;For those looking for populate a test domain -- oooh with say a 1000 users with distinct user attribute values -- here is a script that I think will do you just fine:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;hr style="width: 720px;" width="720" /&gt;
&lt;p&gt;Import-Module ActiveDirectory&lt;/p&gt;
&lt;p&gt;&amp;nbsp;$total = 1000&lt;br /&gt;&amp;nbsp;for ($userIndex=0; $userIndex -lt $total; $userIndex++) &lt;br /&gt;&amp;nbsp;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;$userID = "{0:0000}" -f ($userIndex + 1)&lt;br /&gt;&amp;nbsp;&amp;nbsp;$userName = "test.user$userID"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;Write-Host "Creating user" ($userIndex + 1) "of" $total ":" $userName&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;New-ADUser `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-AccountPassword (ConvertTo-SecureString "AAaaAAaa11!!11" -AsPlainText -Force) `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-City "City" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Company "Company" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Country "US" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Department "Department" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Description ("TEST ACCOUNT " + $userID + ": This user account does not represent a real user and is meant for test purposes only")`&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-DisplayName "Test User ($userID)" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Division "Division" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-EmailAddress "&lt;a href="mailto:$userName@nmis.gwan.npa.ic.gov"&gt;$userName@karchworld.local&lt;/a&gt;" `&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;-EmployeeNumber "$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-EmployeeID "ISED$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Enabled $true `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Fax "703-555-$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-GivenName "Test" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-HomePhone "703-556-$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Initials "TU$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-MobilePhone "703-557-$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Name "Test User ($userID)" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Office "Office: $userID"`&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-OfficePhone "703-558-$userID" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Organization "Organization" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Path "OU=Users,,DC=KARCHWORLD,DC=LOCAL" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-POBox "PO Box $userID"`&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-PostalCode $userID `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-SamAccountName $userName `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-State "VA - Virginia" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-StreetAddress "$userID Any Street" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Surname "User ($userID)" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-Title "Title" `&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;-UserPrincipalName "&lt;a href="mailto:$userName@nmis.gwan.npa.ic.gov"&gt;$userName@karchworld.local&lt;/a&gt;"&lt;br /&gt;&amp;nbsp;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10406760" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>FIM 2010 Kerberos Overview &amp; Setup</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2013/01/22/fim-2010-kerberos-overview-amp-setup.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2013/01/22/fim-2010-kerberos-overview-amp-setup.aspx</id><published>2013-01-22T18:25:00Z</published><updated>2013-01-22T18:25:00Z</updated><content type="html">&lt;p&gt;I don't usually do this, but I came across just a great article on how FIM 2010&amp;nbsp;utilizes Kerberos for securing communications between its components, that I thought I would share it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://social.technet.microsoft.com/wiki/contents/articles/3385.aspx"&gt;FIM 2010 Kerberos Setup by Thomas Vuylsteke&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;...What a great piece of IP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10387265" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Automating FIM Syncs but "A Specified Logon Session Does Not Exist!" WTF does that mean?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2013/01/10/a-specified-logon-session-does-not-exist-wtf-does-that-mean.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2013/01/10/a-specified-logon-session-does-not-exist-wtf-does-that-mean.aspx</id><published>2013-01-10T18:42:00Z</published><updated>2013-01-10T18:42:00Z</updated><content type="html">&lt;p&gt;Personally, I think it would be really nice -- and perhaps is long overdue -- for the FIM Synchronization engine to provide functionality to allow for the automated execution of run profiles on a schedule, but until that sweet day, we need to use the standard process of exectuing the run profiles via a script,&amp;nbsp;initiated from a scheduled task. &lt;br /&gt;&lt;br /&gt;Anyway, I digress...&lt;/p&gt;
&lt;p&gt;This morning, while attempting to create a scheduled task to run my automation script&amp;nbsp;(under the security context of a service account WITH a persisted password), this usually routine effort was thwarted with the following error message when I attempted to save it:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;em&gt;An error has occurred for task [NAME OF SCHEDULED TASK]. Error Message: The following error was reported: A specified logon session does not exist. It may already have been terminated.&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;What this jibber-jabber is saying is that there is a local policy preventing you from persisting (i.e. storing) the&amp;nbsp;specified service account's password.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;To verify this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open up your Local Security Policies.&lt;/li&gt;
&lt;li&gt;Navigate&amp;nbsp;to Security&amp;nbsp;Settings --&amp;gt; Local Policies --&amp;gt; Security Options&lt;/li&gt;
&lt;li&gt;Open up the policy, &lt;em&gt;Network access: Do not allow storage of passwords and credentials for network authentication&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;If that locally is enabled, you will need to disable it in order to persist the password for your service account.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As usual, if your ability to change it is grayed out otherwise unavailable, you either do not have rights to change the policy or the policy is controlled by GPO. Either way, you will need to disable this policy in order to get past this.&lt;/p&gt;
&lt;p&gt;Good luck!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10383950" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>FIM 2010 R2 SSPR Portals - 503: Service Unavailable / App Pool Services Stopping</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/09/fim-2010-r2-sspr-portals-503-service-unavailable-app-pool-services-stopping.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/09/fim-2010-r2-sspr-portals-503-service-unavailable-app-pool-services-stopping.aspx</id><published>2012-10-09T11:53:03Z</published><updated>2012-10-09T11:53:03Z</updated><content type="html">&lt;p&gt;&lt;span style="color: black; font-family: Tahoma; font-size: x-small;" color="black" face="Tahoma" size="2"&gt;&lt;span style="font-size: 10pt;" dir="ltr"&gt;This is a quick one and one I am going to jot down because sometimes the resolution to issues is really quite simple. &lt;br /&gt;&lt;br /&gt;Last night, I deployed SSPR onto its own server, and in my validation of the implementation, each time I accessed one of the SSPR portals I would get a 503 error (i.e. service unavailable) with no corresponding event entry getting logged. Stepping through it, I notice that the app pool services were running, but when I would hit either the registration or reset portals, the services would stop. Weird eh?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Weird yes, but simple to fix. Check to make sure that the password for the app pool service account is correct. Reset it in AD and/or reset it in IIS Manager to bring them in-line. $10.00 says that this fixes the issue. &lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: Tahoma; font-size: x-small;" color="black" face="Tahoma" size="2"&gt;&lt;span style="font-size: 10pt;" dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: black; font-family: Tahoma; font-size: x-small;" color="black" face="Tahoma" size="2"&gt;&lt;span style="font-size: 10pt;" dir="ltr"&gt;&lt;br /&gt; Hope this helps if you have this too&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10357724" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Installing FIM SSPR Portals &amp; Error: "Unable to connect to the Internet Information Server (Error: -2147221164)" </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/02/installing-fim-sspr-portals-amp-error-quot-unable-to-connect-to-the-internet-information-server-error-2147221164-quot.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/02/installing-fim-sspr-portals-amp-error-quot-unable-to-connect-to-the-internet-information-server-error-2147221164-quot.aspx</id><published>2012-10-03T01:20:27Z</published><updated>2012-10-03T01:20:27Z</updated><content type="html">&lt;p&gt;This evening, I was installing the FIM 2010 R2 Self-Server Password Register and Reset portals on a server when I received the following error (sorry I didn't take a screen-shot):&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="font-size: medium;"&gt;&lt;em&gt;"Unable to connect to the Internet Information Server (Error: -2147221164)"&lt;/em&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;A quick Bing search of the error code resulted in nothing -- I didn't bother with Google -- and being that the error description is not bad but not too helpful either, I thought I'd&amp;nbsp;whip together a quick blog entry on what the issue was in case I (or whomever reading this) run into it again. Turns out, the guys who built the server deployed the wrong IIS server role services. If you receive this error,&amp;nbsp;enumerate the following&amp;nbsp;IIS 7.5 web server and management tool&amp;nbsp;role services to make sure they are deployed:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Required IIS 7.5 Web Server Role Services&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th colspan="1"&gt;Role service&lt;/th&gt;&lt;th colspan="1"&gt;Required features&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;Common HTTP Features&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;Static Content&lt;/li&gt;
&lt;li class="unordered"&gt;Default Document&lt;/li&gt;
&lt;li class="unordered"&gt;Directory Browsing&lt;/li&gt;
&lt;li class="unordered"&gt;HTTP Errors&lt;/li&gt;
&lt;li class="unordered"&gt;HTTP Redirection&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;Application Development&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;ASP .NET&lt;/li&gt;
&lt;li class="unordered"&gt;.NET Extensibility&lt;/li&gt;
&lt;li class="unordered"&gt;ISAPI Extensions&lt;/li&gt;
&lt;li class="unordered"&gt;ISAPI Filters&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;Health and Diagnostics&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;HTTP Logging&lt;/li&gt;
&lt;li class="unordered"&gt;Request Monitor&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;Security&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;Basic Authentication&lt;/li&gt;
&lt;li class="unordered"&gt;Windows Authentication&lt;/li&gt;
&lt;li class="unordered"&gt;Request Filtering&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;Performance&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;Static Content Compression&lt;/li&gt;
&lt;li class="unordered"&gt;Dynamic Content Compression&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;br /&gt;Required IIS 7.5 Management Tools Role Services&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;th colspan="1"&gt;Role service&lt;/th&gt;&lt;th colspan="1"&gt;Required features&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;IIS Management Console&lt;/p&gt;
&lt;/td&gt;
&lt;td colspan="1"&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;IIS 6 Management Compatibility&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;ul&gt;
&lt;li class="unordered"&gt;IIS 6 Metabase Compatibility&lt;/li&gt;
&lt;li class="unordered"&gt;IIS 6 WMI Compatibility&lt;/li&gt;
&lt;li class="unordered"&gt;IIS 6 Scripting Tools&lt;/li&gt;
&lt;li class="unordered"&gt;IIS 6 Management Console&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10355347" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>﻿Forefront Identity Manager Synchronization Service is having trouble contacting SQL server -- Bah! </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/01/forefront-identity-manager-synchronization-service-is-having-trouble-contacting-sql-server-bah.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2012/10/01/forefront-identity-manager-synchronization-service-is-having-trouble-contacting-sql-server-bah.aspx</id><published>2012-10-01T18:47:15Z</published><updated>2012-10-01T18:47:15Z</updated><content type="html">&lt;p&gt;When installing FIM, do you ever get one of these: &lt;br /&gt;&lt;br /&gt;"Forefront Identity Manager Synchronization Service is having trouble contacting SQL server using the provided information. Please note that Forefront Identity Manager Synchronization Service requires Microsoft SQL Server 2008 SP1 or better. Verify the version, server and instance names as well as firewall settings and try again."&lt;/p&gt;
&lt;p&gt;99 times out of 100, the issue turns outt hat you&amp;nbsp;fat-fingered or simply have the server and instance names wrong. However, for that 1 time out of a 100, it can be frustrating to debug. I ran into the one of these times this morning and thought I'd put together a check list for the next I (or you) need it: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Double check that you indeed did not fat-finger or simpy are using the wrong server and host names.&lt;/li&gt;
&lt;li&gt;Verify that you can access the server via an ODBC connection going to: Administrator Tools --&amp;gt; Data Sources --&amp;gt; User DSN tab --&amp;gt; Add --&amp;gt; Fill in the server information --&amp;gt; Click "Test Connection"&lt;/li&gt;
&lt;li&gt;Check the firewall rules / See if you can telnet to the server via: telnet XX.XX.XX.XX: 1433&lt;/li&gt;
&lt;li&gt;Disable IESC for Administrators if it is on&lt;/li&gt;
&lt;li&gt;Verify that Full Text Server is installed on the SQL server.&lt;/li&gt;
&lt;li&gt;Verify that SQL Agent and Browser (if you are not using the default instance) are running.&lt;/li&gt;
&lt;li&gt;Verify that the SQL Native Client is installed.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10354865" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>SQL Server MA Resulting throwing "stopped-server" Exception</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2012/09/27/sql-server-ma-resulting-throwing-quot-stopped-server-quot-exception.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2012/09/27/sql-server-ma-resulting-throwing-quot-stopped-server-quot-exception.aspx</id><published>2012-09-27T23:13:15Z</published><updated>2012-09-27T23:13:15Z</updated><content type="html">&lt;p&gt;Last night, the one of our SQL MAs stopped working correctly with no apparent reason. Whatever happened, the result was that every time we run a full import on one of our SQL MAs, it reports a status of &lt;strong&gt;stopped-server&lt;/strong&gt;. Literally, running a full import was causing the FIM Synchronization service to stop! Bizzare &amp;nbsp; &lt;/p&gt;
&lt;p&gt;Looking in the Event Viewer showed:&lt;/p&gt;
&lt;p&gt;The Forefront Identity Manager Synchronization Service service terminated unexpectedly. It has done this XX time(s). The following corrective action will be taken in 6000 milliseconds.&lt;/p&gt;
&lt;p&gt;Restarting the service did nothing. Refreshing the schema did nothing. Installing the latest hotfixes did nothing and all of the other MAs were operating normally. No other errors are being logged and there is nothing in the SQL Server logs either.&amp;nbsp; Frustrating! &lt;br /&gt;&lt;br /&gt;Luckily, clearing the connector space seemed to address the issue. I wish I would write why or what caused the issue, but I can tell you that is what fixed it -- at least for me. If you are reading this because you came across the same issue, I am hoping it will fix it for you as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="margin: 0pt 0pt 0pt 36pt;"&gt;&lt;span style="font-family: Times New Roman; font-size: x-small;" face="Times New Roman" size="2"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0pt 0pt 0pt 36pt;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Looking in Event Viewer, the following 7031 Service Control Manager error event is recorded&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10353948" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Hiding the Display of Domain Information in the FIM 2010 Password Reset Portal</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/karchworld_identity/archive/2012/08/02/suppressing-the-display-of-domain-information-in-the-fim-2010-password-reset-portal.aspx" /><id>http://blogs.msdn.com/b/karchworld_identity/archive/2012/08/02/suppressing-the-display-of-domain-information-in-the-fim-2010-password-reset-portal.aspx</id><published>2012-08-02T16:59:00Z</published><updated>2012-08-02T16:59:00Z</updated><content type="html">&lt;p&gt;One of the features of FIM 2010 R2 is that the password reset portal is now anonymously accessible; therefore, extranet &amp;ndash; including even internet &amp;ndash; users can register and reset their passwords from a non-domain joined machine. If I am not mistaken, this was one of the most requested enhancements to the product and its inclusion in in R2 is huge.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;On one of my current projects, we are establishing a gateway environment which will host UAG published applications with which the general public and government employees can collaborate and exchange information. To facilitate the IdM components of this (e.g. the request for new accounts, etc.), we are leveraging FIM 2010 R2 and are publishing both the Password Reset portal to the internet.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Anyway, in using the SSPR portals in this manner, there is one security related issue to which the government understandably objects; the portal displays of the domain name of the authenticated user account. For non-Public Sector folks, exposing the name of the domain is a security no-no&lt;br /&gt;&amp;nbsp;&lt;br /&gt;See below (the actual domain name has been redacted):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-44-37/6082.image001.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-44-37/6082.image001.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;At first, we tried to parse out the exposure domain name through use of UAG AppWrapper functionality; however, for some reason that only the product team can explain, if you tamper with the displayed domain name value on that form, it breaks the ability for users to register.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Luckily, we found an acceptable work around. You can suppress the (logged in as:&amp;nbsp; DOMAIN\USER) line entirely in its CSS. Here where you do it:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open up the &lt;strong&gt;Registration.css&lt;/strong&gt; style sheet located in &lt;strong&gt;Program Files\Microsoft Forefront Identity Manager\2010\Password Registration Portal\css&lt;/strong&gt;&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scroll down to the rule: .&lt;strong&gt;registrationGatewayContainerDiv span div span i&lt;/strong&gt;&lt;br /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Change its &lt;strong&gt;display&lt;/strong&gt; declaration value from &lt;strong&gt;block&lt;/strong&gt; to &lt;strong&gt;none&lt;/strong&gt; (i.e. display:block -&amp;gt; display:none)&lt;br /&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Save the file.&lt;br /&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open the portal and you ought to see:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-44-37/4477.image002.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-44-37/4477.image002.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That is all what is necessary. Unfortunately though, this only hides the block from being rendered in the browser; the HTTP response is still returning the(logged in as:&amp;nbsp; DOMAIN\USER) line in its HTML.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;But unfortunately, this is all what can be done at this point.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Good luck&amp;hellip; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10336236" width="1" height="1"&gt;</content><author><name>Erich Karch</name><uri>http://blogs.msdn.com/erich.karch_4000_hotmail.com/ProfileUrlRedirect.ashx</uri></author></entry></feed>