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

 

Leave a Comment