Share via


Filescrn exception add

Applies To: Windows Server 2008

Creates and configures a new 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 add /path:<Path> /add-filegroup:<FgName> [...] 
   [/overwrite] [/remote:<ComputerName>]

Parameters

Parameter Description

/path:<Path>

Creates a file screen exception on path Path. You cannot use any wildcard characters with this parameter.

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

Adds file group FgName 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.

/overwrite

Overwrites a file screen exception that already exists on the path.

/remote:<ComputerName>

Performs the operation on the remote computer ComputerName.

Remarks

  • To create a file screen, use the Filescrn screen command.

  • 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 a /p:d:\scratch\temp /a:"Temporary Files"
    filescrn exception add /path:d:\scratch\temp /add-filegroup:"Temporary 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 create a file screen exception in the D\scratch\temp folder that allows files that belong to the Temporary Files group, type:

    filescrn exception add /path:d:\scratch\temp /add-filegroup:"Temporary Files"
    

Additional references

Command-Line Syntax Key

Filescrn exception