Mailboxes for users from different domains do not appear when performing manual or scheduled scan within Forefront Protection for Exchange

Sometimes on a Mailbox server we see that customers have users present that are not members of the same domain as the Mailbox server.

 

When this happens, these users will not appear to Forefront and it will not be possible to scan their mailboxes using either the Manual or Scheduled scans, (Real-time scanning will still be performed).

 

To work around this issue, we must use the Exchange PowerShell, together with the Forefront PowerShell commandlets, and then run the Manual or Scheduled scan also using PowerShell.

 

To do this you should first open an instance of the Exchange PowerShell on the server where Forefront is installed. Then we need to add the Forefront PowerShell commandlets to this PowerShell instance using the command:- “Add-PsSnapin FSSPSSnapin”.

 

Now that we have the Forefront PowerShell commandlets within our PowerShell instance, we next need to make all of the other domains visible. To do this, we use the Exchange PowerShell command:- “Set-ADServerSettings –ViewEntireForest $true”.

 

At this point, user from different domains that are located on this server, should be visible.

 

Now we should be able to use this PowerShell instance to configure the scheduled and/or manual scans within Forefront. The PowerShell commandlets that are probably the most interesting are:-

Set-FseScheduledScan  -  Sets the configuration of the scheduled scan.

Get-FseScheduledScan  -  Retrieves the configuration of the scheduled scan.

Start-FseScheduledScan  -  Starts a scan of the mailbox store immediately.

Stop-FseScheduledScan  -  Halts a scan of the mailbox store that is currently running.

 

Set-FseOnDemandScan  -  Sets the configuration of the on-demand scan.

Get-FseOnDemandScan  -  Retrieves the configuration settings of the on-demand scan.

Start-FseOnDemandScan  -  Starts the on-demand scan.

Stop-FseOnDemandScan  -  Stops the on-demand scan.

Suspend-FseOnDemandScan  -  Pauses the currently running on-demand scan.

Resume-FseOnDemandScan  -  Resumes a paused on-demand scan.

 

 

You can find further details of these and other Forefront Protection for Exchange related commandlets at the following location:-

Using Windows PowerShell 

Or by running one of the following PowerShell commands:-

Get-Help commandlet 

Get-Help commandlet –examples

Get-Help commandlet –detailed

Get-Help commandlet –full

 

 

Any comments and/or constructive feedback are most welcome.