Removing a group map

Applies To: Windows Server 2003 R2

To remove a group map from the Windows interface

  1. Open Microsoft Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Microsoft Services for Network File System.

  2. If necessary, connect to the computer you want to manage.

  3. Right-click User Name Mapping and click Properties.

  4. Click the Simple Maps tab.

  5. To disable simple maps, clear the Use simple maps box.

  6. To remove a map between a Windows and an NIS domain, select the map, and then click Remove.

  7. To save the settings, click Apply.

To remove a group map from the command line

  1. Open the command prompt.

  2. At the command prompt, type one of the following:

    • To remove a specific map between a Windows domain and an NIS domain, at a command prompt, type:

      mapadmin [ComputerName] [–uUser**] [–pPassword] removedomainmap–dWindowsDomain–y**nisDomain

    • To remove all simple maps, at a command prompt, type:

      mapadmin [ComputerName] [–uUser**] [–pPassword] removedomainmap -all**

    Argument Description

    ComputerName

    The name of the computer you want to manage.

    User

    The name of the user who has administrative privileges on the computer, if different from the current user.

    Password

    The password for the person who has administrative privileges on the computer, if different from the current user.

    WindowsDomain

    The Windows domain of the map to be deleted.

    nisDomain

    The NIS domain of the map to be deleted.

    -all

    Deletes all simple maps.

    Note

    To view the complete syntax for this command, at a command prompt, type: mapadmin /?