Export (0) Print
Expand All

/gun Command

Use /gun to rename a server-level group.

Required Permissions

To use the /gun command, you must be a member of the Team Foundation Administrators security group. For more information, see Team Foundation Server Permissions.


Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as Administrator. For more information, see the Microsoft Web site.

TFSSecurity /gun groupidentity groupname /server:servername




Specifies the group identity. For more information on valid identity specifiers, see TFSSecurity Identity and Output Specifiers.


Specifies the new name of the group.


Required. Specifies the name of the application tier server.

Run this command on the local application tier computer.

The following example renames the group "Coho Winery Education" to "Coho Winery Product Support."

>tfssecurity /gun "Coho Winery Education" "Coho Winery Product Support" /server:MyATServer

Community Additions

© 2015 Microsoft