SharePoint Upgrade: Prescan.exe

You can download prescan.exe from this link or it can be found at “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN” along with preupgradescanconfig.xml

 

PreScan is a pre-upgrade scan tool used to scan all Web sites in your environment (by using the /all parameter) or to scan a specific URL (by using the /v <URL> parameter). If you do not supply a scoping parameter, all Web sites will be scanned. The pre-upgrade scan tool takes the following parameters:

 

Parameter

Description

/all

Scans all site collections in a server farm.

/v <URL>

Scans all site collections at a specific URL.

/c preupgradescanconfig.xml

Uses the preupgradescanconfig.xml file while scanning. This configuration file contains additional logic to identify the portal site templates as standard templates used by SharePoint Portal Server 2003 rather than as custom templates based on Windows SharePoint Services 2.0. You must use this parameter when scanning site collections based on SharePoint Portal Server 2003. This parameter has no effect when scanning site collections based on Windows SharePoint Services 2.0.

 

 

To run Prescan.exe, perform the following steps:

 

On the command line, change to the folder that contains the file, and then run the prescan.exe command with the appropriate parameters. For example,

 

prescan.exe /all or

prescan.exe /c preupgradescanconfig.xml /all or

prescan.exe /c preupgradescanconfig.xml /v http://sps

  

I will recomend to use the second option.

  

After successful run, it will generate reports with name PreupgradeReport_uniqueID_Log.txt (where uniqueID is a number string) located in the temp directory on the computer of the user who ran the tool (for example, C:\Documents and Settings\User\Local Settings\Temp or Temp\2).

 

An example output is:

 

=====================Totals===================

Number of sites skipped (already scanned):   0

Number of sites scanned:   12

Number of broken sites:   0

Number of webs scanned:   41

Number of broken webs:   0

Number of webs using custom template:   0

Number of pages scanned:   4145

Number of unghosted pages:   40 (0.97% of total).

 

 

For errors, check Bill Baer blog:

 

http://blogs.technet.com/wbaer/archive/2006/12/22/prescan-errors-what-they-mean.aspx

 

Advertisements

2 Comments »

  1. Hey thanks.

    Planning and migrating 20GB Sharepoint 2003 database to 2007.

    11/05/2009 11:57:40 Number of sites skipped (already scanned): 0
    11/05/2009 11:57:40 Number of sites scanned: 31
    11/05/2009 11:57:40 Number of broken sites: 0
    11/05/2009 11:57:40 Number of webs scanned: 308
    11/05/2009 11:57:40 Number of broken webs: 0
    11/05/2009 11:57:40 Number of webs using custom template: 50 (16,23% of total).
    11/05/2009 11:57:40 Number of pages scanned: 8688
    11/05/2009 11:57:40 Number of unghosted pages: 174 (2,00% of total).

    So far so good.

  2. This piece of writing is truly a good one it assists new internet
    users, who are wishing for blogging.

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: