Command line switches for the Office Profile Wizard (281928)



The information in this article applies to:

  • Microsoft Office XP Professional
  • Microsoft Office XP Standard
  • Microsoft Office XP Students and Teachers
  • Microsoft Office XP Developer

This article was previously published under Q281928

SUMMARY

This article describes the switches that are available for the Office Profile Wizard (Proflwiz.exe) when it is run from a command line.

MORE INFORMATION

The Office Profile Wizard is installed with the Microsoft Office XP Resource Kit (ORK). The Office Profile Wizard is an administrative tool that allows you to capture user settings to a Profile Settings file (OPS). This wizard can be used to restore a custom configuration of Office XP, or to customize the installation of Microsoft Office XP on other computers.

The Office Profile Wizard consists of the following files:

Custom10.hlp
Opw10adm.ini
Proflwiz.exe
Reseto10.ini

These files are copied to the Program Files\ORKTools\ORK10\Tools folder.

The following list describes the available switches that you can use when you start Proflwiz.exe from the command line:

/? Displays the command-line syntax for Proflwiz.exe

/a Administrator mode (has the same effect as starting the Office Profile Wizard). This mode uses the Opw10adm.ini file by default. This is the default setting if neither /a (Administrator) nor /u (User) are used, or if Proflwiz.exe is double-clicked.

/u User mode (has the same effect as starting the Save My Settings Wizard). This mode uses the Opw10usr.ini file by default, but only if /a (Administrator) is not used.

Note The OPW10USR.INI and RESETO10.OPS files are available with Office XP and are not included with the Microsoft Office XP Resource Kit.

/s OPS file Saves user configuration settings from the current computer to the specified OPS file. The wizard displays progress indicators and error messages while it runs.

/r OPS file Restores the application settings from the specified OPS file to the computer. The wizard displays progress indicators and error messages while it runs.

/q Quiet (no user input) mode. Runs the wizard without progress indicators or error messages. This switch can be used with either the /s (Save) or /r (Restore) switches, but not with /p (Progress) or /e (Error) switches.

/e Displays error messages. Displays only error messages and not progress indicators while the wizard runs. This switch can be used with either the /s (Save) or /r (Restore) switches, but not with the /q (Quiet) switch.

/p Displays progress indicators. Displays only progress indicators and not error messages while the wizard runs. This switch can be used with either the /s (Save) or /r (Restore) switches, but not with the /q (Quiet) switch.

/f Display Finish message only. Displays the finish message at the end of the restore or save process. This switch can be used with either the /s (Save) or /r (Restore) switches, but not with the /q (Quiet) switch.

Note/e (Error), /p (Progress), and /f (Finish) are additive. Including /e and /f in the command line displays error messages and finish messages only.

/i INI file Specifies the .ini file to use. Instructs PROFLWIZ.EXE to use the specified .ini file instead of the default .ini file.

/d Sets all user configuration settings to their default state. This is equivalent to selecting Reset to defaults before restoring settings in the Save or Restore Settings dialog box of the Office Profile Wizard.

/all Collects or restores user configuration settings for all Office programs. This includes Microsoft Office Shared Settings.

/word Proflwiz.exe collects or restores settings for Microsoft Word.

/xl Proflwiz.exe collects or restores settings for Microsoft Excel.

/ppt Proflwiz.exe collects or restores settings for Microsoft PowerPoint.

/ol Proflwiz.exe collects or restores settings for Microsoft Outlook.

/pub Proflwiz.exe collects or restores settings for Microsoft Publisher.

/fp Proflwiz.exe collects or restores settings for Microsoft FrontPage.

/access Proflwiz.exe collects or restores settings for Microsoft Access.

/common Proflwiz.exe collects or restores settings for Microsoft Office shared settings.

The following list contains command-line samples of Proflwiz.exe using various switches:

PROFLWIZ.EXE /a /i custom.ini Starts the wizard in Administrative mode and loads the customized Custom.ini file.

PROFLWIZ.EXE /a /i custom.ini /s custom.ops Starts the wizard in Administrative mode, loads the customized Custom.ini file, and then saves the configuration from the current computer to an OPS file named Custom.ops.

PROFLWIZ.EXE /a /r custom.ops /word /xl Starts the wizard in Administrative mode, loads the customized Custom.ops file, and restores only the settings for Microsoft Word and Microsoft Excel.

PROFLWIZ.EXE /a /r custom.ops /q Starts the wizard in Administrative mode, and restores the user configuration settings from the customized Custom.ops file, but without progress indicators, error messages, or finish messages.

Note If you do not specify either /a (Administrative) or /u (User) when using the /q (Quiet) switch, Profilwiz.exe runs in Administrative mode.

For more information about the Microsoft Office XP Resource Kit, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:12/14/2005
Keywords:kbinfo kbMSCCSearch kbPubTypeKC kbhowto KB281928