Microsoft KB Archive/294236

= Using a Command Line to Remove or Repair SharePoint Portal Server Client Components =

Article ID: 294236

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft SharePoint Portal Server 2001

-



This article was previously published under Q294236



SUMMARY
This article discusses how to use command-line tools to remove or to repair your SharePoint Portal Server client installation.



MORE INFORMATION
NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

You can use Add/Remove Programs in Control Panel to remove or to repair client components of SharePoint Portal Server. Or, you can also use the command line to remove or to repair client components.

NOTE: When you remove the client components, the User's Help file (Webfoldr.chm) is not removed because it replaces the original Web folders Help file.

Command-Line Syntax
To use a command line to remove or to repair the client components:  On the Windows task bar, click Start, point to Programs, point to Accessories, and then click Command Prompt. Type the appropriate command using the following syntax, and then press the ENTER key

&quot; \setup.exe&quot; [/x] [/f] &quot; \SPSClient.msi&quot;

where  is the path to the Setup.exe and to the SPSClient.msi files. (These files are in the :\Client folder by default, where   is the drive letter assigned to your CD-ROM drive.)

You can use the following command options to remove or to repair the client components:  Use the /x option to remove the client components.

For example, if the Setup.exe and the SPSClient.msi files are located in the D:\Client folder, to remove the client components, type:

&quot;D:\CLIENT\setup.exe&quot; /x &quot;D:\CLIENT\SPSClient.msi&quot;

 Use the /f option to repair the client components.

For example, if the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to repair the client components, type:

&quot;D:\CLIENT\setup.exe&quot; /f &quot;D:\CLIENT\SPSClient.msi&quot;

  Type exit, and then press the ENTER key to close the command prompt.</ol>

Disabling Prerequisite Checking
If you have removed one or more of the SharePoint Portal Server client prerequisites, you cannot remove or repair the client components unless you disable prerequisite checking. To disable prerequisite checking, add DISABLEPREREQ=1 to the command line. For example:  If the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to remove the client components, type:

&quot;D:\CLIENT\setup.exe&quot; /x &quot;D:\CLIENT\SPSClient.msi&quot; DISABLEPREREQ=1

</li> If the Setup.exe and the SPSClient.msi files are in the D:\Client folder, to repair the client components, type:

&quot;D:\CLIENT\setup.exe&quot; /f &quot;D:\CLIENT\SPSClient.msi&quot; DISABLEPREREQ=1

</li></ul>

Additional query words: SPS share point

Keywords: kbhowto KB294236

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.