While setting up Self Service Password Reset (SSPR) in FIM 2010 I initially encountered some problems so I started verifying my configuration. One of the more elaborate configuration steps of the SSPR functionality is the configuration of DCOM and WMI. The FIM scriptbox has some PowerShell scripts who can do it for you: WMI and DCOM (Brad Turner) Nevertheless I choose to do it manually.
If you’re in doubt whether your FIM Service account has all the required permissions you can perform the following steps:
- Make sure your FIM Service account has “allow logon locally” on your FIM Synchronization Server, this is just so we can do the “runas /u cmd”. Besides that this is not a required privilege for SSPR to work.
- Start a cmd and execute: runas /u:domain\fim_svcacct cmd
- In the new cmd, execute: WBEMTEST
- An utility which looks like this will be launched:
- Connect to root\MicrosoftIdentityIntegrationServer
- Click Query…
- Execute this query: select * from MIIS_CSObject WHERE Domain='domain' and Account='fim_svcacct'
- Double click the result and copy paste the MaGuid and PartitionGuid to a temporary notepad window. You can easily copy them by selecting the property and choosing “Edit Property”.
- Back to “Query….”: execute the following query:SELECT * FROM MIIS_ManagementAgent WHERE guid='{ma guid}'
- You should see your AD MA
- Get the __PATH of that object (e.g. \\FIMSERVER\root\MicrosoftIdentityIntegrationServer:MIIS_ManagementAgent.Name="AD")
- Back to WBEMTEST, choose “Execute Method”
- Type the entire path from (11)
- Change the Method to “GetServerStatus”
- Click “Edit In Paramaters…”
- Change PartitionGuid: Edit Property –> Not null –> {partition guid} –> save property –> save object
- Execute
- You should see success as return value:
- Don’t forget to edit out the parameter!
As usual I didn’t figured this out all by myself. The procedure was found at http://social.technet.microsoft.com/Forums/en-US/ilm2/thread/618a78ae-e150-4269-a2eb-5ccc40229e7e and originally provided by Anthony Ho. It’s more or less a copy paste of his information. Thanks Anthony!
4 Response to FIM: SSPR: Verify WMI Permissions
What does it mean if the query turns up empty?
All Security settings for dcom and and wmi are set for the service account and wmi is enabled in the firewall
Thanks but, well, you tell what we should get if all is AOK but not much help when is not AOK.
Some information for each step if we do not see the expected results would be more helpful.
I understand your frustration in troubleshooting this particular feature. However this article is meant to help with troubleshooting the password reset functionality in general. Meaning if this test (this post) show you have errors, then the next step is to take the TechNet documentation again and triplecheck the WMI configuration steps.
Hope that helps...
My FIM implementation appears to work fine, passwords are reset - but this query still returned 0 results
Add Your Comment