Filescrn exception modify

Applies To: Windows Server 2008

Modifies an existing file screen exception.

Note

To use this command, you must be logged on as an administrator or a member of the Administrators group.

For examples of how to use this command, see Examples.

Syntax

filescrn exception modify /path:<Path> [/add-filegroup:<NewFgName>] [...] 
   [/delete-filegroup:<FgName>] [...] [/remote:<ComputerName>]

Parameters

Parameter Description

/path:<Path>

Modifies a file screen exception configured on path Path. You can append the following wildcard characters:

  • \. — a folder specified by Path

  • \* — all immediate subfolders of Path

  • \... — all recursive subfolders of Path

/add-filegroup:<NewFgName> [...]

Adds file group NewFgName to the list of allowed file groups for the file screen exception. If the file group name contains a space, enclose the name in quotation marks. You can use this parameter multiple times.

/delete-filegroup:<FgName> [...]

Deletes file group FgName from the list of allowed file groups for the file screen exception. If the file group name contains a space, enclose the name in quotation marks. You can use this parameter multiple times

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • To create and manage file groups, use the Filescrn filegroup command.

  • The shortest sequence of characters that uniquely identifies a parameter can be used as an abbreviation. For example, the following two commands are equivalent:

    filescrn e m /p:d:\scratch /a:"Audio and Video Files"
    filescrn exception modify /path:d:\scratch /add-filegroup:"Audio and Video Files"
    
  • To perform operations on a remote computer by using the **/remote:**ComputerName parameter:

    • You must be logged on with a domain account that is a member of the Administrators group on both the local computer and the remote computer.

    • The remote computer must be running Windows Server 2008, and File Server Resource Manager must be installed.

    • The Remote File Server Resource Manager Management exception on the remote computer must be enabled. You enable this exception by using Windows Firewall in Control Panel.

Examples

  • To remove the System Files group from the list of allowed groups for the file screen exception configured on D:\scratch, type:

    filescrn exception modify /path:d:\scratch /delete-filegroup:"System Files"
    

Additional references

Command-Line Syntax Key

Filescrn exception