Tips for estimating OMPM scanning times

A common question among OMPM customers is “How do I estimate how long OMPM will take to run?” Though we don’t have a simple calculation to provide, we do have some tips to share from consultants and customers.

First, we’d like to share some customer advice from M. Nothnagel, who posted his estimation method in the Application Compatibility forums on TechNet. He uses a combination of light scans and deep scans to estimate completion time. You can find his forum post here:

https://social.technet.microsoft.com/Forums/en/officeappcompat/thread/fa70f627-a208-455a-934d-dc1e39106d34

A Microsoft Premier Field Engineer, Lee Palmer, suggests the following tip to speed up scanning:

I know a performance gain is not scanning for 64-bit macro compatibility. This can make a real difference in the scan times. As we recommend 32-bit Office and most customers are not deploying 64-bit, then it is not really necessary to have this option set in the ini file.

And Curtis Sawin, a Senior Consultant, shared his tips for using Robocopy to estimate scan times:

In general, a big impact on the time it takes to perform a scan is how “close” the scanning computer is to the target file share. You can use “tracert” to find out how many hops are between the scanning computer and file share. The fewer hops, the faster scan results.

Additionally, what I like to do is provide an estimate of how long a scan will take, by:

  1. Identify some folders to scan as a pilot scan (try to get at least 500-1000 files).  
  2. Configure offscan.ini to scan the pilot folders.
  3. Determine the number of files in the pilot folder list.
  4. Execute the pilot scan.
  5. Determine the duration of the pilot scan.
  6. Determine the number of files in a production scan.
  7. Configure offscan.ini to scan the production folders.
  8. Estimate the amount of time the production scan will take based on the data from steps 3, 5, and 6.

I’ve used robocopy in a batch file to determine the number of files (steps 3 and 6). Below is the contents of such a batch file:

robocopy %cd% %cd% /xj /w:5 /r:2 /s /ndl /l /if *.xls /if *.xlt /if *.xla /if *.xlc /if *.xlm /if *.ppt /if *.pot /if *.pps /if *.ppa /if *.doc /if *.dot /if *.wiz >> "%userprofile%desktopDocumentTotals.log"

This approach helps customers “see” how long a scan will take, and gives them a better comfort level and the ability to plan…or to scale out and use more than one scanning computer.

The above steps can be done from computers that are close and far from the file share to demonstrate the difference the number of hops makes.