Partager via


Install and Uninstall Services for Network File System Using OCSetup.exe

Applies To: Windows Server 2008

Before running OCSetup.exe at a command prompt, set the command prompt to run as an administrator (even if you are logged on as an administrator on the computer).

  1. Click the Start button, and select All Programs.

  2. Select Accessories.

  3. Right-click the command prompt, and click Run as administrator.

Examples

The following table gives examples of using the OCSetup command to install the different Services for NFS components.

Component Command

Server for NFS, Client for NFS, Services for NFS Administration

Ocsetup ServicesForNFS-ServerAndClient;ServerForNFS-Infrastructure;NFS-Administration;ClientForNFS-Infrastructure

Server for NFS, Services for NFS Administration

Ocsetup ServicesForNFS-ServerAndClient;ServerForNFS-Infrastructure;NFS-Administration

Client for NFS, Services for NFS Administration

Ocsetup ServicesForNFS-ServerAndClient;ClientForNFS-Infrastructure;NFS-Administration

Note

To uninstall Services for NFS components, append the above commands with /uninstall.

Additional references