Office IT Pro Blog | Springboard Series
The Resource for Office Desktop IT Professionals

Getting started with OMPM 2010

Getting started with OMPM 2010

  • Comments 33

To celebrate the release of the Office Migration Planning Manager (OMPM) for Office 2010, I will be creating a series of blog posts that describe OMPM installation, basic and advanced usage, Q&A, and any other topics that come up. Do you have OMPM (or Office Environment Assessment Tool [OEAT]) questions that you’d like to see answered in this blog? Please leave your ideas in the Comments of this blog post for future consideration.

For this first post, I’ll walk you through a basic installation of OMPM using SQL Express 2008 R2 as the database back end. I’ll also scan my laptop to assess my old Office files and go over some of the initial scan results.

Let’s get started!

1.       For this walk-through, I will be using the Access reporting tool to view the OMPM scan data.  Therefore, make sure that you have Access 2007 or later installed on the computer where you install OMPM.

2.       Download and install OMPM from the Download Center. The download process extracts the OMPM files to a folder of your choice. I will be using C:\OMPM for this walk-through.

3.       Install SQL 2008 R2 Express. You can choose either the 32-bit or 64-bit edition. Remember which edition you install so that you can choose the same edition for the components you install in Steps 5 and 6.

4.       The setup process for SQL 2008 R2 Express takes a while to download and extract files. Accept the various prompts and wait for the opening page of SQL Express 2008 R2, called the SQL Server Installation Center, to appear after extraction is complete. Then, follow these steps:

a.       In the SQL Server Installation Center, click New installation or add features to an existing installation.

b.      In the SQL Server 2008 R2 Setup wizard, read the license terms and accept them, and then click Next.

c.       On the Feature Selection page, accept the defaults (all checkboxes selected). Click Next.

d.      On the Instance Configuration page, create a named instance called OMPM. Click Next.

e.      On the Server Configuration page, accept default service accounts. Click Next.

f.        On the Database Engine Configuration page, accept the default authentication mode (Windows authentication mode). Your user account will be shown as a SQL Server administrator. Click Next.

g.       On the Error Reporting page, click the check box if you want to send error reports to Microsoft. Otherwise, just click Next.

h.      Wait for the installation process to finish, and then close the wizard and the SQL Server Installation Center.

5.       Install the Microsoft SQL Server 2005 Backward Compatibility Components in the Microsoft SQL Server 2008 Feature Pack. Accept the defaults for all options.

6.       Install the Microsoft SQLXML 4.0 SP1 pack, in the Microsoft SQL Server 2008 Feature Pack. Accept the defaults for all options.

 

Now that you have the SQL components installed, you are ready to create a database for storing OMPM results. Take the following steps:

1.       In an Administrator command prompt window, navigate to the folder where you installed OMPM, and then open the Database folder.

2.       Type the following command to create a database called ompmdb for the ompm SQL instance:

createdb.bat .\ompm ompmdb

When you execute the command successfully, you will see the following results in the command prompt window:

C:\OMPM\Database>createdb.bat .\ompm ompmdb
Microsoft Office Migration Planning Manager version 2.0
Database Provisioning Tool
Copyright (c) 2010 Microsoft Corporation.  All Rights Reserved.

Database 'ompmdb' was created successfully.

If you are running the command prompt without administrator privileges, the command will fail.

You are now ready to configure OMPM settings in the Offscan.ini file, which is located in the Scan folder where you installed OMPM. Navigate to the Scan folder and double-click Offscan.ini to edit it. I’m only going to change a handful of settings for this walk-through, but I will also point out some new settings in case you want to experiment. You can find more information about each setting in Offscan.ini in the OMPM Technical Reference 

Note: If you have permissions issues when trying to save Offscan.ini, add yourself to the permissions list for the OMPM folder and let me know via this blog if you encounter this issue.

The table below shows various parameters in Offscan.ini that I will use in this walk-through. Any parameter in bold indicates that I’ve changed the default.

[Run]

;Run ID is a unique ID for this distribution of the scan.

 

RunID=1001

 

Each time you run a scan, you must increment this number, otherwise the scan won’t start. When you view your OMPM scan results by using the Access report viewer, you can view all runs or a selected run.

 

;Description can be used to describe any extra info about the Run. I.E. Month/Year

 

Description="ORK team blog OMPM scan."

 

The description also appears in the OMPM Access report viewer. I highly recommend that you use a unique description for each run.

[Scan]

;SkipOldAccessedFiles:  if set to 1, offscan will skip files with a Last Accessed Date less than OldAccessedDate

;if set to 0, offscan will not skip old files based on Last Accessed Date

 

SkipOldAccessedFiles=0

 

;OldAccessedDate:   files with a Last Accessed Date before OldAccessedDate will be skipped if SkipOldAccessedFiles=1.

; Date format should be “YYYY/MM/DD”

 

OldAccessedDate=2005/01/01

 

;SkipOldModifiedFiles:  if set to 1, offscan will skip files with a Modified Date less than OldModifiedDate

;if set to 0, offscan will not skip old files based on Modified Date

 

SkipOldModifiedFiles =0

 

 

;OldModifiedDate:   files with a Last Modified Date before OldModifiedDate will be skipped if SkipOldModifiedFiles=1.

;Date format should be “YYYY/MM/DD”

 

OldModifiedDate =2005/01/01

 

 

OMPM 2010 now offers a way to limit scanning to only files that have been modified or accessed within a specified date period. These settings are not enabled by default, but we recommend enabling them to keep the scan results manageable. Work with your business groups to determine if scanning every old file is necessary, or if you can limit the scan (and eventual conversion) to files that have been accessed or modified after a specified date.

 

For this walk-through, I’m not going to skip files by accessed or modified date because I want to ensure that I get a variety of scan results.

;ScanMacros:  if set to 1, offscan will attempt to scan macros in scanned filetypes for API or Object Model compatibility issues.

;if set to 0, offscan will not attempt to scan macros for API or Object Model issues

 

ScanMacros=1

 

ScanMacros is another new setting for OMPM 2010. For this walk-through, I’m going to enable macro scanning (the default is 0-disabled).

;ScanMacrosX64: if set to 1, offscan will attempt to scan macros in scanned filetypes for x64 compatibility issues

; if set to 0, offscan will not attempt to scan macros for x64 compatibility issues

 

ScanMacrosX64=1

 

ScanMacrosX64 is another new setting for OMPM 2010. For this walk-through, I’m going to enable X64 macro scanning (the default is 0-disabled).

FoldersToScan]

;Folder=C:\

;Folder=\\server\share

 

Folder=\\jillT400\C$

 

I’m going to scan my remote laptop’s C drive. You can specify multiple clients to scan here.

 

After you’ve completed and saved your offscan.ini edits, it’s time to execute a scan.

1.       In an Administrator command prompt window, navigate to the Scan folder and type the following command:
offscan.exe

2.       You can watch the progress as each file is scanned. Most files are scanned quickly, but some can take a few seconds to complete. When the scan is complete, you’ll see the final lines of output, which are similar to this:

Start:  2010-08-04 12:33:59
End:    2010-08-04 13:01:18
Seconds: 2068
Total number of files scanned: 133770
Total number xml logs created: 5253
Scan Complete

 

After the scan completes, your next step is to import the scan into the SQL database.

1.       At an Administrator command prompt window, navigate to the Database folder, and then type the following command:
ImportScans.bat .\ompm ompmdb c:\ompm\scandata

2.       Wait while the scan data is imported into the SQL database.

 

Now you are ready to use the OMPM Access Report Viewer. Follow these steps:

1.       Navigate to the c:\ompm\report folder and double-click the ompm.accdr file. (Update: A new version of ompm.accdr is available here.)

2.       In the Microsoft Access Security Notice dialog box, click Open.

3.       On the Welcome to the Office Migration Planning Manager screen, enter the following information:
Server: .\ompm
Database: ompmdb

4.   Click Connect. You’ll see new links appear at the bottom of the page, like this:

 

5. Click Office 2010 Compatibility, which takes you to the Overview tab of the report viewer:

6. Click the Issue Summary tab to view a summary of the scan results. Depending on your scan results, you’ll see issues that are classified as Green, Red, and Yellow.

7. Now let’s view the Scanned files tab to take a closer look at the red and yellow issues.


8. Click the DOWN ARROW next to the Max Level column to filter the list to show only red and yellow issues. (FYI, if you don’t have any Red issues, they won’t appear in this list.)

9. In the filtered list, click the file name link to view more details about the issues detected during the scan. Here is one example of a PowerPoint file that has both red and yellow issues:


I’ll wrap up this first blog post here to give you time to experiment on your own. For my next post, I’ll review the results from macro scanning.

 

Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post
  • Is there any way to read the output without creating an SQL DB? I have 4  Access DBs with about 250,000 lines of code I want to check and that is it.

  • In OMPM, offscan.exe and ofc.exe can be used without a database. The output of offscan.exe is an XML scan results record per file. Without a database, you would need to parse those files manually, either by reading them or searching through them with Windows. The schema is straightforward, but this is kind of cumbersome. You can also try installing SQL Express, which is free and can handle up to 100k scan records. OFC can be pointed directly at files to convert them by configuring ofc.ini.

  • OEAT - "There was an error downloading the vendor list"

    When compiling results in OEAT, it always seem to fail to retrieve vendor details from Microsoft.   Have you see this before / know how I can get roudn it (e.g. downlaod sepratley?)

    I get prompted to download as follows:

    "Vendor List Download

    -----------------------

    To compare resutls with known vendor add-ins that work with the latest version of Office, you need to download the vendor list from Microsoft.

    Would you like to download that list now?

    YES / No"

    After selecting "Yes"  it fails with the following message:

    "Download failed

    ------------------

    There was an error downloading the vendor list.

    There is either no network connection, your proxy settings are not configured correctly, or the web service is currently unavaialble.

    Please try again later. However if this problem persists, please contact your administrator"

    However - I know my proxy settings are fine and I can download other files no problem.

    What location is it trying to contact (so I can try manually)

    Thanks

    - AL

  • Hi, I got this error when im going to connect with the db using de ompm.accra file

    Microsft Office Access

    "Syntax error in date in query expression ´#04/09/2010 ..'"

    any solution for that,

    Thanks

  • Fel, can you clarify your steps for reproducing this error? And have you modified the database at all? Our developer does remember someone having an issue using the SQL query box on the report because they were using a malformed SQL date. SQL dates should be specified as ‘MM-DD-YYYY’ or ‘MM/DD/YYYY’ by default, unless the user has changed the database’s default datetime settings. He is not sure whether the ‘#’ is acceptable as part of a date.

    If you can include the query, that would be helpful.

  • alistg, we believe this may be an error with your proxy server. I have responded to your question in the TechNet Forums.

  • I get an error importing data.

    Importing extracted data

    ERROR: Import operation failed

    Error opening the data file

    ANy help would be appreciated

  • Richard, can you verify that you are pointing to the correct location of the data files?

  • We scanned a larger number of files (about 1.5 mill). While importing the scans we get an error:

    CRITICAL ERROR: The mapping phase of import unexpectedly failed. Your

    database may be in an unstable or corrupt state.

    and our reports are empty, no data. Do you have an idea, what is happening?

    Thanks a lot,

    Heinz

  • Puff-Hippchen, for an issue like what you're seeing, it's best to call Microsoft Product Support for assistance. There could be an issue with SQL that will require more investigation than what we can cover via the blog.

  • How long time will it take to scan a file share with 13 000 000 files? I have the Macro scan and  SkipOldAccessedFile enable. The scan have been running for a week now.

  • HPN, I don't think the scan should be taking that long. Your best bet is to contact MS Product Support for assistance.

  • I am trying to convert .mdb file to ms access 2010. but it gives error like Database too large, not copying. Access properties skipped. Please help me.

  • Was able to get as far as you ran through in your first blog.  However, I now need to present the data to the executive team.  Does OMPM or the OMPM Access Report Viewer allow for any type of exporting into excel or docs.  For example, MAP does a real nice job of putting together results in to presentation ready reports.  Any advice on how I can now go about presenting the OMPM results would be greatly appreciated.  Thx!

  • Hi Dave, thanks for your question. Unfortunately OMPM does not offer the same type of presentation-ready reporting that MAP offers. Our OMPM team suggests building a report in Excel by querying the SQL DB directly, or using the file export functionality in the Access report to get the file list, and then write something custom to report on it.

Page 1 of 3 (33 items) 123